Problem whith screen map (re-centering Map on coordinates)

Hello! I have some data as marker points in Greece by using the Map (OpenStreetMap) and when i run the app in my phone the first view of the map was somewhere in USA and i have to make zoom in Greece in case to see my data ! Does anyone know how can i fix it so as with the first view on the page with the map to see Greece;

Map component has a CenterFromString property where you can set the initial center.

You can also use the PanTo block to set the center of the map.

Code similar to ether of these examples placed in the appropriate Block handler (perhaps a Button or Screen1.Initialize) should work. :wink:

What you actually do depends on your existing code.

centermapongreece

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.