public class

MapstedMapApi.MapViewImpl

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

Summary

Public Constructors
MapViewImpl(MapApi mapApi)
Public Methods
boolean addMapClickListener(MapApi.MapClickListener listener)
Register a map click listener (e.g.
boolean addMapEventListener(MapApi.MapEventListener listener)
Register a map event listener (e.g.
MapApi.MapCamera camera()
Access/manage the map camera related functionality
MapApi.Config config()
Access/manage map related settings
MapApi.CustomPlot customPlot()
Access/manage custom plot objects
MapApi.CustomViews customView()
Access/manage custom views related functionality
MapApi.DataSources data()
Access/manage the data source for this map view
MapApi.Layers layers()
Access/manage layer related functionality
MapApi.Layout layout()
Access/manage layout related functionality
void onDestroy()
boolean removeMapClickListener(MapApi.MapClickListener listener)
Unregister a map click listener (e.g.
boolean removeMapEventListener(MapApi.MapEventListener listener)
Unregister a map event listener (e.g.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.mapsted.map.MapApi.MapView

Public Constructors

public MapViewImpl (MapApi mapApi)

Public Methods

public boolean addMapClickListener (MapApi.MapClickListener listener)

Register a map click listener (e.g. single, double, dual, long) MapClickEvent

Parameters
listener the listener to register
Returns
  • whether or not successfully registered

public boolean addMapEventListener (MapApi.MapEventListener listener)

Register a map event listener (e.g. map move, map idle, map stable) MapEvent

Parameters
listener the listener to register
Returns
  • whether or not successfully registered

public MapApi.MapCamera camera ()

Access/manage the map camera related functionality

public MapApi.Config config ()

Access/manage map related settings

public MapApi.CustomPlot customPlot ()

Access/manage custom plot objects

public MapApi.CustomViews customView ()

Access/manage custom views related functionality

public MapApi.DataSources data ()

Access/manage the data source for this map view

public MapApi.Layers layers ()

Access/manage layer related functionality

public MapApi.Layout layout ()

Access/manage layout related functionality

public void onDestroy ()

public boolean removeMapClickListener (MapApi.MapClickListener listener)

Unregister a map click listener (e.g. single, double, dual, long) MapClickEvent

Parameters
listener the listener to unregister
Returns
  • whether or not successfully unregistered

public boolean removeMapEventListener (MapApi.MapEventListener listener)

Unregister a map event listener (e.g. map move, map idle, map stable) MapEvent

Parameters
listener the listener to unregister
Returns
  • whether or not successfully unregistered