Issue
I want to use the Capacitor Plugin for Google Maps in Ionic and display custom Markers on the Map. So far so good, but i saw that you dont set an id when adding marker to the map... but when you use an MarkerClickListener you get an id Back, in what seems like in the Format 'm{index}' when you use the addMarkers(Markers[]) function.
I guess one could use that, but i rather set my own id that may come from my db, is there a way to do that? Maybe in the actual Google API and i could maybe butcher it on top of the plugin?
Solution
Don't use Cap google maps plugin from ionic, its missing A LOT of features. use the official Angular google maps instead, here it would allow you to add an id easily and it has ALL the features google maps provide.
Answered By - StackoverBlows
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.