Renderer

open class Renderer

An abstraction that shares the common properties of KmlRenderer and GeoJsonRenderer

Inheritors

Constructors

Link copied to clipboard
constructor(map: GoogleMap, context: Context, markerManager: MarkerManager, polygonManager: PolygonManager, polylineManager: PolylineManager, groundOverlayManager: GroundOverlayManager, @Nullable imagesCache: Renderer.ImagesCache)
Creates a new Renderer object for KML features
constructor(map: GoogleMap, features: HashMap<out Feature, Any>, markerManager: MarkerManager, polygonManager: PolygonManager, polylineManager: PolylineManager, groundOverlayManager: GroundOverlayManager)
Creates a new Renderer object for GeoJSON features

Types

Link copied to clipboard

Functions

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
open fun getMap(): GoogleMap
Gets the GoogleMap that Feature objects are being placed on
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
open fun isLayerOnMap(): Boolean
Checks if layer has been added to map
Link copied to clipboard
open fun setMap(map: GoogleMap)
Sets the map that objects are being placed on