[OpenLayers-Users] Reverse geocoding with Nominatim an OpenLayers
Hendrik Oesterlin
hendrikmail2002 at yahoo.de
Sat Mar 5 19:12:07 EST 2011
"Stephen Woodbridge" woodbri at swoodbridge.com wrote on 05/03/2011 at 14:33:14 +1100
subject "[OpenLayers-Users] Reverse geocoding with Nominatim an OpenLayers" :
> I do not think there is a canned example of what you are asking.
> The strategy for doing this would be to add a double click handler which
> would make an ajax request back to your server and your server would
> need to forward that request to the Nomination service, get the results
> and send it back to your ajax response handler. The response handler
> would then parse the results, create a pop-up and add the response
> content to the pop-up, and then add the pop-up to an appropriate layer.
> This implies that you have a layer specifically for add in the pop-up(s) to.
> So break this down an look for examples that do:
> 1. double-click handlers
> 2. ajax request
> 3. framed-cloud pop-up
> You will probably need to create a simple ajax handler on the server
> maybe a little PHP code.
> Hope this helps,
> -Steve
Thank you for the advice. I will try this.
--
Sincerely
Hendrik Oesterlin - email hendrikmail2002 at yahoo.de
More information about the Users
mailing list