I want to add a map from Maps Engine to a page but I can't figure out how to get the Map ID or Layer ID required for the MapsEngineLayer.
It seems like they forgot to add this to the new interface.
The documentation seems to give directions that do not apply for the new interface.
On your computer, sign in to My Maps. Open or create a map. You'll see your layers in the box on the left.
metadata = {type: "point", id: 1}; if you have so many marker push the marker to array marker. You can add any data that you want. and simply call it, set it or get it.
Layers are objects on the map that consist of one or more separate items, but are manipulated as a single unit. Layers generally reflect collections of objects that you add on top of the map to designate a common association.
The Google Maps Data layer provides a container for arbitrary geospatial data. You can use the Data layer to store your custom data, or to display GeoJSON data on a Google map.
This was also confusing for me, there is
The linked documentation is related to Maps Engine.
Maps created via Maps Engine Lite/Pro may only be embedded or shared via link.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With