This article explains the display behavior a place’s label or icon within the map. Relavent for VisioDevKit:
- v2.0.8744 – v2.0.9617a
VisioMove provides a dynamic mechanism for adding a name or an icon above a place within the map. This is useful for adding dynamic content to the map that allows the end user to identify a place. For example a shop name or logo.
The place name orientation is fixed except when the camera “switches” sides, at which point the orientation changes 180 degrees. This ensures the name can be read from left to right.
There is a fixed number of available font sizes. VisioMove considers the length of the place name in order to chose the largest font size that fits within the boundary. This has the following implications:
- place name font sizes were mostly consistent throughout the map
- place names often didn’t completely fill their available boundary space
The icon will always appear facing the camera.
The size of the marker is controlled by it’s scale property. The scale property is measured in meters. The visible size is determined by two factors (when the camera is above or below 700m in height):
- Camera 700m or above – the icon respects it’s scale. For example; if icon has a scale is 50, then it will have a width and height of 50 meters relative to the map.
- Camera below 700m – below 700m the icon no longer respects it’s scale. The pixel size on the screen will remain constant and equal to the pixel size when the camera was at 700m. So the icon will appear smaller, relative to the surrounding surfaces within the map, the closer the camera is to the map.
The label boundary defined is VisioMapEditor is used to position the place icon over it’s surface. The visible icon size is independent of the label boundary. Changing the size of the label within VisioMapEditor will not influence the visible size of the place icon within the published map.
|VisioMapEditor||VisioMove v2.0.X (near)||VisioMove v2.0.X (far)|
Place names and Icons
Setting the place name and icon at the same time isn’t supported. The resulting behavior is undefined.