[OpenLayers-Users] Weird behavior when using stylemap in vector layer and IE

MostlyBaldEagle MostlyBaldEagle at shaw.ca
Thu Apr 1 13:10:25 EDT 2010


I have an application that displays two types of map, either a logical
topology (no map tiles) and a physical topology (using OpenStreetMap). The
problem ocures in both.

Several problems occur when using a stylemap in a vector layer and IE 7 (no
problem in FF and Chrome).


1. when moving a feature the feature moves faster then the mouse pointer
2. graphic images are not displayed (most of the time)
3. popups do not work for point feature only line feature popups work.
4. Navigation feature doesn't change zoom indicator

Unfortunately I am a bit new to Javascript, so maybe that is my problem.


Are there known issues with IE and OpenLayers Vector layer?



  Below is my code if you want to try it out. I have been running ti with
both 2.8 and 2.9RC1. same problem on IE 7 and IE 8. When removing the
stylemap from the vector layer the problem seems to go away - partially...


appologies for the large sample code :-) it's the only way I can reproduce
this problem reliably.

http://n2.nabble.com/file/n4838451/TT.js TT.js 
http://n2.nabble.com/file/n4838451/test4.htm test4.htm 

-- 
View this message in context: http://n2.nabble.com/Weird-behavior-when-using-stylemap-in-vector-layer-and-IE-tp4838451p4838451.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100401/fca2e275/attachment.html


More information about the Users mailing list