Display Markers with Geolocation and Popup with OpenLayers

This is an example consists of two files.

This file index.html calls viewicons.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 viewicons.html with a HTML form:

Map Center: Zoom:
JSON Data for Icons:

GitHub: View repository on GitHub