Renderer

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

Parameters

map

map to place objects on

context

the Context

markerManager

marker manager to create marker collection from

polygonManager

polygon manager to create polygon collection from

polylineManager

polyline manager to create polyline collection from

groundOverlayManager

ground overlay manager to create ground overlay collection from

imagesCache

an optional ImagesCache to be used for caching images fetched


constructor(map: GoogleMap, features: HashMap<out Feature, Any>, markerManager: MarkerManager, polygonManager: PolygonManager, polylineManager: PolylineManager, groundOverlayManager: GroundOverlayManager)

Creates a new Renderer object for GeoJSON features

Parameters

map

map to place objects on

features

contains a hashmap of features and objects that will go on the map

markerManager

marker manager to create marker collection from

polygonManager

polygon manager to create polygon collection from

polylineManager

polyline manager to create polyline collection from

groundOverlayManager

ground overlay manager to create ground overlay collection from