public class

MapstedMapApi.CustomViewsImpl

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

Summary

Public Constructors
CustomViewsImpl()
Public Methods
String addViewToMapFragment(String key, View view)
Add your custom view to the map
View getViewOnMap(String key)
Gets reference to the view added to the map with that key
void removeViewFromMap(String key)
Removes the view with the given tag from map.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.mapsted.map.MapApi.CustomViews

Public Constructors

public CustomViewsImpl ()

Public Methods

public String addViewToMapFragment (String key, View view)

Add your custom view to the map

Parameters
key key that can be used to get or remove this view later.
view your view that will be shown on the map.
Returns
  • key of the added view.

public View getViewOnMap (String key)

Gets reference to the view added to the map with that key

Parameters
key view's key
Returns
  • View or null

public void removeViewFromMap (String key)

Removes the view with the given tag from map.

Parameters
key key of the view that need to be removed from map.