Previously the markers had a JSON structure that allowed us to set optional markers settings via Advanced Format (in fact it is still available under the Marker Structure
But the Marker Block defines a specific set of optional configs.
Would be nice to have a text entry for any additional parameters in a JSON format that are not described in the Optional Configs.
Properties like label text color and label text size, animation for example are missing.
https://developers.google.com/maps/documentation/javascript/reference/marker#MarkerOptions-Properties
Note: This was implemented as an idea, but was told to post it here as well.
Hello @Gonzalo Labarca
You can use the Optional Configuration present at the Marker component's level for the icon:
At the popup level, you can use the MarkerPopup inside the Image placeholder:
Best Regards,GM
Were you able to take a look at my message in order to check if it was what you needed to know?
Cheers,GM
Hi @André Pinho,
Thank you for your suggestion and for the creation of the idea.
The team, by design and to improve the dev experience, has been avoiding to add text inputs with JSON (aka black holes of configuration). And instead, adding input parameters or creating APIs/client-side actions in order to help to achieve the goal.
This being said, the ones that you need are:
Correct?
Also, you might be able to achieve your goals, via high-code APIs:
MapAPI.MarkerManager.GetMarkerById(#MARKER-ID).provider.(api of the provider to change the label)
Hope that this unblocks you for now.
But keep the feedback!
Cheers,RG
Hi There,
Is there a way to use a picture I have for the location as the image in the marker Popup layout?
Thanks,
Gonzalo