Changeset 5254 in ntrip


Ignore:
Timestamp:
Jun 17, 2013, 3:37:39 PM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/map/map_osm.html

    r5252 r5254  
    4545        icon        = new OpenLayers.Icon("qrc:///map/crosshair.png", size, offset);
    4646
    47         var sizeT   = new OpenLayers.Size(4,4);
     47        var sizeT   = new OpenLayers.Size(2,2);
    4848        var offsetT = new OpenLayers.Pixel(-sizeT.w/2, -13);
    4949        traceIcon   = new OpenLayers.Icon("qrc:///map/reddot.png", sizeT, offsetT);
     
    7171        markers.addMarker(marker);
    7272        if (useTrace == 1) {
    73           var trace = new OpenLayers.Marker(position, traceIcon);
     73          var trace = new OpenLayers.Marker(position, traceIcon.clone());
    7474          markers.addMarker(trace);
    7575        }
Note: See TracChangeset for help on using the changeset viewer.