[OpenLayers-Trac] Re: [OpenLayers] #2985: Ctrl-Click or Shift-Click on a SVG-feature with named graphic opens new window because of <use>/<def> and the href-attribute

OpenLayers trac-20090302 at openlayers.org
Tue Dec 21 04:54:46 EST 2010


#2985: Ctrl-Click or Shift-Click on a SVG-feature with named graphic opens new
window because of <use>/<def> and the href-attribute
--------------------------+-------------------------------------------------
 Reporter:  marcjansen    |       Owner:  ahocevar    
     Type:  bug           |      Status:  new         
 Priority:  minor         |   Milestone:  2.11 Release
Component:  Renderer.SVG  |     Version:  2.10        
 Keywords:                |       State:  Review      
--------------------------+-------------------------------------------------
Changes (by marcjansen):

  * state:  => Review


Comment:

 The attached patch removes the attribute {{{supportUse}}} from
 OpenLayers.Renderer.SVG as suggested by ahocevar.

 The example graphic-name.html still looks good in Opera 8.0.552.224 and
 Firefox 3.6.13 (both on Ubuntu 10.10). The example has been changed to
 also include a rotation-property in the default-style (all other changes
 were merely cosmetic). I changed that as Firebug gave a notice when
 hovering out of a rendered feature. This might have been introduced by
 this patch.

 It also removes a now obsolete test from SVG.html that only makes sense
 when {{{supportUse}}} exists.

 It does '''not''' include new tests to check the changes, I would be glad
 if someone would share advice about how to test the specific rendering.

 Thanks for any review or comments.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2985#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list