OpenLayers OpenLayers

Ticket #1012: vector-features.patch

File vector-features.patch, 1.1 kB (added by pgiraud, 1 year ago)
  • /home/pierre/public_html/openlayers_svn/examples/vector-features.html

    old new  
    3131            var style_blue = OpenLayers.Util.extend({}, layer_style); 
    3232            style_blue.strokeColor = "blue";  
    3333            style_blue.fillColor = "blue";  
    34             style_blue.externalGraphic = "../img/marker.png"; 
    3534            // each of the three lines below means the same, if only one of 
    3635            // them is active: the image will have a size of 24px, and the 
    3736            // aspect ratio will be kept 
     
    3635            // them is active: the image will have a size of 24px, and the 
    3736            // aspect ratio will be kept 
    3837            style_blue.pointRadius = 12; 
    39             //style_blue.graphicWidth = 24; 
    40             //style_blue.graphicHeight = 24; 
    4138             
    4239            /* 
    4340             * Green style