Map - BoundingBox to zoom

0 Answers 47 Views
Map
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Ohad asked on 02 Nov 2022, 08:42 AM | edited on 02 Nov 2022, 08:42 AM

I'm working with OSM and getting a BoundingBox to a certain location.

How can I take the value of the BoundingBox and put it in the Map.

Because BoundingBox is min latitude, max latitude, min longitude, max longitude

And Map.GeoBounds requires North, South, East, and West.

And given that I was able to put the Map.GeoBounds,

How can I make it possible to slide the map to the sides and not lock it as I am currently noticing happening.

For Example:

London BoundingBox I got from Nominatim (OSM): 

{51.2867601, 51.6918741, -0.5103751, 0.3340155}

 

And the main goal of course is to set the zoom according to the search location,

In my understanding, it should be done with the GeoBounds property.

Would appreciate help

No answers yet. Maybe you can help?

Tags
Map
Asked by
Ohad
Top achievements
Rank 3
Bronze
Iron
Iron
Share this question
or