mapkit

How can i get Mapkit documentation short and simple to do my current position responds a DragAndDrop events

How can i get Mapkit documentation short and simple to do my current position responds a DragAndDrop events ...

MKPinAnnotationView subclass display anormaly - Strange problem of overlapping

Hi, I try to inherit from MKPinAnnotationView to display additional information on the callout, but unfortunately when I use this class, pins seems overlapping each over whereas it display in the good order when I use original MKPinAnnotationView. You can see how it display below after. with my custom subclass of MKPinAnnotationView ...

Is there any easy way to duplicate the search functionality of the Google Maps app on iPhone?

I'd like to be able to search and have the results pop up as annotations just like the Maps app on the iPhone. How do I go about doing it, and how difficult is it? ...

Iphone Drag'n'Drop MapKit generates "unrecognized selector sent to instance" exception

Hello everybody. Recently downloaded "MapKitDragAndDrop 3" package (http://github.com/digdog/MapKitDragAndDrop) to use in my app. The demo project runs smoothly. Both DDAnnotation.h+m and DDAnnotationView.h+m files were imported as they are. The method of calling the class was also copied/pasted. DDAnnotation *annotation = [[[DDAnnota...

initializing the mapkit with a particular latitude and longitude Iphone

Iam making an iphone app, which should take in latitude and longitudes from an array and should locate and display the map with a customized annotation/pins. I have used the mapkit here's how: //MapViewController.h #import <UIKit/UIKit.h> #import <MapKit/MapKit.h> @interface MapViewController : UIViewController <MKMapViewDelegate> { ...

dropping multiple pins on the map

Okay Here's what Iam trying to do. I would like to display multiple for the coordinates that are stored as latitudes and longitudes in an array called latlongStrings. They are then broken into array chunks and assigned to newRegions latitude and longitude's. This is the below code. - (void)gotoLocation { MKCoordinateRegi...

Google Maps Marker Manager equivalent in Mapkit

Is there an equivalent of Marker manager in Google Maps in MapKit Framework which help cluster the markers in certain zoom levels? What Marker Manager does is as follows: "Adding a large number of markers to a Google map may both slow down rendering of the map and introduce too much visual clutter, especially at certain zoom levels. The...

Create annotation

how to create annotation without given an y coordinates ...

[iPhone Map Kit] Custom overlay on Google Map?

Hi Guys, a general question, is it possible to have a custom overlay (or more than one overlays) above the Google Map using iPhone Map Kit? Thanks for any comments. ...

MapKit: How can I pan and zoom to fit all my annotations?

So I've got a bunch of annotations spread out on my map... everything is just dandy. Now I need to be able to set the map's position and zoom so they all fit perfectly. How can I do this? ...

Display an address on a map on the iphone

If I supply an address as a NSString. How can I use mapkit to show me a map with that location centered and a push pin showing that address? What's the easiest way to do this? EDIT: Is there a way to call the built-in Maps app to do that for me? ...

How to store MKAnnotationViews with their corresponding MKAnnotation

I want to drop a bunch of pins for hotels on a map. I have a MKAnnotation class, and a view (MKAnnotationView) and I also have a class Hotel which has all information about the hotel In terms of design how should these two work together. Should I have 2 classes or should I just combine both into a single class that inherits from MKAn...

Using mapkit in an iphone app

I would like a map inside my iphone app which I want to query with search terms depending on certain values. Does the mapkit framework accept queries of e.g. The United States and then display them? I know this is really simple compared to the uses available from mapkit, that is why I wonder if it is covered? ...

Newbie iphone development question

I am trying to draw a map with routes from a file. I am trying to learn this procedure by following this blog (http://spitzkoff.com/craig/?p=108). When the process hits my function, it terminates (I have given the error message below) - (void) drawRoute { // // load the points from our local resource // NSString* filePath = [[NSBundle ...

Multiple MKOverlays on a MKMapView lead to memory warnings

I'm working on an iPhone app that shows a map with multiple circle overlays on certain locations. I'm running into serious memory issues and crashes when I add more than 6 circles and I zoom out far enough that they are all visible. When I zoom in such that only 2 circles are visible, all is fine. When I remove the MKOverlays, everythin...

How is the zoom level set for map view?

How does one set the zoom level on a mapview? I have a map and when showing some locations, the name isnt displayed as the map isnt zoomed in enough. ...

Google Maps Integration inside iPhone App

I have a question about Google Maps integration inside a iPhone application. On my application, I have several stores inside a plist. Each store on plist has its altitude and logintude. So, I load each store on the map provided by Google Maps with MapKit. The problem is I want to say the user what is the store nearest his location. An...

iPhone SDK - MapKit CoreLocation - Make street address from latitude and longitude

I have a problem in an app I am building. I can retrieve the users latitude and longitude, however I need to convert those values into an NSString street address. ie. "123 Park Street, Sydney". Any idea as to how I can create a street address from the coordinates? ...

How to getDistance from userLocation every 4-5 seconds

I'm not using this for driving directions or similar. I have a few annotations and want a trigger when user is in the vicinity of one of those, so I can alert the user. It seems didUpdateToLocation is called only once per startUpdatingLocation call? At least when I NSLog within that method, I only get one line in console. No, I'm not wa...

Downloading route details from google map.

I want to draw a route in google map with desites A & B directions specidied,I am able to do this through google directs ,thanks to goole..No i want to create a static map with only that route and hence i need to get all the latitude and longitude details into CSV for 100M distance of this route. Is there any possible way as currently ...