Outsystems UI maps marked not center on screen.

when I click on the marker, the point appears on the screen but it is not centered on the screen, it appears more to the left.

how to place exactly in the center of the screen?

another question, is there a way to name the marker?


Solution

Hello Rahman.


To center the map you can try to check the sample. On the AddMarkerOnMapClick example, when you click on the map it also centers there. So you can check it out to see the part of the code that centers it:

https://outsystemsui.outsystems.com/OutSystemsMapsSample/AddMarkerOnMapClick

You have the samples on forge here.

For the name maybe you can check the "Layout Marker Popup" widget. With some Css you might get what you are looking for. 


Hope it helps,

Miguel Amado 

Thanks, I will analyze the model.

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