[OutSystems Maps] Additional Marker options
outsystems-maps
Reactive icon
Forge component by Platform Maintenance
Application Type
Reactive

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. 

mvp_badge
MVP

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:

  • Label text color
  • Label text size
  • Animation

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

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.