SEARCH BY ADDRESS

Topics: General
Dec 2, 2010 at 4:04 PM

Hi

I write a service program to give data of gps & find its street name from its points (Use of GetPlacemarkFromGeocoder function) & save them to database. It dont use any visual component & it is a service program.

I use this code

googlemap.net.GMaps mymap_by_address = new googlemap.net.GMaps();



  Placemark position = mymap_by_address.GetPlacemarkFromGeocoder(point_lat_lng_converted);

But it gives this error

You have tried to create a new singleton class where you should have instanced it. Replace your "new class()" with "class.Instance"

How can I get the placemarker from geocode in programs like my program.



Coordinator
Dec 2, 2010 at 5:17 PM

try GMaps.Instance instead ;}