How to fit multiple coordinates within the map with zoom
Hi guys,
I really need help fitting all the Points (that has Positions) inside the Mapwidget.
I tried this too but setting padding of 140 is too much and although its working but sometimes when i have different Points, they tend to not fit inside the map
This is what i have done so far but its not working.
The image below is what is expected
I've been on this for days and still can't figure it out.
Hi, did you try the cameraForCoordinateBounds method? I think you were looking for this method.
Hi, did you try the
cameraForCoordinateBoundsmethod? I think you were looking for this method.
Yeah it tried this but this only accepts 2 points southwest and northwest. In my case i can have more than 2 points.
Then, you just need to determine the both points in advance. Like this (I haven't test it):