When True, the map will display known bicycle paths.
HasDirectionsSidebar
Boolean
True
When True, setting a Directions.Route will cause the directions sidebar to display with a list of route steps.
HasFullScreenControl
Boolean
True
When True, a button will be displayed that, when clicked, expands the map to fill the screen.
HasPanControl
Boolean
True
When True, a pan control will be visible in applicable views.
HasRotateControl
Boolean
True
When True, a rotate control will be visible in applicable views.
HasScaleControl
Boolean
True
When True, a scale control will be visible in applicable views.
HasStreetViewControl
Boolean
True
When True, the street view control will be visible in applicable views.
HasThreeWordsOverlay
Boolean
False
When True and the map is sufficiently zoomed in, an overlay of What3Words grid squares will be drawn on the map. Requires a What3Words API key be supplied.
HasTrafficLayer
Boolean
False
When True, the map will display current traffic conditions.
HasTransitLayer
Boolean
False
When True, the map will display known public transit paths.
Heading
Integer
0
Value, in degrees, of the map’s display direction.
IsTilted
Boolean
False
When True, the map will tilt by 45 degrees for applicable views.
MapStyle
MapStyles
Standard
The display style to apply to the map and its element.
MapStyleName
String
“”
Map style to apply when MapStyle is set to Custom.
MapType
MapTypes
Roadmap
Type of map to display.
PerformThreeWordsLookups
Boolean
False
When true and an API key has been supplied to GraffitiW3W, the class will attempt to resolve map points to their W3W values.
Position
GraffitiMap.Point
(0, 0)
Center point of the map’s display.
PositionW3W
GraffitiW3W.MapPoint
Nil
The current W3W MapPoint position of the center of the map display. Setting this property will have no effect if an API key is not supplied to the GraffitiW3W module.
ZoomLevel
Integer
10
While the value is an integer, there is a corresponding enumeration to assist with value selection.
ZoomLevelMaximum
Integer
20
Limits the maximum zoom level that the user can achieve.
ZoomLevelMinimum
Integer
1
Limits the minimum zoom level that the user can achieve.
The following object instances should be considered disposable, and may be discarded at will by the component. It’s best not to keep references to these objects or assume that they will be reused when the user has made relevant changes in the browser:
Our website uses cookies to provide you the best experience. These may include for the purposes of tracking or marketing. By continuing to use our website, you agree to our use of cookies.
For more information, read our Privacy Policy.