Interface

MapViewLoadConfig

MapViewLoadConfig

Aegir Map load configuration

Members

string

# accessToken Optional

Mapbox access token. Required when useDefaultMapProvider is true.

string

# artTilesetURL Optional

Specify a custom location for your venue's artistic map tiles.

string

# buildingOutlines Optional

Specify a custom location for your venue's building outlines vector tiles

string

# commonTilesetURL Optional

Specify a custom location for your venue's icon/label vector tiles

'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'

# controlsPosition Optional

specify the position to add map controls. Valid values are "top-left", "top-right" , "bottom-left" , "bottom-right". Defaults to "top-right".

string | HTMLElement

# mapContainerId

Dynamic variable for changing the id of the root div that the venue is rendered into

string

# mapGlyphsURL Optional

URL pointing to font glyph files (in proto-buff format)

string

# mapSpritesURL Optional

URL pointint to the spritemap files for icons and textures that are referenced in your map view.

string

# rasterBuildingOutlinesURL Optional

Specify a custom location for your venue's building outlines raster tiles

string

# rasterTilesetURL Optional

Specify a custom location for your venue's raster map tiles.

boolean

# showCompassControls Optional

Add map controls that show the compass. Defaults to false.

boolean

# showZoomControls Optional

Adds map controls for zooming in and out. Defaults to false.

string

# streetMapJSON Optional

Mapbox style for world/street map tiles. Required when useDefaultMapProvider is true.

string

# streetMapURL Optional

Mapbox vector tiles source url for world/street map tiles. Required when useDefaultMapProvider is true.

string

# tilesetURL Optional

Specify a custom location for your venue's vector tiles

boolean

# useDefaultMapProvider

True to use the embedded Mapbox map provider or false to use a custom map (or none) map provider, e.g. Google maps

boolean

# useLegacyBuildingTileURL Optional

Adds legacy support for building tiles that were dumped into a single directory instead of individual bulding directories.

string

# venueBaseURL

Base url for all venue map data files for a specific venue.