Hi All I am new to this and need to complete an assignment, i am unable to add three additional markers into this code, i found the below info but it still doesnt help me. //ADD LAYER MARKERS var markers = new OpenLayers.Layer.Markers( "Markers" ); map.addLayer(markers); markers.addMarker(new OpenLayers.Marker(lonLat,icon)); Below is the code, i have tried to copy "var lonLat = new OpenLayers.LonLat( 13.0 ,47.0 ) //define a new location with these coordinates in WGS84" with new lat lon 13.1, 47.8 but that doesnt work. WHAT AM I DOING WRONG, PLEASE HELP ME ....
asked 26 Feb '13, 07:48 Lizzy7 Frederik Ramm ♦ |
The question has been closed for the following reason "Question is off-topic or not relevant" by Frederik Ramm 26 Feb '13, 08:04
This is not an OpenLayers support forum. See www.openlayers.org for help on OpenLayers. There's a multi-marker example here: http://openlayers.org/dev/examples/markers.html answered 26 Feb '13, 08:03 Frederik Ramm ♦ |