Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have a GeoJSON layer that I am treating as a javascript object in my openlayers map. When I use IE or Firefox, everything works fine. However, in Chrome, as I resize the window, the GeoJSON layer is not moving with the background wms.It stays static and becomes displaced from the wms. Even when I click around the map, it stays in its incorrect placement. Any ideas why Chrome is doing this? I guess I could redraw the layer everytime the window is changed. But that seems too drastic for this problem with this browser. Thanks for any help!

share|improve this question
    
Any errors or warning in the chrome console? –  EricSonaron Apr 13 '12 at 18:42
1  
You may be better off asking this on stackoverflow.com. –  GIS-Jonathan Apr 16 '12 at 11:36

1 Answer 1

If this is with Chrome 18 this is a known issue. See https://github.com/openlayers/openlayers/issues/392.

share|improve this answer
    
erilem is right, but don't despair can fix by applying the following patch (WFM): github.com/openlayers/openlayers/pull/467/files –  unicoletti Jun 16 '12 at 7:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.