mkmapview

get location from iphone mapview

Hi Stackoverflow I am doing a map based application in iphone and i am need to get the location of the center of the map view. I need to get the location updated when the user Drags/Moves/Zoom the mapview. So that I can get the lat/lng information from the map and can sent these information to the google api to get the address info. Ca...

Using CLLOcationManager and MKReverseGeocoder to get the name of the city.

I am trying to get the name of the city of user's current location by using MKReverseGeoCoder but it has some errors which i cannot recognize. Here are the details: It has some errors which i cannot recognize Undefined symbols: ".objc_class_name_CLLocationManager", referenced from: literal-pointer@__OBJC@__cls_refs@CLLocationMa...

How can i go from a mapview to a simple view

I am working on an app in which the starting point is a map and it has a button too. What i want is that if user clicks the button it will take him to another view which just have two or three buttons or other elements. Please provide me with detail answer so that i would be able to do it. Thanks in advance, i would really appreciate i...

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

MKMapView with address

Hi, is there a way to make the MKMapView place a pin with a given address? Without using the Coordinates Thanks ...

iphone mapkit : have pins fall one by one

Hi. I'm using an mkmapview and dropping pins on to it. I would like the pins to fall one by one, rather than all simultaneously. Originally I was calling [self performSelector:@selector(dropPin) withObject:nil afterDelay:dropTime]; where dropTime was a different delay for each pin, and dropPin was a method to make the pin drop. Unfort...

iPhone: App crash in MapView after 20 min

I am working on an app that tracks a users location. After about 20 minutes it seems that the app always crashes, and I am not sure why. Device logs show: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x069f6000 Crashed Thread: 0 Thread 0 Crashed: 0 Ride 0x00012e00 -[...

Detect Tap on CalloutBubble in MKAnnotationView

Hello! Im working with MKMapView and MKAnnotationView. I have an annotation in the map. When the users tap on it, the callOut Bubble is displayed. When the annotation is tapped again ( and the callOut Bubble is visible ) i need to change to another view. ¿How can i detect the second tap, or the tap in the bubble? Thanks in advice. ...

How do I find the current position in the mapview

How can I get the longitude, and latitude of the current position showing on the mapView? Thanks. ...

mkmapview zoom to bounds with multiple markers

I'm working with MKMapView and have plotted several points on the map. I have used the MKCoordinateRegion and MKCoordinateSpan to enable zooming etc around one of the points - but that's not what I want... I'm trying to use something similar to the Javascript zoom to bounds function. so all my points should be visible to the user. (Ther...

is it possible to navigate with MKMapKit between the own point and an MKAnnotation ?

if i wanted to implement something like a carfinder, is it posible that on the mkmapview i can get routing-information ? maybe the line, we know from google-maps or any information in an csv (or sth like that) that tells some waypoint-information ? ...

iPhone MapKit: select location (coordinates) manually by touching MKMapView

Hallo everyone. I would like to offer the user the possibility to (manually) select lat. and long. coordinates by touching a MKMapView. How can I achieve that? I've seen that the MKMapView delegate offers the method convertPoint:toCoordinateFromView: . I think, that could be a good starting, but I don't know how to create a point from a...

Objective C map view question

Hello, I have been working with the map view and came across these variables: span.longitudeDelta and span.latitudeDelta... They seem to effect the amount of zoom of the screen(possibly by setting the window's x/y?) Can anyone tell me what these values do and how they relate to the screens width/height in degrees of lat/long? Thank y...

How easy would It be to adapt Core Data to my app?

I'm a novice iphone developer, and just completed my first iphone app. After provisioning my iphone for development, I noticed that the app used way too much memory, and that several memory leaks that were issuing from the app accessing the sqlite database in the app caused the app to crash often. After running instruments, I have decid...

CLLocationCoordinate2D without knowing how many will be in the array?

I need to build an array using something like the following: CLLocationCoordinate2D points[4]; points[0] = CLLocationCoordinate2DMake(41.000512, -109.050116); points[1] = CLLocationCoordinate2DMake(41.002371, -102.052066); points[2] = CLLocationCoordinate2DMake(36.993076, -102.041981); points[3] = CLLocationCoordin...

MKOverlayView and touches

hi..i have an custom MKOverlayView on my map and i would like to detect touches. However, i can't seem to get the overlay to respond. i was hoping it was going to be something as dumb as forgetting to set userInteractionEnabled to YES...but alas, no luck there ....currently, here is how i have it: //map delegate overlay: - (MKOverlayVi...

IPhone - MKReverseGeocoder - how to make sure I have the result back

Hi, what i'm trying to reach is to display annotation with the city name. So I have a class MapPoint : @interface MapPoint : NSObject<MKAnnotation,MKReverseGeocoderDelegate> { NSString* title; NSString* cityName; CLLocationCoordinate2D coordinate; MKReverseGeocoder* reverseGeo; } @property (nonatomic,readonly) CLLocat...

how can i draw line in UIMapView?I have two distinct latitude and Longitude?

Hi!i have two latitude and longitude. one is current latitude,longitude and second i get from web service now by using both i want to draw a path between this two so what should i do?i have no idea about it.Please help me....Thanks in Advance.... ...

MKMapView with additional UI elements

I want to create a mapping application for iOS that will show a map (MKMapView) and some UI elements (UIButton,...) on top of the map. Is it a good idea to add the additional UI elements as subviews of the MKMapView or should I create a parent UIView that contains the map and other elements at the same level? I created in IB a MKMapVie...

MKMapview memory problem.Zooming-scrolling

Hello everyone, I am developing a mapview application.When i look to instruments i see no leak in my application which is good.But my problem is whenever user scrolls,zooms in,zooms out the map,default mapview starts to allocate memories of MBs.When my application reaches about 25-30 mb then map releases some data which is about 5-6 mb s...