Wrld.map.themes
Methods
map.themes.setTheme(season, time, weather)
// Set the map theme to a snowy, winter night
map.themes.setTheme(
Wrld.themes.season.Winter,
Wrld.themes.time.Night,
Wrld.themes.weather.Snowy
);
Set the season, time, and weather displayed on the map.
Argument | Type | Description |
---|---|---|
season | string | One of the seasons defined in Wrld.themes.season . |
time | string | One of the times defined in Wrld.themes.time . |
weather | string | One of the weathers defined in Wrld.themes.weather . |
map.themes.setSeason(season)
Set the current season displayed on the map.
Argument | Type | Description |
---|---|---|
season | string | One of the seasons defined in Wrld.themes.season . |
map.themes.setTime(time)
Set the current time of day displayed on the map.
Argument | Type | Description |
---|---|---|
time | string | One of the times defined in Wrld.themes.time . |
map.themes.setWeather(weather)
Set the current weather displayed on the map.
Argument | Type | Description |
---|---|---|
weather | string | One of the weathers defined in Wrld.themes.weather . |
v1.1.0
- Wrld.map
- Wrld.map.indoors
- Wrld.map.themes
- Wrld.map.routes
- Wrld.map.buildings
- Wrld.map.props
- Wrld.map.indoorMapEntities
- Wrld.map.indoorMapFloorOutlines
- Wrld.Prop
- Wrld.indoorMapEntities .IndoorMapEntityInformation
- Wrld.indoorMapEntities.IndoorMapEntity
- Wrld.indoorMapFloorOutlines .IndoorMapFloorOutlineInformation
- Wrld.indoorMapFloorOutlines .IndoorMapFloorOutlinePolygon
- Wrld.indoorMapFloorOutlines .IndoorMapFloorOutlinePolygonRing
- Wrld.themes
- Wrld.Marker
- Wrld.Popup
- Wrld.Circle
- Wrld.Polygon
- Wrld.Polyline
- Wrld.Rectangle
- Wrld.native.Polygon
- Wrld.native.Polyline
- Wrld.Heatmap
- Wrld.buildings.BuildingHighlight
- Wrld.buildings.BuildingHighlightOptions
- Wrld.buildings.BuildingInformation
- Wrld.buildings.BuildingDimensions
- Wrld.buildings.BuildingContour
- Event objects
- WrldIndoorControl
- WrldMarkerController
- WrldSearchbar
- WrldNavigation
- WrldRouteView
- WrldIndoorPolygonEditor
- WrldPoiApi
- L.Map
- L.Marker
- L.Popup
- L.Tooltip
- L.TileLayer
- L.TileLayer.WMS
- L.ImageOverlay
- L.Path
- L.Polyline
- L.Polygon
- L.Rectangle
- L.Circle
- L.CircleMarker
- L.SVG
- L.Canvas
- L.LayerGroup
- L.FeatureGroup
- L.GeoJSON
- L.GridLayer
- L.LatLng
- L.LatLngBounds
- L.Point
- L.Bounds
- L.Icon
- L.DivIcon
- L.Control.Zoom
- L.Control.Attribution
- L.Control.Layers
- L.Control.Scale
- L.Browser
- L.Util
- L.Transformation
- L.LineUtil
- L.PolyUtil
- L.DomEvent
- L.DomUtil
- L.PosAnimation
- L.Draggable
- L.Class
- L.Evented
- L.Layer
- Interactive layer
- L.Control
- L.Handler
- L.Projection
- L.CRS
- L.Renderer
- Event objects
- L.DivOverlay
- Global Switches
- L.noConflict
- L.version
Map
Props
Indoor Map Entities
Indoor Map Floor Outlines
Themes
UI Layers
Vector Layers
Heatmaps
Buildings
Events
Widgets (Optional)
Services (Optional)
Leaflet
Map
Wrld.map
Wrld.map.indoors
Wrld.map.themes
Wrld.map.routes
Wrld.map.buildings
Wrld.map.props
Wrld.map.indoorMapEntities
Wrld.map.indoorMapFloorOutlines
Props
Wrld.Prop
Indoor Map Entities
Wrld.indoorMapEntities .IndoorMapEntityInformation
Wrld.indoorMapEntities.IndoorMapEntity
Indoor Map Floor Outlines
Wrld.indoorMapFloorOutlines .IndoorMapFloorOutlineInformation
Wrld.indoorMapFloorOutlines .IndoorMapFloorOutlinePolygon
Wrld.indoorMapFloorOutlines .IndoorMapFloorOutlinePolygonRing
Themes
Wrld.themes
UI Layers
Wrld.Marker
Wrld.Popup
Vector Layers
Wrld.Circle
Wrld.Polygon
Wrld.Polyline
Wrld.Rectangle
Wrld.native.Polygon
Wrld.native.Polyline
Heatmaps
Wrld.Heatmap
Buildings
Wrld.buildings.BuildingHighlight
Wrld.buildings.BuildingHighlightOptions
Wrld.buildings.BuildingInformation
Wrld.buildings.BuildingDimensions
Wrld.buildings.BuildingContour
Events
Event objects
Widgets (Optional)
WrldIndoorControl
WrldMarkerController
WrldSearchbar
WrldNavigation
WrldRouteView
WrldIndoorPolygonEditor
Services (Optional)
WrldPoiApi
Leaflet
L.Map
L.Marker
L.Popup
L.Tooltip
L.TileLayer
L.TileLayer.WMS
L.ImageOverlay
L.Path
L.Polyline
L.Polygon
L.Rectangle
L.Circle
L.CircleMarker
L.SVG
L.Canvas
L.LayerGroup
L.FeatureGroup
L.GeoJSON
L.GridLayer
L.LatLng
L.LatLngBounds
L.Point
L.Bounds
L.Icon
L.DivIcon
L.Control.Zoom
L.Control.Attribution
L.Control.Layers
L.Control.Scale
L.Browser
L.Util
L.Transformation
L.LineUtil
L.PolyUtil
L.DomEvent
L.DomUtil
L.PosAnimation
L.Draggable
L.Class
L.Evented
L.Layer
Interactive layer
L.Control
L.Handler
L.Projection
L.CRS
L.Renderer
Event objects
L.DivOverlay
Global Switches
L.noConflict
L.version