Questions tagged [mkreversegeocoder]

The MKReverseGeocoder class provides services for converting a map coordinate (specified as a latitude/longitude pair) into information about that coordinate, such as the country, city, or street. A reverse geocoder object is a single-shot object that works with a network-based map service to look up placemark information for its specified coordinate value.

83 questions
0
votes
1 answer

How can I reverse geocode through bing using javascript?

I have the address of a location, and I'm trying to find its latitude/longitude from the bing service using javascript or java. How would I do this?
d-man
  • 57,473
  • 85
  • 212
  • 296
0
votes
1 answer

MKReverseGeocoder placemark is empty

I am trying to get the placemark for a location but all I am getting is empty. Here is my header file. #import #import @interface ReverseGeoCodingHelper : NSObject { …
Yogesh
  • 1,333
  • 3
  • 16
  • 35
0
votes
1 answer

Wait for MKReverseGeocoder to provide address

Is there a way to wait for geocoder to invoke didFailWithError or didFindPlaceMark? My problem is that i have to call a method that receives coordinate and returns placemark holding the address. But when i call [myGeocoder start] code continues and…
Misha
  • 5,260
  • 6
  • 35
  • 63
0
votes
2 answers

Allocating the results of Reverse Geocoding to a global variable

I am using Swift 4 and Xcode 9.3.1. I'm including screenshots of the code. I am new to mobile development/ programming in general and have been thinking about how to phrase this. So this is the best I can explain it: I am building an app that gets…
0
votes
1 answer

Setting street address as the subtitle in an annotation

Hey! Basically I wanna reverse geocode my coordinates for my annotation and show the address as the subtitle for my stored annotation (StorePosition). I just cant figure out how to do it...what am I doing wrong? EDIT; .m -(NSString *)subtitle{…
0
votes
0 answers

Geocoder a list of data from array just show the last data on mapview

I am new in coding and i am blocked facing this issue. I try to make a loop to geocode all data from my table "restaurants" and show them on map view but when i launch my application only the last data is shown. How can i show all my list on the map…
Joseph HK
  • 1
  • 2
0
votes
1 answer

Why Geocoder.getFromLocationName returns null?

I am using google map V2. I want to use geocoderto find the location but getFromLocationName() it is returning me null value and I couldn't find why. Just see my code and suggest me, what should I do? EditText sLocation = (EditText)…
0
votes
1 answer

Does reverse geocoding require cellular/wifi?

Does reverse geocoding require cellular/wifi? I'm using the following code to find the name of the city and the zip code. Will this code work in an environment with a GPS connection but without cellular connection? …
Albert Ghar
  • 428
  • 1
  • 6
  • 14
0
votes
1 answer

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

what i'm trying to reach is to display annotation with the city name. So I have a class MapPoint : @interface MapPoint : NSObject { NSString* title; NSString* cityName; CLLocationCoordinate2D…
Idan
  • 5,717
  • 10
  • 47
  • 84
0
votes
1 answer

Why is didFindPlacemark never hit?

I am struggling with getting my MKReverseGeocoder to actually finish. This is what I do: // reverse geocode the user location geocoder = [[[MKReverseGeocoder alloc] initWithCoordinate:mapView.userLocation.location.coordinate]…
RayJ
  • 87
  • 1
  • 7
0
votes
1 answer

How to Reversegeoforwading when based on item selected from the search display controller results

Hi I would like to Reversegeo of the selected destination results to current. My Reversegeoforwading function will draw the poly line between the two points and calculate distance. Currently I call the function on search query which is making a…
0
votes
1 answer

OCmock and MKReverseGeocoder

I would like to test a method that uses reverse Geocoding. What i would like to do is : set the geocoder as a property of my controller create the geocoder in the init method call the geocoder in the method i want to test replace the geocoder with…
vdaubry
  • 11,369
  • 7
  • 54
  • 76
0
votes
3 answers

using performSelector

i've my method that implement a reverseGeocoder - (void)reversing { geoCoder=[[MKReverseGeocoder alloc] initWithCoordinate:locManager.location.coordinate]; geoCoder.delegate=self; [geoCoder start]; } i recall reversing in another method with…
zebra
  • 435
  • 2
  • 8
  • 20
0
votes
2 answers

mkreversegeocoder and timer

i've read that with using mkreversegeocoder i can do a query every 60 seconds. my istance of mkreversegeogoder start after cllocation retrieve some info. What's the best way to do a 60 seconds query? a timer? or play with timestamp of my olddate? or…
zebra
  • 435
  • 2
  • 8
  • 20
0
votes
1 answer

ios reverseGeocoder failed when i fixed the coordinate?

CLLocationCoordinate2D coordinate = CLLocationCoordinate2DMake(27.941761 , -82.171537); MKReverseGeocoder *reverseGeocoder =[[MKReverseGeocoder alloc] initWithCoordinate:coordinate]; NSLog(@"%g",coordinate.latitude); …
Best Water
  • 169
  • 3
  • 14