KmlRenderer

open class KmlRenderer : Renderer

Renders all visible KmlPlacemark and KmlGroundOverlay objects onto the GoogleMap as Marker, Polyline, Polygon, GroundOverlay objects. Also removes objects from the map.

Functions

Link copied to clipboard
open fun addLayerToMap()
Link copied to clipboard
open fun assignStyleMap(styleMap: HashMap<String, String>, styles: HashMap<String, KmlStyle>)
Iterates through a list of styles and assigns a style
Link copied to clipboard
open fun getFeatures(): Set<Feature>
Gets a set containing Features
Link copied to clipboard
open fun getGroundOverlayMap(): HashMap<KmlGroundOverlay, GroundOverlay>
Gets the ground overlays on the current layer
Link copied to clipboard
Gets an iterable of KmlGroundOverlay objects
Link copied to clipboard
open fun getMap(): GoogleMap
Gets the GoogleMap that Feature objects are being placed on
Link copied to clipboard
Gets an iterable of KmlContainerInterface objects
Link copied to clipboard
open fun getValues(): Collection<Any>
getValues is called to retrieve the values stored in the mFeatures hashmap.
Link copied to clipboard
Checks if the layer contains any KmlContainers
Link copied to clipboard
open fun isLayerOnMap(): Boolean
Checks if layer has been added to map
Link copied to clipboard
Removes all the KML data from the map and clears all the stored placemarks
Link copied to clipboard
open fun setMap(map: GoogleMap)
Sets the map that objects are being placed on