You are not logged in.
- Topics: Active | Unanswered
Announcement
*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***
#1 2010-12-11 19:43:11
- greenba
- Member
- From: Sarajevo,Bosnia & Herzegovina
- Registered: 2010-12-11
- Posts: 1
Focus on a marker by clicking outside the map with OpenLayers
Hello,
I am looking for a way to have a list of locations outside the map div, and once I click on the item in the list to set a marker on focus in the map.
I am using OpenLayers.
All ideas are welcome, if there is an example that would be excellent.
Thanx for your time.
Adnan
Offline
#2 2010-12-15 22:19:34
- ikonor
- Member
- Registered: 2010-11-08
- Posts: 637
- Website
Re: Focus on a marker by clicking outside the map with OpenLayers
Here are two examples I gathered lately from the "users: Germany" forum:
- http://osmtools.de/kml_map/
(http://forum.openstreetmap.org/viewtopi … 98#p119798)
Generates the list dynamically from a kml file, zooms to marker/track with single and double click and allows filtering.
- http://www.netzwolf.info/alpin/karten/a … _bergnamen
(http://forum.openstreetmap.org/viewtopi … 83#p119083)
Offline