Global

Members

# constant AegirMapEvents

Constants for dispatched events

Properties:
Name Type Description
WILL_ZOOM string

event fired before the map changes zoom level

DID_ZOOM string

event fired after the map has changed zoom level

DID_SELECT_UNIT string

event fired when a map unit is clicked

DID_SELECT_ANNOTATION string

event fired when a map annotation is clicked

DID_CHANGE_CAMERA_POSITION string

event fired when the map's camera changes

DID_SELECT_ANNOTATION_POPUP string

event fired when annotation popups are clicked

DID_OPEN_ANNOTATION_POPUP string

event fired when annotation popup is displayed

# ProcessingMode

Constants processing modes

# RenderMode

Type of render modes

Properties:
Name Type Description
VECTOR string

Vector mode

# VmUnitType

Type of Map unit

# constant distanceBetweenPoints

Calculates the distance between two LatLng coordinates.

# constant extractMapBoundsFromXML

Extracts Map bounds from the XML file

# constant extractVenueMapDataFromZip

Async function that reads a Zip Blob and builds an instance of a VenueMapData

# constant fetchVenueMapData

Fetches VMD data from individual files assuming all files are located under the same directory and with the next naming conventions:

baseUrl + / + venueId + venue_map_venueId + typeOfFile where type of file can be:

1 .geojson For the main map GeoJSON file 2 _labels.geojson For the labels GeoJSON 3 _

# constant processAmenityGeoJSON

Process amenity Geojson

Type Definitions

# OnCompleteCallback(response, error, resonse, erroropt)

Parameters:
Name Type Attributes Description
response object

the responseObject

error string

error message if anything

resonse any
error string <optional>