mapkit

Can I use my own tiles in MapKit, instead of Google's?

I'm currently trying to decide wether to accept a client's proposal or not. Basically, I'm asked to create a MapView that displays markers at several locations on a map, with the additional requirement that the client's own map tiles are used instead of Google Maps'. I do not know yet how the client stores their own map tiles, but I was...

Trying to plot a map using lat, lng for a sqlite DB, but CANT get my location before the map draws. UGGG!

What I can do: Take a sqlite DB of 100 lat and lng points, and drop those pins on a map. Looks GREAT! What I would like to do is get my location, BEFORE I draw my map. But it seems that: (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation ALWAYS fir...

How to scale icons by zoom in a MKMapView?

How can I have the size of my icons scale with zoom in a MKMapView? As far as I can tell there is no way to do this? The only thing I can think of is to have the MKMapView a subview of some UIView, and catch all of the user input in this parent view, scale the images on zoom and relay to the subview. ...

MAPKIT: Blue dot just stopped animating! User location

This seems pretty simple and gives a great graphics effect, the animated blue dot with the pulsating circle. This code worked perfect for me. Then just STOPPED. Strange! Can't figure it out. Can't remember changing one line. Just no longer pulses ... even reinstalling app on phone. Hmmmmm, does it stop if it finds a perfect location? ...

Is MKMapViewDelegate calloutAccessoryControlTapped broken?

I'm using the MapKit part of the iPhone SDK. According to the MKMapViewDelegate documentation the calloutAccessory event should handle taps on the annotation view. This works just fine as long as the callout view is a UIButton. I've tried to get it to work for a UISegmentedControl but I can't seem to get the event to fire. (void)mapVie...

iPhone Dev = maps and deselecting annotations

I am successfully drawing annotations on a map using an array of annotations. I can even click on the annotation and change it’s colour or image. My problem arises when the use selects the second annotation and I want to dynamically change the colour or image of the first one back to a non-selected colour/image. I can get the array of al...

mapkit and annotations

Hi I am very new to XCode and iPhone development so please bear with me if this question is too simple. But I have a map and I have successfully added images (not pins) to it for my annotations. And I can change the image when the user selects one of the annotations. I created a class that inherits from MKAnnotationView with the follow...

iPhone Mapkit Annotation Issue

I have a mapkit control that is supposed to add annotations for multiple salons. Everything works fine, it returns the latitude and longitude for each one, but when it adds the annotation, it puts both pins at the last set of coordinates. here is a snapshot of my logs, showing there are 2 sets of coordinates: "all done!" "there are 2 s...

Returning Mapkit Userlocation Coordinates

whenever I try to return the lat/long coordinates for my current location, my application crashes with no explanation of the error... NSLog(@"%@", mapView.userLocation.location.coordinate); I am waiting until the phone finds the location as well... ...

How to display a map by mapkit framework in iphone using URL like http://maps.google.com....[it opens map as new App]

When we open : http://maps.google.com & type : category:"motel"+California+USA we get the California region map with the motels in that region. This is done by using MapsApp in iphone. But it closes the current application & opens the map as New App. Now is it possible to do the same thing with mapkit framework? How to use URL in Mapk...

Z-ordering of MKAnnotationViews

I'm getting fairly frustrated with the limitations of MKMapKit. My current problem has to do with the z-ordering of annotation views, particularly as it relates to touches. If you accept the default z-order the mapkit gives you: The order appears random. The z-order is unrelated to the order the annotations were added. If one annota...

mapkit doesn't showing default blue blob on device?

I am using mapkit in my application.i want to show blue blob in mapview.i have set [mapview setShowUserLocation:YES]; but it doesn't showing blue blob.also it's cordinates are -180.0000,-180.0000? how is this happen? is there a bug in mapkit. i am not using location manager to show blue dot.i know that setting showuserlocation to yes wil...

how to set mapkit's default annonation location?

I want to pass cordinates to default blue blob of mapkit.but it gives error? how do i show blue blob at my desired location? ...

How to simulate a user driving a route in a MKMapView?

I need to simulate how my application will look when a user is driving around for a demo. I have a MKMapView, how can I simulate the look of a user driving around which will use the map.userLocation functionality, which obviously will not be available in the demo. Thanks! ...

Crazy MAPKit bug 'NSInvalidArgumentException', reason: '*** -[UISwipeGestureRecognizer removeFromSuperview]: unrecognized selector sent to instance

Ok, i have been buried in MAPKit for quite a while. I have dropping pins from a SQLite DB. Distance locations working, annotations working, looks great. Even my activity indicator works. Then right before I hand off the project, I'm swiping, gesturing, you name it to my cute map, works great, then BOOM! yipes! Terminating app due to u...

how to find if mapkit failed to get userlocation?

I want to find that if mapkit failed to get user location(fails to show blue blob at user location) and show alert and then relocate the location again.i don't want to use corelocation.plz help me. ...

Get info on a mapview selected annotation

I have annotations on a mapview and a callout with a button on each. What I need to do is grab properties from this callout, ie. the title, but logging this line: NSLog(@"%@", mapView.selectedAnnotations); returns <AddressAnnotation: 0x1bdc60> which obviously gives me no useful info... My question is, how can I access the properties ...

Mapkit routes and google license

So, this question is not if I can do routing with mapkit. You can't with the API. So I found the clever way of using an annotation to render a route between two points. The route is based on a series of lat/long values. In my app, I use it to render a route (but not for vehicles or walking). There is no list of directions, so it's ...

How to add button like annotationView to the map ?

Hello i'm try to add button to the map, but i have some problem with AnnotationView I would like to stick the button to map and when map will be scrolling the button will be scrolling too. Any body help plz, can't find how to do, this. ...

Mapkit UserLocation found event

Is there an event that gets fired when a users location is successfully found in the iPhone mapkit? I want to call a web service at the time the current location pin is dropped onto the map. ...