mapkit

Is there a way to make a line between two coordinates in a map view of MapKit?

I have two locations. A current location (=visible) and a target location where the user may want to go to. could I make a line from my current location to the target location? as far as I get it, I can only create annotations. But maybe there's a way to just draw in there? ...

Framework not found MapKit

I am using Xcode 3.2.1 in project, where Base SDK is iPhone Device 3.0 and iPhone OS Deployment Target is iPhone OS 2.0, in other words a backwards compatible application. The problem is MapKit Framework. It's added as Weak linked library, but the app just does not link for "Device - 2.2.1" target. I have run out of ideas... What else ...

Clear MKMapView's cache of tiles?

I'm working on an iPhone game that uses an MKMapView as the playfield. After only a couple of minutes of play the app inevitably starts to get sluggish and eventually crashes due to low memory. After digging around the culprit seems to be that the map view constantly demands more memory. The game requires a lot of zooming and panning of ...

Blurry UILabel text in accessory view of MKAnnotationView

Hello there, I'm trying to add a UILabel to an MKAnnotationView as a leftCalloutAccessoryView right after a pin got selected for the first time in the MKMapView. Adding the label is not a problem: The callout gets selected and opens, and this is when I add the label to the callout view. The callout gets automatically expanded to the lef...

Map Search Results

I am trying to provide useful information on an area to users based on a search term and their location. I thought googles geo api would return a best match list of results for a query such as "swimming+pool+'my location' that I could then place an annotation for each result in my map view but it only returns one best match location. H...

Iphone SDK: adding israel roads and streets to MapKit.

MKMapview, class of the mapkit framework for the iphone doesn't display israel streets, cities or any other details by default, how can i add it? is there something i have to buy and put in my program? I Just can't find where to start.. ...

Force MapKit use cached map tiles only/disable network programmatically

We have stumbled upon such a problem. We are developing an application for travelling. To make sure the user doesn't spend much money on roaming charges in our app we decided to implement a settings option for user to view cached maps only. So we let the user decide whether he wants to load the maps from internet or he wants to save mon...

How to get meters in pixel in mapkit?

Hey guys, I wanted to test the mapKit and wanted to make my own overlay to display the accuracy of my position. If i have a zoom factor of for example .005 which radius does my circle around me has to have(If my accuracy is for example 500m)? Would be great to get some help :) Thanks a lot. ...

How can we pause adding annotations while MKMapView is animating or moving. [iPhone SDK 3]

I have a MKMapView and another class has a thread adding annotations to the MKMapView. But the problem is, MKMapView.annotations is nonatomic. So while the other class is adding annotations.... It looks OK if user do not move the map's visible area. But if you keep moving it, and the other class was adding annotations to the map at tha...

Dropping Multiple Pins On Map given Co-ordinates Mapkit iPhone

Hi, I have a query regarding Dropping Multiple Pins On Map when Co-ordinates are given using Mapkit in iPhone. Using Mapkit I am able to see the map at given latitude and longitude. I am also able to drop a pin on one particular location. However I have a array of lat and long and I want to show pins for them all. How to achieve this...

Routing, polylines in iPhone Google Maps

In our iPhone app we need to draw a route on Google Maps (GMaps is the only option, we can't consider other maps). We draw the route while the user walks around - GPS tracking basically. Then we display all saved routes on the map. The problem is that Google Maps is almost unusable. It is impossible to scroll the map, zoom it (everythin...

Combining a datastore with Mapkit

Does anyone have any advice on using a datastore with mapkit to provide a database of locations (Restaurants) that are query-able by location? I would like to use Core data but importing the information into it seems like a project in itself. If anyone has good advice on converting an existing sqlite/cvs file to a coredata sqlite file t...

Uncenter MkMapView

I am trying to "uncenter" the map view and remove all annotations. the reason for this is that the mapView will be used by different view controllers to display different annotations and locations. What's happening now is that i am using the "remove annotations" method and i removes them, but the map stays centered on the spot and thus w...

using quartz to draw temperature map

Hello, I'm developing an iPhone app where I have a route that I display on a map. The route is made up of a bunch of waypoints and for each waypoint I have the (air) temperature at that spot. I would like to color the route according to the temperature values. Now I was wondering if I could somehow map my temperature scale, ranging from...

Mapping data from RSS feed with no latitude/longitude using MapKit

Having follow the tutorial at http://mithin.in/2009/06/22/using-iphone-sdk-mapkit-framework-a-tutorial/ to integrate the MapKit into my application. However, I want to be able to display an annotation for a dynamic "incident" on the map. Here's where I'm having problems. Basically my apps an RSS reader, and it downloads everything and s...

Navigation stack monitoring

Can anyone tell me why this comparison keeps making my app freeze and crash? NSArray *viewControllerArray = [controlFromMap.navigationController viewControllers]; NSUInteger parentViewControllerIndex = [viewControllerArray count] - 3 // or - whatever; NSLog(@"Parent view controller: %@", [viewControllerArray objectAtIndex:parentViewCont...

iphone map fold button in new map app

Hello, does anyone know what is the name of the button in the right corner of the toolbar in the new Maps application? It's the button that unfolds the map and the view underneath offers buttons to switch between map modes. I would like to use it in my map application if it's a part of the SDK! ...

user location Blue marble drop

Does anyone know what triggers the blue marble animation. I know that it happens when the location gets updated but how do i trigger that event with whatever is in that property. I have an app that i would like to show the user's location when the map appears, but then clear the map of all annotations (including the user location)when th...

iPhone Map Kit cluster pinpoints

Regarding iPhone Map Kit cluster pinpoints: I have 1000's of marks that I want to show on the map but it's just too many to handle so I want to cluster them. Are there frameworks available or proof of concepts? That this is possible or is already been done? ...

iPhone: mapView.showUserLocation. VS locationUpdate function

Hi, I have a question. I'm developing on an app that is location-based, I have a mapView set to show the user location (mapView.showUserLocation); I also have a locationUpdate function to retrive lat/long of current position: (void)locationUpdate:(CLLocation *)location{} After I call the function stopUpdatingLocation to stop the upd...