Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set An OverLay Title from GeoJsonParser.features #423

Open
chitgoks opened this issue Nov 9, 2022 · 2 comments
Open

Set An OverLay Title from GeoJsonParser.features #423

chitgoks opened this issue Nov 9, 2022 · 2 comments
Assignees
Labels
triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.

Comments

@chitgoks
Copy link

chitgoks commented Nov 9, 2022

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?

@chitgoks chitgoks added triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design. labels Nov 9, 2022
@amuramoto amuramoto assigned wangela and unassigned amuramoto Nov 9, 2022
@stale
Copy link

stale bot commented Jun 18, 2023

This issue has been automatically marked as stale because it has not had recent activity. Please comment here if it is still valid so that we can reprioritize. Thank you!

@stale stale bot added the stale label Jun 18, 2023
@chitgoks
Copy link
Author

still important!

@stale stale bot removed the stale label Jun 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage me I really want to be triaged. type: feature request ‘Nice-to-have’ improvement, new feature or different behavior or design.
Projects
None yet
Development

No branches or pull requests

3 participants