[OpenLayers-Trac] [OpenLayers] #3152: Renderer.NG: error in Layer.Vector

OpenLayers trac-20090302 at openlayers.org
Mon Mar 7 04:59:39 EST 2011


#3152: Renderer.NG: error in Layer.Vector
---------------------+------------------------------------------------------
 Reporter:  fredj    |       Owner:              
     Type:  bug      |      Status:  new         
 Priority:  major    |   Milestone:  2.11 Release
Component:  general  |     Version:  SVN         
 Keywords:           |       State:              
---------------------+------------------------------------------------------
 in {{{Layer.Vector::redraw}}}, we check if the renderer is a
 {{{OpenLayers.Renderer.NG}}}; with a custom build where the renderer is
 not included the test become:
 {{{
 this.renderer instanceof undefined
 }}}

 With chrome, the following error is thrown:
 {{{
 TypeError: Expecting a function in instanceof check, but got #<an Object>
 }}}

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


More information about the Trac mailing list