ios6-maps

iOS6 MKMapView using a ton of memory, to the point of crashing the app, anyone else notice this?

十年热恋 提交于 2020-01-26 09:38:45
问题 Has anyone else, who's using maps in their iOS 6 apps, noticing extremely high memory use to the point of receiving memory warnings over and over to the point of crashing the app? I've ran the app through instruments and I'm not seeing any leaks and until the map view is created the app consistently runs at around ~3mb Live Bytes. Once the map is created and the tiles are downloaded the Live Bytes jumps up to ~13mb Live Bytes. Then as I move the map around and zoom in and out the Live Bytes

Is there any way to determine the driving time between two locations using Apple's Maps API?

流过昼夜 提交于 2019-12-31 02:25:29
问题 I am evaluating using google's Distance Matrix / Places / Maps API, versus Apple's Maps api for an iOS app. I am looking at the MKDirectionsRequest class, and I can't seem to find a way to determine what the driving time is between the two points. If this is possible using the apple Maps API, could someone please point me in the right direction? I am hoping it would be possible to accomplish this just using Apple's API, but it looks like this is only going to be possible with Google's API.

How to deal with inconsistent Chinese maps on iOS 6?

醉酒当歌 提交于 2019-12-30 01:37:27
问题 For Chinese maps on iOS 6, it seems that MapKit selects map provider based on your where the device is located. If you're in China it will use AutoNavi maps, and else it will use the default Apple maps. To complicate things, the AutoNavi maps seem to be transformed in the same way that Google's maps on iOS 5 are, whereas the default Apple maps are not transformed. By transformed I'm talking about the fact that all maps in China are transformed, although this is not true. Rather, some maps in

iOS 6 MKMapView Memory Leak and Crashes app after some time

喜你入骨 提交于 2019-12-24 02:14:48
问题 iOS 6 MKMapView seems to be using the tons of memory, when we starts zooming and playing around with the Map View in our application(for around 7-10 mins), When we come out of the controller which has MKMapView, its some how not releasing the total memory(I am using ARC in my App). I am allocating and initializing the MKMapView thru NIB. Controller 1 -->Controller 2 (has MKMapView) 1.5MB -->40-60MB (I have used the Instruments to find out leaks, but of no use) When i come back to Controller1

MkMapview setRegion under ios6 snaps to grid like ios5, no precise setRegion possible

一世执手 提交于 2019-12-22 09:14:11
问题 It is well known that using setRegion with MkMapKit under ios5 snaps to the next available Google zoom level, so a precise programatic setting of the map region was not possible (without special tricks, like using transformation matrix on mapView) But for some strange reasons using setRegion or setMapRect under iOS 6.1.3 iphone4 shows the same behavior as in iOS5, although this works on ipad ios6.1.3. iphone4 and simulator can only use regions double or half size from the prevoius one. So

How to draw routes on maps in ios 6?

白昼怎懂夜的黑 提交于 2019-12-21 21:06:06
问题 I want to show maps & draw routes on maps. My application supports for ios 4 plus. So how should i use maps to work on ios 6 as well as before. Also i want to know sholud i use custom mapview in my app to display maps & routes or should i use [[UIApplication sharedApplication] openURL:] I have never user MapKits . So please provide if any tutorial. Also let me know if there are any rd party libraries that can be used. 回答1: If you don't want an in-app map. Use the following: NSString

IOS6 Mapkit licensing, terms of use [closed]

淺唱寂寞╮ 提交于 2019-12-21 20:37:20
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . In IOS6 map data was replaced from Google to Apple's own map data. In the past, when MapKit was used you had to accept Google Maps licensing and terms of use (https://developers.google.com/maps/iphone/terms). What is the situation with the new MapKit and its new map data? E.g. GoogleMaps was not enabled to use

Google Maps iOS SDK - Search for places

你。 提交于 2019-12-18 12:24:39
问题 I'm new to both iOS programming & the Google Maps iOS SDK, so apologies if this is a basic question. I want to include a Google map, in an app and give users the ability to search for various places (restaurants, bars, gyms, etc) within a certain radius of a marker. I know this is possible using the javascript api, but can it be done using the maps iOS SDK? I have read all of the information here and have searched Stack Overflow & Google but I can't really find anything that gives me any

How to exit from Map App in IOS 6 i.e. return control back to app requesting directions?

泪湿孤枕 提交于 2019-12-13 18:22:19
问题 I am using MKMapItem to launch Map app from within my app after the user taps 'Directions' button. The Map app comes up fine showing directions from current location to a address. But how do I go back to my app, If I no longer want to see Directions? Below is my code attached to IBAction . Code: - (IBAction)pressDirectionsButton:(id)sender { Class mapItemClass = [MKMapItem class]; if (mapItemClass && [mapItemClass respondsToSelector:@selector(openMapsWithItems:launchOptions:)]) { CLGeocoder

How to route between two addresses using the new iOS 6.0 maps?

北城余情 提交于 2019-12-12 17:19:45
问题 I'm using the iOS 6.0 SDK and I would like to route between two different addresses (not latitude and longitude) with Apple's new iOS 6.0 maps. I would like to show the indications too. How can I do this? 回答1: I looked into do doing this last week and did not figure out a way to do it. It appears that you can give a destination, and you can sort of give it more than just coordinates, but it always assumes your starting position is the current location. That is limiting when you may be