Optional
annotationsAn array of custom annotations to draw on the map.
Optional
apiMeridian floor ID.
Optional
floorsSort the floors in the Floor Switcher UI descending in order.
Defaults to false
(ascending in order).
Optional
heightHeight of the map (e.g. "100%" or "200px")
Optional
loadSet to false
to disable loading placemarks. Defaults to true
.
Optional
loadSet to false
to disable loading tags. Defaults to true
.
This is required for locations without a TAGS SKU license
Meridian location ID.
Optional
maxMaximum zoom level. Default value is 8 which equals eight times the actual scale of the map.
Optional
minMinimum zoom level. Default value is dynamically calculated and matches the initial map scale (further zooming out is not allowed
Optional
onCalled when the map has been destroyed, either by manually calling map.destroy() or by being automatically destroyed when its DOM is tampered with.
Optional
onCalled after the floor is changed.
Optional
onCalled after the floors list is updated.
Optional
onCalled when the loading state changes.
Optional
onCalled when the user clicks on the map. This is mostly useful as a way of knowing that the user has potentially unfocused a tag or placemark. This is NOT called when the user pans or zooms the map.
Optional
onCalled when a placemark is clicked. Use event.preventDefault()
to prevent
the default dialog from appearing.
Optional
onCalled when tags on the current floor are updated. allPlacemarks
is every
placemark on the current floor, even ones not shown on the map.
filteredPlacemarks
is only the tags shown on the map (i.e. it respects
showHiddenPlacemarks
and filter
).
Optional
onCalled when a tag is clicked. Use event.preventDefault()
to prevent the
default dialog from appearing.
Optional
onCalled when tags on the current floor are updated. allTags
is every tag
on the current floor, even ones not shown on the map. filteredTags
is
only the tags shown on the map (i.e. it respects showControlTags
and
filter
).
Optional
overlaysAn array of custom overlays to draw on the map.
Optional
placemarksOptions related to placemarks.
Optional
shouldSee restrictedPanZoom.
Optional
showShould we show the floor switcher UI control? Defaults to true
.
Optional
showShould we show the Search UI control? Defaults to true
.
Optional
tagsOptions related to tags.
Optional
widthWidth of the map (e.g. "100%" or "300px").
Options passed to createMap.