Views
Maps Package API Reference Guide
Product Documentation:
Views Documentation Home
Classes | Enumerations
scale.h File Reference
#include <ilviews/manager/manager.h>
#include <ilviews/base/view.h>
#include <ilviews/maps/unitconv.h>

Classes

class  IlvMapDefaultScaleBar
 The default scale bar used by IlvMapScale when none is provided by the user. More...
 
class  IlvMapScale
 A scale object that displays the scale of a view. More...
 

Enumerations

enum  IlvMapDefaultScaleBarStyle {
  IlvMapScaleBarEmpty, IlvMapScaleBarOdd, IlvMapScaleBarEven, IlvMapScaleBarDoubleEmpty,
  IlvMapScaleBarDoubleOdd, IlvMapScaleBarDoubleEven, IlvMapScaleBarBottomLine, IlvMapScaleBarCenterLine
}
 Styles for the default scale bar used by IlvMapScale class. More...
 
enum  IlvMapScaleTextMode { IlvMapScaleUniqueLabel, IlvMapScaleThreeLabels }
 Styles for the scale texts placement. More...
 

Detailed Description

Library: ilvmaps
Declaration of the IlvMapDefaultScaleBar class.

Enumeration Type Documentation

◆ IlvMapDefaultScaleBarStyle

Styles for the default scale bar used by IlvMapScale class.

Enumerator
IlvMapScaleBarEmpty 

Displays graduations with empty rectangles.

IlvMapScaleBarOdd 

Displays graduations with filled rectangles, starting with an alternate colored rectangle.

IlvMapScaleBarEven 

Displays alternate color filled rectangles, starting with a foreground colored rectangle.

IlvMapScaleBarDoubleEmpty 

Displays two lines of empty rectangles.

IlvMapScaleBarDoubleOdd 

Displays two lines of filled and non filled rectangles, starting with an alternate color filled rectangle.

IlvMapScaleBarDoubleEven 

Displays alternate filled and non filled rectangles.

IlvMapScaleBarBottomLine 

Displays graduations on a bottom line.

IlvMapScaleBarCenterLine 

Displays graduations on a centered line.

◆ IlvMapScaleTextMode

Styles for the scale texts placement.

Enumerator
IlvMapScaleUniqueLabel 

A unique label is drawn on the top of the scale bar.

This label displays the length of the displayed bar, expressed in cartographic units.

IlvMapScaleThreeLabels 

Three labels are drawn on the top of the scale bar.

These three labels are the zero, the value of the first graduation and the value of the last graduation. These labels are only drawn if the size of the scale is large enough.