|
Maps SDK for C++ 1.0.0
|
Route render settings. More...


Public Types | |
| using | Options |
| The render options. | |
Public Member Functions | |
| RouteRenderSettings (int options=RRS_ShowTraffic|RRS_ShowTurnArrows|RRS_ShowWaypoints|RRS_ShowHighlights, const Rgba &innerColor=Rgba::noColor(), const Rgba &outerColor=Rgba::noColor(), double innerSz=-1., double outerSz=0., const Rgba &traveledInnerColor=Rgba::noColor(), const Rgba &turnArrowInnerColor=Rgba::noColor(), const Rgba &turnArrowOuterColor=Rgba::noColor(), double turnArrowInnerSz=-1., double turnArrowOuterSz=0.) | |
| Constructor taking options and colors. | |
| RouteRenderSettings & | setFillColor (const Rgba &color) |
| Sets the fill color for the route. | |
| RouteRenderSettings & | setTraveledInnerColor (const Rgba &color) |
| Sets the color of the traveled part of the route. | |
| RouteRenderSettings & | setTurnArrowInnerColor (const Rgba &color) |
| Sets the inner color of the turn arrows on the route. | |
| RouteRenderSettings & | setTurnArrowOuterColor (const Rgba &color) |
| Sets the outer color of the turn arrows on the route. | |
| RouteRenderSettings & | setTurnArrowInnerSize (double sz) |
| Sets the inner size of the turn arrows on the route. | |
| RouteRenderSettings & | setTurnArrowOuterSize (double sz) |
| Sets the outer size of the turn arrows on the route. | |
| RouteRenderSettings & | setWaypointTextSize (double sz) |
| Sets the text size for waypoints on the route. | |
| RouteRenderSettings & | setWaypointTextInnerColor (const Rgba &color) |
| Sets the inner text color for waypoint labels on the route. | |
| RouteRenderSettings & | setWaypointTextOuterColor (const Rgba &color) |
| Sets the outer text color for waypoint labels on the route. | |
| RouteRenderSettings & | setWaypointImageSize (double sz) |
| Sets the image size for waypoints on the route. | |
| RouteRenderSettings & | setDirectionArrowInnerColor (const Rgba &color) |
| Sets the route direction arrow inner color. | |
| RouteRenderSettings & | setDirectionArrowOuterColor (const Rgba &color) |
| Sets the route direction arrow outer color. | |
| RouteRenderSettings & | setDirectionArrowSize (double sz) |
| Sets the route direction arrow width. | |
| RouteRenderSettings & | setInnerGradientEndColor (const Rgba &color) |
| Sets the route inner end color ( gradient fill ). | |
| RouteRenderSettings & | setTraveledInnerGradientEndColor (const Rgba &color) |
| Sets the route inner end color for traveled part ( gradient fill ). | |
| bool | operator== (const RouteRenderSettings &s) const |
| Checks for equality between two RouteRenderSettings instances. | |
| bool | operator!= (const RouteRenderSettings &s) const |
| Checks for inequality between two RouteRenderSettings instances. | |
| auto & | setOptions (Options options) |
| Set the render options. | |
| auto & | setOption (Options option) |
| Set the render options. | |
| auto & | resetOption (Options option) |
| Reset the render options. | |
| auto & | setContourInnerColor (const Rgba &color) |
| set contour inner color | |
| auto & | setContourOuterColor (const Rgba &color) |
| set contour outer color | |
| auto & | setContourInnerSize (const double &sz) |
| set contour inner size | |
| auto & | setContourOuterSize (const double &sz) |
| set contour outer size | |
| auto & | setImageSize (const double &sz) |
| set image size | |
| auto & | setTextSize (const double &sz) |
| set text size | |
| auto & | setTextColor (const Rgba &color) |
| set text color | |
| auto & | setLineType (ELineType type) |
| set line type | |
| auto & | setImagePosition (EImagePosition pos) |
| set image position | |
| bool | operator== (const RenderSettings &s) const |
| Equal operator. | |
| bool | operator!= (const RenderSettings &s) const |
| Not equal operator. | |
Static Public Member Functions | |
| static Rgba | getDefaultFillColor () |
| Provides the default fill color for routes. | |
| static Rgba | getDefaultTraveledInnerColor () |
| Provides the default color for the traveled inner part of the route. | |
| static Rgba | getDefaultTurnArrowInnerColor () |
| Provides the default inner color for turn arrows on the route. | |
| static Rgba | getDefaultTurnArrowOuterColor () |
| Provides the default outer color for turn arrows on the route. | |
| static double | getDefaultTurnArrowInnerSize () |
| Provides the default inner size for turn arrows on the route. | |
| static double | getDefaultTurnArrowOuterSize () |
| Provides the default outer size for turn arrows on the route. | |
| static double | getDefaultWaypointTextSize () |
| Provides the default size for route waypoints text. | |
| static Rgba | getDefaultWaypointTextInnerColor () |
| Provides the default inner color for waypoint text on the route. | |
| static Rgba | getDefaultWaypointTextOuterColor () |
| Provides the default outer color for waypoint text on the route. | |
| static double | getDefaultWaypointImageSize () |
| Provides the default size for route waypoints image. | |
| static Rgba | getDefaultDirectionArrowInnerColor () |
| Provides the default inner color for direction arrows. | |
| static Rgba | getDefaultDirectionArrowOuterColor () |
| Provides the default outer color for direction arrows. | |
| static Rgba | getDefaultDirectionArrowSize () |
| Provides the default size for direction arrows. | |
| static Rgba | getDefaultInnerGradientEndColor () |
| Provides the default gradient inner end color. | |
| static Rgba | getDefaultTraveledInnerGradientEndColor () |
| Provides the default gradient inner end color for traveled part. | |
| static Rgba | getDefaultInnerColor () |
| Get default inner color. | |
| static Rgba | getDefaultOuterColor () |
| get default outer color | |
| static double | getDefaultInnnerSize () |
| get default inner size | |
| static double | getDefaultOuterSize () |
| get default outer size | |
| static double | getDefaultTextSize () |
| get default image size | |
| static Rgba | getDefaultTextColor () |
| get default text color | |
| static double | getDefaultImageSize () |
| get default image size | |
Public Attributes | |
| Rgba | m_traveledInnerColor |
| The traveled route part inner color. | |
| Rgba | m_turnArrowInnerColor |
| The turn arrow inner color. | |
| Rgba | m_turnArrowOuterColor |
| The turn arrow outer color. | |
| double | m_turnArrowInnerSz |
| The turn arrow inner size ( mm ). | |
| double | m_turnArrowOuterSz |
| The turn arrow outer size ( mm ). | |
| Rgba | m_fillColor |
| The route fill color ( only for result type = RRT_Range ). | |
| double | m_waypointTextSz |
| Waypoint names text size ( mm ). Default is 0, meaning waypoint names are not displayed. | |
| Rgba | m_waypointTextInnerColor |
| Waypoints text inner color. | |
| Rgba | m_waypointTextOuterColor |
| Waypoints text outer color. | |
| double | m_waypointImgSz |
| Waypoint image size ( mm ). Default is 0, meaning map view style value is used. | |
| Rgba | m_dirArrowInnerColor |
| Direction arrow inner color. | |
| Rgba | m_dirArrowOuterColor |
| Direction arrow outer color. | |
| double | m_dirArrowSz |
| Direction arrow width ( mm ). | |
| Rgba | m_innerGradientEndColor |
| The route inner color end. | |
| Rgba | m_traveledInnerGradientEndColor |
| The traveled route inner color end. | |
| Options | m_options |
| options | |
| Options | labelingMode |
| options for labeling | |
| union { | |
| Options m_options | |
| options | |
| Options labelingMode | |
| options for labeling | |
| }; | |
| The render options. | |
| Rgba | m_innerColor |
| inner color RGBA | |
| Rgba | polylineInnerColor |
| Polyline inner color RGBA. | |
| union { | |
| Rgba m_innerColor | |
| inner color RGBA | |
| Rgba polylineInnerColor | |
| Polyline inner color RGBA. | |
| }; | |
| The polyline inner color. | |
| Rgba | m_outerColor |
| outer color RGBA | |
| Rgba | polylineOuterColor |
| Polyline outer color RGBA. | |
| union { | |
| Rgba m_outerColor | |
| outer color RGBA | |
| Rgba polylineOuterColor | |
| Polyline outer color RGBA. | |
| }; | |
| The polyline outer color. | |
| double | m_innerSz |
| inner size in mm | |
| double | polylineInnerSize |
| Polyline inner size in mm. | |
| union { | |
| double m_innerSz | |
| inner size in mm | |
| double polylineInnerSize | |
| Polyline inner size in mm. | |
| }; | |
| The polyline inner size in mm. | |
| double | m_outerSz |
| outer size in mm | |
| double | polylineOuterSize |
| Polyline outer size in mm. | |
| union { | |
| double m_outerSz | |
| outer size in mm | |
| double polylineOuterSize | |
| Polyline outer size in mm. | |
| }; | |
| The polyline outer ( border ) size in mm. | |
| double | m_imgSz |
| image size in mm | |
| double | imageSize |
| image size in mm | |
| union { | |
| double m_imgSz | |
| image size in mm | |
| double imageSize | |
| image size in mm | |
| }; | |
| The image size in mm ( default: value from current style ). | |
| double | m_textSz |
| text size in mm | |
| double | labelTextSize |
| label text size in mm | |
| union { | |
| double m_textSz | |
| text size in mm | |
| double labelTextSize | |
| label text size in mm | |
| }; | |
| The text size in mm ( default: value from current style ). | |
| Rgba | m_textColor |
| text color RGBA | |
| Rgba | labelTextColor |
| label color RGBA | |
| union { | |
| Rgba m_textColor | |
| text color RGBA | |
| Rgba labelTextColor | |
| label color RGBA | |
| }; | |
| The text color ( default: value from current style ). | |
| ELineType | m_lineType |
| line type | |
| ELineType | polylineType |
| Polyline type. | |
| union { | |
| ELineType m_lineType | |
| line type | |
| ELineType polylineType | |
| Polyline type. | |
| }; | |
| The line type. | |
| EImagePosition | m_imgPos |
| image position | |
| EImagePosition | imagePosition |
| image position | |
| union { | |
| EImagePosition m_imgPos | |
| image position | |
| EImagePosition imagePosition | |
| image position | |
| }; | |
| The image position. | |
Route render settings.
|
inline |
Constructor taking options and colors.
| options | The options to be used for rendering the route. |
| innerColor | The color to be used for the inner part of the route. |
| outerColor | The color to be used for the outer part of the route. |
| innerSz | The size of the inner part of the route. |
| outerSz | The size of the outer part of the route. |
| traveledInnerColor | The color to be used for the inner part of the route that has been traveled. |
| turnArrowInnerColor | The color to be used for the inner part of the turn arrows. |
| turnArrowOuterColor | The color to be used for the outer part of the turn arrows. |
| turnArrowInnerSz | The size of the inner part of the turn arrows. |
| turnArrowOuterSz | The size of the outer part of the turn arrows. |
|
inlinestatic |
Provides the default inner color for direction arrows.
|
inlinestatic |
Provides the default outer color for direction arrows.
|
inlinestatic |
Provides the default size for direction arrows.
|
inlinestatic |
Provides the default fill color for routes.
|
inlinestaticinherited |
get default image size
|
inlinestaticinherited |
Get default inner color.
|
inlinestatic |
Provides the default gradient inner end color.
|
inlinestaticinherited |
get default inner size
|
inlinestaticinherited |
get default outer color
|
inlinestaticinherited |
get default outer size
|
inlinestaticinherited |
get default text color
|
inlinestaticinherited |
get default image size
|
inlinestatic |
Provides the default color for the traveled inner part of the route.
|
inlinestatic |
Provides the default gradient inner end color for traveled part.
|
inlinestatic |
Provides the default inner color for turn arrows on the route.
|
inlinestatic |
Provides the default inner size for turn arrows on the route.
|
inlinestatic |
Provides the default outer color for turn arrows on the route.
|
inlinestatic |
Provides the default outer size for turn arrows on the route.
|
inlinestatic |
Provides the default size for route waypoints image.
|
inlinestatic |
Provides the default inner color for waypoint text on the route.
|
inlinestatic |
Provides the default outer color for waypoint text on the route.
|
inlinestatic |
Provides the default size for route waypoints text.
|
inlineinherited |
Not equal operator.
| s | The settings to compare |
|
inline |
Checks for inequality between two RouteRenderSettings instances.
| s | Another instance of RouteRenderSettings to compare with. |
|
inlineinherited |
Equal operator.
| s | The settings to compare |
|
inline |
Checks for equality between two RouteRenderSettings instances.
| s | Another instance of RouteRenderSettings to compare with. |
|
inlineinherited |
Reset the render options.
| option | The render options |
|
inlineinherited |
set contour inner color
| color | The color |
|
inlineinherited |
set contour inner size
| sz | The size |
|
inlineinherited |
set contour outer color
| color | The color |
|
inlineinherited |
set contour outer size
| sz | The size |
|
inline |
Sets the route direction arrow inner color.
| color | The new direction arrow inner color |
|
inline |
Sets the route direction arrow outer color.
| color | The new direction arrow outer color |
|
inline |
Sets the route direction arrow width.
| sz | The new direction arrow width ( mm ) |
|
inline |
Sets the fill color for the route.
| color | The new fill color to be used. |
|
inlineinherited |
set image position
| pos | The image position |
|
inlineinherited |
set image size
| sz | The size |
|
inline |
Sets the route inner end color ( gradient fill ).
| color | The route inner end color |
|
inlineinherited |
set line type
| type | The line type |
|
inlineinherited |
Set the render options.
| option | The render option |
|
inlineinherited |
Set the render options.
| options | The render options |
|
inlineinherited |
set text color
| color | The color |
|
inlineinherited |
set text size
| sz | The size |
|
inline |
Sets the color of the traveled part of the route.
| color | The new color for the traveled part. |
|
inline |
Sets the route inner end color for traveled part ( gradient fill ).
| color | The traveled route inner end color |
|
inline |
Sets the inner color of the turn arrows on the route.
| color | The new inner color for the turn arrows. |
|
inline |
Sets the inner size of the turn arrows on the route.
| sz | The new inner size for the turn arrows ( mm ). |
|
inline |
Sets the outer color of the turn arrows on the route.
| color | The new outer color for the turn arrows. |
|
inline |
Sets the outer size of the turn arrows on the route.
| sz | The new outer size for the turn arrows ( mm ). |
|
inline |
Sets the image size for waypoints on the route.
| sz | The new image size for waypoint labels ( mm ). |
|
inline |
Sets the inner text color for waypoint labels on the route.
| color | The new inner text color for waypoint labels. |
|
inline |
Sets the outer text color for waypoint labels on the route.
| color | The new outer text color for waypoint labels. |
|
inline |
Sets the text size for waypoints on the route.
| sz | The new text size for waypoint labels ( mm ). |
| Rgba gem::RouteRenderSettings::m_fillColor |
The route fill color ( only for result type = RRT_Range ).
If not specified the Sdk will use the innerColor with a default alpha channel
| Rgba gem::RouteRenderSettings::m_innerGradientEndColor |
The route inner color end.
Used for gradient rendering along the route, if valid ( !noColor() )
| Rgba gem::RouteRenderSettings::m_traveledInnerGradientEndColor |
The traveled route inner color end.
Used for gradient rendering along the route, if valid ( !noColor() )