mkmapview

MKMapView reload/refresh on 3.1.2 and upwards

Hi all, I know many people have had the similar issues and some have sorted them and others not. Basically I need some way to refresh the map ie get a callback to mapViewDidFinishLoading. If the location displayed has already been seen by the user it seemd the map is loaded from the cache and doesnt call mapViewDidFinishLoading which I ...

(iPhone) how to implement draggable pins using OS 4.0 MapKit?

Can anyone provide any sample code/instructions for implementing draggable pins in OS 4.0 using the MapKit framework? ...

how to show pin on the map for iphone

hi all, I am making a map view , in that on a latitude and longitude i want to show a pin, i am new to making such application in mapview. if any one know it, please let me know. thanks in advance ...

How can I group MKAnnotations automatically regarding zoom level?

if the user zooms out on a MKMapView, i want MKAnnotations which are near to each other automatically grouped into one "group" annotation. if the user zooms back in, the "group" annotation should be split again to the unique/original annotations. apple does this already in the iOS 4 Photos.app is there a common, "predefined" way to do ...

KML -> GPolygon -> MKPolyline?

So I've got a couple of (ginormous) KML's that I've successfully converted into 180 some-odd Google-Maps encoded polygons/polylines. Anyone have any experience or thoughts on how to take these and turn it into an MKPolyline object suitable for use on iOS4's MapKit? Here's what I'm looking at right now ..... var sw = new GLatLng(25.837...

Using MKMapView with kml files

Just wondering whats the best way to approach this ? I've looked around for source code to gain an understanding of how this is done. But there is very little out there Any advice. Thanks. ...

Displaying a detail view from within a tab bar controller

My app has a UITabBarController as its main view. The tab bar has three tab items, one of which contains a UIViewController with a MKMapView on it. The MKMapView has annotations which have disclosure buttons on them. UITabBarController UIViewController (one of the tabs) MKMapView MKAnnotation DisclosureButton Wh...

iPhone programming : weird error using a MKMapView

I'm working on an iPhone app, and I got this strange log sometimes when manipulating a map: ImageIO_Free: ptr 0xdf0f000 got double released??? (16384 bytes) If I countinue playing around, the app would crash. I googled it, but haven't found anything interesting... So weird ! ...

Train track route using GoogleMaps

Hi, I am woundering if it is possible to create a route on a map using a train track. I know its possible over normal roads. Best regards, Paul peelen ...

xCode Interface Builder: Cannot move the MKMapView from a centered position?

I am working with creating a simple iPhone app to show a map and some labels, however the MKMapView likes being centered when I put it in the interface builder. I am very new to this, so i apologize for my ignorance. I cannot seem to find a way to move the MKMapView from its centered position. I can scale the edges, however the scalin...

MKMapView changes physical position in the view

I've put an MKMapView in a view at certain x-y coordinates (x:25 y:120) at a size that's about a third of the view tall and fills much of the width (w:275, h:150). There are other elements in the view, mostly labels and buttons. When looking at it after having it appear [edited to add: while running the app in the simulator] (pushed ont...

How to animate MapView once it loads?

Could someone please help me with loading maps using animation? I am trying to load a MapView. I want it to zoom to my place once the view loads. I am trying this: - (void)viewDidAppear { [super viewDidAppear:TRUE]; MKCoordinateRegion region; CLLocationCoordinate2D location=secondMap.userLocation.coordinate; MKCoordinateSpan span; locat...

iOS4 code on iOS3 devices.

Is it possible to have iOS4 specific code (ie the MKMapView overlays) in an application, build using 4.0, set the Deployment Target to 3.0, and still have it work so long as the iOS4 code isn't called on a 3.x device? I am trying to do that now, and only calling the iOS4 code if the device supports it, but I can't get it installed. GDB ...

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...

How to put a button on a Map in Iphone

i am trying to pull a map in my applcation with interface builder using MKMapView but for some reason its not showing up. Also i want to add some button to this view by clicking which i can browse a file existing in my iphone. Please provide me with the detial description as i am new to this. Thanks, ...

moving/updating MKOverlay on MKMapView

is there a way to update (i.e. moving around) a MKOverlay that is already added to the MKMapView. Removing a old one and adding a new one is terrible (slow). i.e i would like to trigger the background function that is calling this function when an overlay moves on the screen: - (MKOverlayView *)mapView:(MKMapView *)mapView viewForOverla...

Pulling map in my application through Interface Builder

I am new to iphone app development and trying to make an application where the home of the application is the Map with one button and the map should be able to show the user's current position and place an annotation at his current position. The annotation should be bale to take input or file from the iphone (Text, picture etc). Please...

Update title/subtitle for custom annotation on an MKMapView

I created a custom annotation to display my data. The data comes from moving vehicles and I've got to update their location on the map as well as their title (it shows the last update time). My first approach was to simply remove all annotations and recreate them. However this leads to a lot of horrible flickering (the map clears, and t...

How i can pull a map using interface builder.

I am trying to pull the map through interface builder in my application, Someone please help me with this and pleas tell me clearly step by step what i need to do. I am really new to these things, I will really appreciate your concern. Thanks, ...