Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hi All,
Just a quick enquiry. Has anyone managed to convert a postcode property into geolocation coordinated for use in the google map widget?
I'm hoping there is something obvious I have missed as I have been scouring the internet for suggestions and am getting nowhere.
many thanks
James
James,
The process of converting street addresses and zip codes to geographic coordinates is called geocoding. There are a number of free and paid webservices/APIs available on the internet (Google, Yahoo, Bing, etc) that will perform the conversion.
You could use the services in the ContentLoaderFunctions resource to POST to external webservices. Once you receive the response, you could parse the response for the coordinates and subsequently apply the coordinates to your model/mashups.
Regards,
Riaan
We're also doing something like this, so I think this should work: http://pastebin.com/22dnQPPz
Fantastic, thanks for your help guys. much appreciated.