Permalink
Browse files

Work around broken SVG-in-iframe on WebKit/Chrome

  • Loading branch information...
Samuel Cochran
Samuel Cochran committed Jul 29, 2011
1 parent 2d1700b commit 28fed0463df29769ef734085e806d923095e7cd9
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/main/js/ol/OpenLayers.js
  2. +1 −1 src/main/js/ol/lib/OpenLayers/Layer/Vector.js

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
@@ -193,7 +193,7 @@ OpenLayers.Layer.Vector = OpenLayers.Class(OpenLayers.Layer, {
* the first renderer which returns true for the 'supported()'
* method will be used, if not defined in the 'renderer' option.
*/
- renderers: ['SVG', 'VML', 'Canvas'],
+ renderers: ['Canvas', 'SVG', 'VML'],
/**
* Property: renderer

0 comments on commit 28fed04

Please sign in to comment.