Feat: add support for adding metadata to marker
See original GitHub issueIs your feature request related to a problem? Please describe. It should be possible to recognize a specific marker after tapping it by using metadata.
Does this feature exist in the Google Maps SDK for android and iOS? Please link the documentation for this feature.
Similar behavior exists in the SDK using marker.setTag
and marker.getTag
. Those are actually the methods I use in the PR.
Describe the solution you’d like I already made a PR for Android. I haven’t had time to work on iOS, but it should be very similar.
The proposed API looks like this:
addMarker({
metadata: { some: 'example', any: 'thing' }
})
Metadata should be an object. What someone puts into that object is completely up to them.
In the future we could even utilize this the remove specific markers.
// if we add metadata like this
addMarker({
metadata: { id: 123 }
})
// we could maybe support an API-call like this:
removeMarkerByMetadataProperty({
id: 123
})
But that is for another time.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Feat: add support for adding metadata to marker #65
It should be possible to recognize a specific marker after tapping it by using metadata. Does this feature exist in the Google Maps...
Read more >How to add marker positions to audio metadata in ffmpeg?
They call them "index markers" and I don't know of any available tools that support them. Share.
Read more >Applying metadata using an extended marker
Open the marker's properties and go to the Action tab. Tick the Apply Metadata Macro checkbox and add the fields you want to...
Read more >How to Add MetaData to Mp3's at Points in the File?
1 Answer 1 · Thanks - I will take a look. Any idea if iTunes shows chapters? – bluedevil2k · 1. This appears...
Read more >Reusing Cue Chunk Data for IIIF Web Annotations
Through this blog post, we hope to have highlighted potential ways that the updated guidelines and added support in BWF MetaEdit for under-used ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sidenote: it might be a good idea to merge future PR’s by squashing them. It is a common practice used in many open source projects with many PR’s. For example Capacitor commit history: https://github.com/ionic-team/capacitor/commits/main
Yes, I was thinking exactly the same. I already made a little proof of concept for android. Will try to share it tomorrow