[OpenLayers-Users] Workaround for VML support function bug with IE 7, 8

Phil Scadden p.scadden at gns.cri.nz
Mon Oct 12 23:12:06 EDT 2009


I've added this to Trac, #2305.

Problem occurs with opening a vector layer. Workaround for IE to avoid 
VML bug.
Change creator for vector from say
vectorLayer = new OpenLayers.Layer.Vector("My Layer"); to

vectorLayer = new OpenLayers.Layer.Vector("My 
Layer",{renderers:['Canvas']});
ie get rid of the VML renderer option.

-- 
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232


Notice: This email and any attachments are confidential. If received in error please destroy and immediately notify us. Do not copy or disclose the contents.




More information about the Users mailing list