Select Geolocation with OpenLayers and Callback URL

This is an example consists of two files.

This file index.html calls selectlocation.html lets the user select a geolocation and selectlocation.html returns the selected geolocation back to index.html if the user clicks on a the Map. Press submit button "Select Geolocation" and look at your browser location (Download Demo).


Call selectlocation.html with a HTML form:
Callback URL:

Geolocation: Zoom:

GitHub: View repository on GitHub