I hope this is in the right forum.
I purchased the Corona-SDK-Maps plugin, have attempted to email support, but to no avail.
https://github.com/Crno/Corona-SDK-Maps
In the documentation, for addMarker(), one of the parameters that is auto-generated for each marker by the addMarker() function is “id”, which according to the doc is a number, is not required (and cannot be assigned at the time of creation).
https://github.com/Crno/Corona-SDK-Maps/blob/master/addMarker.markdown
Once a marker is added and clicked, in the markerListener(event) callback, if I attempt to print this value (event.id) I get:
“table: 0x0blahblahblah”,
…not a number, as expected. However, if I arbitrarily call hideMaker(1) the marker disappears!
I would like to use marker.id to do things (ie. if (marker.id == 42) then do something end), since I may have multiple markers, but I don’t know what to do with a table, unless I missing something obvious.
I hope this makes sense.
Thank you in advance.