[OpenLayers-Users] Adding a custom marker on map by clicking.
Subhani Minhas
subhaniminhas at gmail.com
Thu Apr 15 12:14:20 EDT 2010
Assalam o alaikum dear all.
I have recently started coding in openlayers 2.8, my starting point was the
code generated by map tiler tool. Now I want to add further functionality by
clicking on the map, and adding a custom marker. By custom I mean to specify
following:
1. Specify marker's location.
2. Custom Marker icon
3. Ability to show markers text without clicking on it at all times.
4. Ability to specify markers zoom levels between which it should be
visible.
5. Ability to hide and show whole markers layer.
6. Ability to export the marker layer to kml.
I am sorry if I am asking too much, but I have seen almost all openlayers
marker example codes and none can do even the most basic thing like clicking
anywhere on map to add a marker. Also I can't seem to find any code in 2.8
examples to show text labels with or without markers.
Any small code snipets will be extremely welcome. Thanks.
Ghulam Subhani
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100415/ef35866e/attachment.html
More information about the Users
mailing list