googlemaps / googlemaps/google-maps-ios-utils
Set An OverLay Title from GeoJsonParser.features
- Dominant language
- Objective-C
- Stars
- 778
- Forks
- 441
- PR merge metrics
- No merged PRs in 30d
Description
I wish to request a feature such that
```
let renderer = GMUGeometryRenderer(map: mapView, geometries: geoJsonParser.features)
renderer.render()
for overlay in renderer.mapOverlays() {
print(overlay.title) <<< how to set that value?
}
```
Or maybe my understanding of the title property is wrong? Is that used for something like infowindow? I compared my sample geojsonParser.features total at 29, but the renderer.mapOverlays() totalled 62. if i could find the link between the overlay and feature, that would work for me. Any idea?
I do not see any way to do that from GMUGeometryContainer or even casting geoJsonParser.features to GMUFeature. Am i missing something? Thoughts?
GMUFeature.properties contains values that i supplied. Just that when they are rendered in the map, the overlay or e.g. GMSPolygon has no way to get the properties. Thoughts on how?
Contributor guide
Assessment
This issue has not been assessed yet.