MPIMapView
This class contains methods that help to display and interact with a Mappedin venue
-
MPIData
of the venue -
MPIMap
of the current map -
Map view delegate
-
Blue dot manager
-
Camera controls manager
-
Journey manager
-
-
Initialization set up for
MPIMapView
-
-
Loads the map based on the options passed in
MPIMapView
Note
API calls will be made to retrieve the data -
Shows the venue based on the venue data and options passed in
MPIMapView
Note
An alternative method to using loadVenue where no API calls will be made; instead, data must be passed in to showVenue which takes in a data string -
Sets the map of the mapview to the
MPIMap
passed in -
Sets the map of the mapview to the
MPIMap
passed in -
Sets the color of the
MPIPolygon
-
Sets the color of the
MPIPolygon
-
Clears color on all polygons
-
Get directions to an
MPINavigatable
(MPINode
,MPILocation
,MPIPolygon
,MPIVortex
) from anMPINavigatable
-
Draws a path on the
MPIMapView
-
Remove all paths on the
MPIMapView
-
Create a marker for a
MPINode
-
Create a marker for a
MPICoordinate
-
Remove the marker of the
MPINode
Note
cannot remove a marker id that does not exist yet -
Focus on a list of nodes and/or polygons provided in the focus options
-
Adds an interactive polygon (allows it to be clickable) Note: usually, polygons with locations attached to them are set to be interactive by default. However, certain polygons might not be. Use this public function if you want to set certain polygons to be interactive.
-
Adds an interactive polygon (allows it to be clickable)
-
Label all polygons with locations either loaded via the API or passed in
-
Removes all labels
-
Sets a label for the
MPIPolygon
-
Sets a label for the
MPIPolygon
-
Gets the nearest node by screen coordinates
-
Called when web view has started to receive content for the main frame
-
Called when page has finished loading
-
Called if page has failed to load