-
public class KmlRenderer extends Renderer
Renders all visible KmlPlacemark and KmlGroundOverlay objects onto the GoogleMap as Marker, Polyline, Polygon, GroundOverlay objects. Also removes objects from the map.
-
-
Method Summary
Modifier and Type Method Description voidaddLayerToMap()voidsetMap(GoogleMap map)Sets the map that objects are being placed on booleanhasNestedContainers()Checks if the layer contains any KmlContainers Iterable<KmlContainer>getNestedContainers()Gets an iterable of KmlContainerInterface objects Iterable<KmlGroundOverlay>getGroundOverlays()Gets an iterable of KmlGroundOverlay objects voidremoveLayerFromMap()Removes all the KML data from the map and clears all the stored placemarks -
-
Method Detail
-
addLayerToMap
void addLayerToMap()
-
setMap
void setMap(GoogleMap map)
Sets the map that objects are being placed on
- Parameters:
map- map to place placemark, container, style and ground overlays on
-
hasNestedContainers
boolean hasNestedContainers()
Checks if the layer contains any KmlContainers
-
getNestedContainers
Iterable<KmlContainer> getNestedContainers()
Gets an iterable of KmlContainerInterface objects
-
getGroundOverlays
Iterable<KmlGroundOverlay> getGroundOverlays()
Gets an iterable of KmlGroundOverlay objects
-
removeLayerFromMap
void removeLayerFromMap()
Removes all the KML data from the map and clears all the stored placemarks
-
-
-
-