IOS Google Maps Get NorthEast and SouthWest Lat Long padded by certain size -


i able ne , sw lat long this.

bounds_ = [[gmscoordinatebounds alloc] initwithregion:mapview_.projection.visibleregion];  cllocationcoordinate2d southwest = cllocationcoordinate2dmake(bounds_.southwest.latitude, bounds_.southwest.longitude);  cllocationcoordinate2d northeast = cllocationcoordinate2dmake(bounds_.northeast.latitude,bounds_.northeast.longitude); 

how can pad northeast , southwest lat long 25% can pass padded coordinates api , image bigger screen view area.

you might want change zoom level of mapview camera.

sample objective-c code:

[mapview_ animatetozoom:12]; 

for more information, can read the zoom section of google maps ios page.


Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -