Talk:OpenLayers Marker Example
Maybe this is just a temporary glitch or an undocumented feature...
Custom Icon seems only to work with a single marker:
- layerMarkers.addMarker(new OpenLayers.Marker(lonLat,icon));
If you want multiple markers per layer, try this:
- layerMarkers.addMarker(new OpenLayers.Marker(lonLat));
---N3S 11:26, 28 March 2009 (UTC)
Example link http://dev.openstreetmap.org/~edgemaster/OpenLayersExamples/Marker/ does not work (http-code: 404). jklippel 14:24, 30 May 2010 (UTC)