This page is part of archived documentation for openHAB 4.0. Go to the current stable version
# oh-map-page - Map page
Displays markers on a map
# Configuration
# General
# initialCenter
Initial Center TEXT location
The center to use when no markers are present or have valid positions
# initialZoom
Initial Zoom Level TEXT
The zoom level to use when no markers are present or have valid positions
# noZoomOrDrag
Disable Zooming & Dragging BOOLEAN
Disable the ability to zoom and drag
# noZoomAnimation
No Zoom Animation BOOLEAN
Change zoom levels without animation, can also avoid graphic glitches with persistent tooltips
# noMarkerZoomAnimation
Hide Markers during Zoom Animation BOOLEAN
# tileLayerProvider
Provider for the background tiles TEXT
The provider of tiles to use for the background of the map. Use one from Leaflet Providers, Some providers will not work until you set options, like access tokens, in the tileLayerProviderOptions
parameter (in Code view). See here for more info. The default is CartoDB, the variant depending on the dark mode setting.
# overlayTileLayerProvider
Provider for the overlay tiles TEXT
The provider of tiles to use for the overlay layer above the background of the map. Use one from Leaflet Providers, Some providers will not work until you set options, like access tokens, in the overlayTileLayerProviderOptions
parameter (in Code view). See here for more info.