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

low performance when add a graticule overlay to map and zoom-in to big scale #6932

Closed
kevanTai opened this issue Jun 16, 2017 · 4 comments
Closed

Comments

@kevanTai
Copy link

as title, for 4.2.0 version, when add a graticule(line) overlay to map and zoom in to big scale, it have low performance if drag map.

@bartvde
Copy link
Member

bartvde commented Jun 19, 2017

what release was the performance still ok for you?

@kevanTai
Copy link
Author

as graticule example --> https://openlayers.org/en/latest/examples/graticule.html
when zoom in to big scale, then to move map, the map move very lag.

but test on openlayers 2 version, same with the case (show graticule labels on map and zoom in to big scale then move map), it not have lag issue

for Ol2 graticule example --> http://dev.openlayers.org/examples/graticule.html

@JackD83
Copy link

JackD83 commented Jun 29, 2017

Its caused by the line dash. Remove it and its fast again. Same happens on all dashed lines and large zoom factors

@kevanTai
Copy link
Author

kevanTai commented Jul 5, 2017

Great~!!! 👍

I just tested it (remove line dash), it can fast to draw when zoom-in to big scale and move map.

Very thanks, JackD83 and bartvde .... : )

@kevanTai kevanTai closed this as completed Jul 5, 2017
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