When I’m loading google maps with advanced markers I get the following error message.
The map is initialized without a valid Map ID, which will prevent use of Advanced Markers
What does this tell me?
I couldn’t find information on this or what the “map id” is referring to.
Note: This is not referring to the API key
When you use the map, you need to specify the mapId (official documenation):
Type: string optional
The Map ID of the map. This parameter cannot be set
or changed after a map is instantiated. Map.DEMO_MAP_ID
can be used to try out features that require a map ID
but which do not require cloud enablement.
Optional seems misleading, as the mapid is required for advanced markers.
How to properly set it?
By the time of writing this post I don’t know, yet. Refer to the original documentation.