Creating decorator is slow when zoomed in
See original GitHub issueHi,
Here’s jsfiddle for reproducing issue: http://jsfiddle.net/3rmk0nou/26/
Please skip 626 lines because it’s copy-pasted Leaflet.PolylineDecorator
code (is there CDN link for this plugin anywhere?).
In current example, when zoom level is 17 and polyline is created using decorator (Click button to create), it takes ~20 seconds to create, and ~20 seconds to fitBounds on i5-3210M @ 2.50GHz laptop. Polyline has only 10 vertexes.
If zoom level is 20, create time exceeds one minute. The more map is zoomed while creating decorated polyline, the slower it gets. On mobile device it can take multiple minutes. In user point of view, “it hangs” (though it does provide result after quite some time).
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Pan view and zoom are slow when survey decorations are ...
When I use the pan view in a drawing with the survey decorations turned on, the detail, or the entire display, vanish during...
Read more >How to slow this animation down with javascript - Stack Overflow
Works very fine for me, the speed is slow, even if you zoom in. It is logical that it appears to be a...
Read more >How to Zoom in/out Videos in iMovie on Mac/iPhone?
In today's article, we will show you how to zoom in/out videos in iMovie on your Mac and iPhone.
Read more >Zooming Background Images | CSS-Tricks
As I had never created an effect like this before, I began to take a look at different ways of doing this and...
Read more >Spring Into Feeling Better in Your Home - Munster, IN Interior ...
Every client and homeowner have a different 'Feel' that they want to create in their home. When working with Decorating Den Interiors and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hello Benjamin,
just let you know, that I manged the update. It now works much better then before, thanks
If you like to look what I did: http://www.oertel-halle.de/katrin/
regards Heinz
@bbecquet just letting you know that I’ve updated to 1.3.2 and the performance is excellent, even on my 2000+ point polylines, thanks a bunch!