[OpenLayers-Users] Re: SelectFeature when using IE<9 or IE9 Compatibility View

Andreas Hocevar ahocevar at opengeo.org
Wed Feb 15 09:35:00 EST 2012


What happens if you add

<!DOCTYPE html>

as first line to your HTML page?

Andreas.

On Tue, Feb 14, 2012 at 9:04 PM, Peter Peterse
<peter at peterse-uithuizen.com> wrote:
> Hello Andreas,
>
> Thanks for your reply. The style rotation works fine. But when I use the
> dragFeature it don't work in some IE versions. I'm working on a rather
> big OL project and there I had trouble with the dragFeature in IE7 and
> IE8. IE9 works there correct. I found the result in disableing the
> snapping-tool. When I try to write a bug request
> <http://osm.peterse-uithuizen.com/~peter/dragTrouble/index.html> it
> worked in IE8 but not in IE9. I've changed this example with only the
> remove of the rotate style
> <http://osm.peterse-uithuizen.com/~peter/dragTrouble/index2.html> and
> after this the dragFeature worked also in IE9.
>
> I hope someone can find the error I make. It is probably a stupid one
>
> Regards,
> Peter
>
>
>
> Op 14-2-2012 9:21, Andreas Hocevar schreef:
>> Hi Peter,
>>
>> the example to test this is
>> http://openlayers.org/dev/examples/styles-rotation.html (hover over
>> features to see the SelectFeature control in action). For what it's
>> worth, it works fine in both IE8 and IE9 for me. The thing with IE9
>> and vector rendering is that you really shouldn't be using
>> compatibility mode. If you do so, neither VML nor SVG work properly.
>>
>> Andreas.
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



-- 
Andreas Hocevar
OpenGeo - http://opengeo.org/
Expert service straight from the developers.


More information about the Users mailing list