public class

MapstedMapApi

extends Object
implements MapApi
java.lang.Object
   ↳ com.mapsted.map.MapstedMapApi

Summary

Nested Classes
class MapstedMapApi.ConfigImpl  
class MapstedMapApi.CustomPlotImpl  
class MapstedMapApi.CustomViewsImpl  
class MapstedMapApi.DataSourcesImpl  
class MapstedMapApi.LayersImpl  
class MapstedMapApi.LayoutImpl  
class MapstedMapApi.LifecycleImpl  
class MapstedMapApi.MapCameraImpl  
class MapstedMapApi.MapViewImpl  
class MapstedMapApi.SetupImpl  
class MapstedMapApi.WayfindingImpl  
Public Methods
MapApi.DataSources data()
Get reference to the map api's DataSources
CoreApi getCoreApi()
Get the core api
String getMapTilesFilePath()
MapstedMapManager getMapstedMapManager()
Get MapstedMapManager
PropertyData getSelectedPropertyData()
Get current selected building data.
void initPropertyLayer(int propertyId, VectorElementEventListener vectorElementListener, IMapstedVectorTileClicked vectorTileClickedListener, Consumer<Boolean> callback)
boolean isBuildingPlotted(int buildingId)
boolean isPropertyPlotted(int propertyId)
MapApi.Lifecycle lifecycle()
get reference to map api's MapApi.Lifecycle
MapOverlayRepository mapOverLayRepository()
MapApi.MapView mapView()
Get reference to the map api's MapView
static MapApi newInstance(Context context)
static MapApi newInstance(Context context, CoreApi coreApi)
void notifyMapFloorSelectorChanged(int propertyId, int buildingId, int floorId)
boolean removeBuildingFromMap(int buildingId, boolean force)
void removeSelectEntityPin()
void selectBuildingAndDrawIfNeeded(int selectedBuildingId, MapDataSelection.Listener buildingListener)
void setOnMapSdkSetupListener(OnMapSdkSetupListener listener)
MapApi.Setup setup()
Get reference to the map api's Setup
MapApi.Wayfinding wayfinding()
Get reference to the map api's Wayfinding
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.mapsted.map.MapApi

Public Methods

public MapApi.DataSources data ()

Get reference to the map api's DataSources

public CoreApi getCoreApi ()

Get the core api

Returns
  • coreApi

public String getMapTilesFilePath ()

public MapstedMapManager getMapstedMapManager ()

Get MapstedMapManager

Returns
  • mapstedMapManager

public PropertyData getSelectedPropertyData ()

Get current selected building data.

Returns
  • Return current selected building data. Return null if no building data selected.

public void initPropertyLayer (int propertyId, VectorElementEventListener vectorElementListener, IMapstedVectorTileClicked vectorTileClickedListener, Consumer<Boolean> callback)

public boolean isBuildingPlotted (int buildingId)

public boolean isPropertyPlotted (int propertyId)

public MapApi.Lifecycle lifecycle ()

get reference to map api's MapApi.Lifecycle

public MapOverlayRepository mapOverLayRepository ()

public MapApi.MapView mapView ()

Get reference to the map api's MapView

public static MapApi newInstance (Context context)

public static MapApi newInstance (Context context, CoreApi coreApi)

public void notifyMapFloorSelectorChanged (int propertyId, int buildingId, int floorId)

public boolean removeBuildingFromMap (int buildingId, boolean force)

public void removeSelectEntityPin ()

public void selectBuildingAndDrawIfNeeded (int selectedBuildingId, MapDataSelection.Listener buildingListener)

public void setOnMapSdkSetupListener (OnMapSdkSetupListener listener)

public MapApi.Setup setup ()

Get reference to the map api's Setup

public MapApi.Wayfinding wayfinding ()

Get reference to the map api's Wayfinding