Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Markers will be stuck at the top in Internet Explorer #1237

Open
Flexmaen opened this issue Jan 26, 2014 · 6 comments
Open

Markers will be stuck at the top in Internet Explorer #1237

Flexmaen opened this issue Jan 26, 2014 · 6 comments

Comments

@Flexmaen
Copy link

In the latest Internet Explorer versions (10, 11), the markers will not be shown at the correct position if zoom level is bigger than 15

(If you can't reproduce you might try with many markes and some of them outside the shown area - however screenshot is attached)

This happend with recend stable versions of Mediawiki, Semantic Mediawiki and Semantic Maps. The Bug seems to be in Openlayers, since Google etc. worked fine with Semantic Maps.
bug_ie

@ahocevar
Copy link
Member

@Flexmaen Can you please provide a link to a page that shows the issue live? I would like to see which vector renderer is used there. If it is VML, then changing the doctype of the containing page to <!DOCTYPE html> could fix the issue. If it is SVG (which should be the case when the doctype is set properly), then this might be because of number range limits - similar to what we saw in early Firefox versions.

@bartvde
Copy link
Member

bartvde commented Jan 27, 2014

@ahocevar is the URL from the screenshot sufficient? http://baugeschichte.at/index.php/Bergmanngasse_25

@Flexmaen
Copy link
Author

I changed the layer in the site, but I created a test page with open layers:
http://www.baugeschichte.at/Testseite_1b

This works fine in Opera and Chrome, but doesn't work in IE (although it shows slightly diffrent symptoms than the screenshot).

@ahocevar
Copy link
Member

@Flexmaen Are you sure this is the same issue? Because on http://www.baugeschichte.at/Testseite_1b, everything is stuck in the top left corner - including image tiles. And everything is fine after zooming out and back in again.

@Flexmaen
Copy link
Author

Strange... For some reason there seems to be a different issue now.

But at http://smwtest2.wikiservice.at/index.php/Einspinnergasse_3 you'll find the same issue for sure!

@ahocevar
Copy link
Member

Ok, two observations here:

  1. This page uses the very deprecated OpenLayers.Layer.Markers layer. It is highly recommended to use OpenLayers.Layer.Vector` instead.
  2. Because the issue goes away after a map redraw (try to resize the browser window), I am inclined to say that this is an IE 11 bug. Try to call OpenLayers.Map#updateSize() after the final map height is set.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants