Google Maps iOS SDK: How do I get accurate latitude and longitude coordinates from a camera's visibleRegion?

前端 未结 5 1569
野的像风
野的像风 2020-12-11 04:20

EDIT: This is now a confirmed bug with this SDK

I\'m using version 1.1.1.2311 of the Google Maps for iOS SDK, and I\'m looking to find the bounding latitude and long

5条回答
  •  既然无缘
    2020-12-11 04:38

    Looks like the latitude and longitude coordinates you are printing out and manually plotting are possibly off a bit / being truncated. %f defaults to only print out to 6 decimal places.

    Here's a related question that might help:

    How to print a double with full precision on iOS?

提交回复
热议问题