public class GeoJsonRenderer extends Renderer implements java.util.Observer
Renderer.ImagesCache
Modifier and Type | Method and Description |
---|---|
void |
addFeature(GeoJsonFeature feature)
Adds a new GeoJsonFeature to the map if its geometry property is not null.
|
void |
addLayerToMap()
Adds all of the stored features in the layer onto the map if the layer is
not already on the map.
|
void |
removeFeature(GeoJsonFeature feature)
Removes a GeoJsonFeature from the map if its geometry property is not null
|
void |
removeLayerFromMap()
Removes all GeoJsonFeature objects stored in the mFeatures hashmap from the map
|
void |
setMap(GoogleMap map)
Changes the map that GeoJsonFeature objects are being drawn onto.
|
void |
update(java.util.Observable observable,
java.lang.Object data)
Update is called if the developer sets a style or geometry in a GeoJsonFeature object
|
addFeature, addGeoJsonFeatureToMap, addKmlPlacemarkToMap, assignStyleMap, attachGroundOverlay, cacheBitmap, checkClearBitmapCache, clearStylesRenderer, downloadFinished, downloadStarted, getAllFeatures, getCachedGroundOverlayImage, getCachedMarkerImage, getContainerList, getFeatures, getGroundOverlayMap, getMap, getMarkerIconUrls, getPlacemarkStyle, getPlacemarkVisibility, getStyleMaps, getStylesRenderer, getValues, hasFeatures, isLayerOnMap, putContainerFeature, putFeatures, putStyles, putStyles, removeFeature, removeFeatures, removeFromMap, removeGroundOverlays, setLayerVisibility, storeData
public void setMap(GoogleMap map)
public void addLayerToMap()
public void addFeature(GeoJsonFeature feature)
feature
- feature to add to the mappublic void removeLayerFromMap()
public void removeFeature(GeoJsonFeature feature)
feature
- feature to remove from mappublic void update(java.util.Observable observable, java.lang.Object data)
update
in interface java.util.Observer
observable
- GeoJsonFeature objectdata
- null, no extra argument is passed through the notifyObservers method