[OpenLayers-Trac] [OpenLayers] #518: Lines made by drawLine in Canvas Layer never visible

OpenLayers trac at openlayers.org
Wed Mar 7 11:53:51 EST 2007


#518: Lines made by drawLine in Canvas Layer never visible
------------------------------+---------------------------------------------
 Reporter:  openlayers        |       Owner:     
     Type:  bug               |      Status:  new
 Priority:  minor             |   Milestone:     
Component:  Layer.Canvas      |     Version:     
 Keywords:  Canvas, drawLine  |  
------------------------------+---------------------------------------------
 PROOF:  OPENLAYERS.ORG EXAMPLES AREA
 http://www.openlayers.org/dev/examples/canvas.html

 In the example, the user is able to specify lines on a map, either between
 two sets of provided coordinates or by clicking between two points.
 However, regardless of the browser (we tested on several), the lines are
 drawn but are always seemingly below the map layer, and get hidden
 immediately.  You can see the lines if you move around and a tile has not
 sufficiently loaded, but the lines get covered up once the tiles load.  We
 have tried using setVisibility but it may not be implemented for the
 canvas layer yet.

 We have gotten the lines to work occasionally when switching to the google
 map, but this is inconsistent and the lines never seem to appear when
 using any of the other map layers such as the satellite, OpenLayers WMS,
 etc.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/518>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list