- Timestamp:
- Jun 17, 2013, 3:37:39 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/map/map_osm.html
r5252 r5254 45 45 icon = new OpenLayers.Icon("qrc:///map/crosshair.png", size, offset); 46 46 47 var sizeT = new OpenLayers.Size( 4,4);47 var sizeT = new OpenLayers.Size(2,2); 48 48 var offsetT = new OpenLayers.Pixel(-sizeT.w/2, -13); 49 49 traceIcon = new OpenLayers.Icon("qrc:///map/reddot.png", sizeT, offsetT); … … 71 71 markers.addMarker(marker); 72 72 if (useTrace == 1) { 73 var trace = new OpenLayers.Marker(position, traceIcon );73 var trace = new OpenLayers.Marker(position, traceIcon.clone()); 74 74 markers.addMarker(trace); 75 75 }
Note:
See TracChangeset
for help on using the changeset viewer.