Difference between AI2 map marker and google map javascript api marker?

The AI2 map component marker has a "description" property/attribute. In my understanding, AI2 map uses google map platform and it does not need an API key and can have unlimited loads. But for the google map javascript API (e.g for a website), the markers do not have a "description" attribute. My question is: is AI2 map marker "description" equivalent of "label" in Google javascript API? Thanks.

Not correct. AI2 Map component uses the OpenStreetMap tiles; Google Static javascript api uses Google Map tiles. To use a Google Map with App Inventor a developer should use a Static Map api https://developers.google.com/maps/documentation/maps-static/overviewurl. AI2 Map does not need an api key. Google api requires an api key and provides some free usage.

Equivalent? No, but they perform a similar function. See https://developers.google.com/maps/documentation/javascript/examples/marker-labels
and https://developers.google.com/maps/documentation/javascript/markers#marker_labels. Description provides a lot of information. The Label provides only a single 'character'.


Thaks for the clarification.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.