Wednesday 15 February 2012

ios - Is there a Google Maps equivalent to mkmapsnapshotter? -



ios - Is there a Google Maps equivalent to mkmapsnapshotter? -

i have uitableview may potentially contain big number of cells, , in cells want uiimageview showing map of location, coordinates of known @ runtime.

i want table view scroll smoothly , want maps in cells not scrollable @ all.

i've been directed avoid apple maps. besides, mkmapsnapshotter ios 7 , up. have back upwards ios 6.

so google maps image api best option?

i'm using google maps ios sdk anyway, i'd utilize if possible. have feature? equivalent mkmapsnapshotter? i'm surprised can't find in documentation.

there used gmsscreenshot class in sdk, used take screenshots. in v1.2 google removed this, utilize renderincontext instead. can see background info , sample code here:

google maps ios sdk 1.2 need snapshot of map view

issue taking screen capture of gmsmapview on google maps sdk ios

https://developers.google.com/maps/documentation/ios/releases#version_12_-_april_2013

i think though renderincontext (and gmsscreenshot before it) designed taking screenshot of map view on view, has been displayed while, has downloaded map tiles etc. i'm not sure work if created map view in background, set photographic camera position desired lat/lon, rendered image, , repeated other locations want.

so, suspect google maps image api work improve doing.

ios google-maps uitableview ios6 google-maps-sdk-ios

No comments:

Post a Comment