[OpenLayers-Users] zoom slow when overlay vector layer

chendequan cdqrain at gmail.com
Mon Mar 15 22:55:27 EDT 2010


hi,
I also found that, if i overlay the history track of vehicle, the browser
was broken down too. the vector layer only contains one line. unlike vehicle
layer includes image.

PS: my vehicle layer config like this:
Vehicle.vehicleLayer = new OpenLayers.Layer.Vector("",
        {
            styleMap: new OpenLayers.StyleMap({
                "default": {
                    externalGraphic: "img/v1.gif",
                    graphicWidth: 24,
                    graphicHeight: 12,
                    graphicYOffset: -5,
                    rotation: "${angle}",
                    label: "${vno}",
                    fontSize: "11px",
                    fontColor: "purple",
                    labelAlign: "${align}",
                    fontFamily: "Arial,Verdana",
                    fontWeight: "normal"
                    //fillOpacity: "${opacity}"
                }
            })
        });
-- 
View this message in context: http://n2.nabble.com/zoom-slow-when-overlay-vector-layer-tp4736744p4741424.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.



More information about the Users mailing list