I encountered a performance issue about vl-source-vector
See original GitHub issue@ghettovoice Hi. Thank you for creating the vueLayers library.
I’m working on showing some markers on the map.
I use vl-source-vector for that work.
<vl-source-vector :features="positionDataList"></vl-source-vector>
And here’s the datas that goes into it.
positionDataList: [
{
type: "Feature",
id: 1,
geometry: {
type: "Point",
coordinates: [127.0198, 37.5897],
},
},
{
type: "Feature",
id: 2,
geometry: {
type: "Point",
coordinates: [126.8933, 37.571],
},
},
],
When I run this code, it runs very low.
If I run it as below, it will be fast.
<vl-geom-multi-point :coordinates="positionDataList"></vl-geom-multi-point>
positionDataList: [
[127.0198, 37.5897],
[126.8933, 37.571],
],
Since I am thinking of a hover event, the data should be in object form.
What’s the problem?
Issue Analytics
- State:
- Created 3 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
I encountered a performance issue about vuelayers... #196
It seems all points or lines are bound to one vl-source-vector. The original scenario is that users would click at any point or...
Read more >Dealing with Performance Problems
Types of Performance Problems · Poor prioritizing, timing, scheduling · Lost time. Lateness, absenteeism, leaving without permission. Excessive visiting, phone ...
Read more >Addressing and Resolving Poor Performance: A Guide ... - OPM
Dealing with performance problems can be a real challenge for any supervisor. Experienced supervisors often say it is one of the toughest, but...
Read more >What should we do when an employee's personal problems ...
Even when employees have serious personal issues to deal with at home, they still must meet performance expectations and act professionally.
Read more >Performance Problems - The Management Center
Here are some tricky performance scenarios our clients have encountered, and suggestions for designing a responsive performance improvement plan. Sample ...
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 FreeTop 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
Top GitHub Comments
@ghettovoice That seems to fix the issue. Thank you for your help.
Now came across another issue which is related to the previous issue. In this case, I am showing around 10000 features with clustering. The problem is this case is that the zoom in / out from the map is sluggish.
When you zoom in / out, the map freezes for few seconds. In that period the user cannot zoom in / out or pan.
I have updated the previous repo (branch upd) and added more features to reproduce the issue. Please have a look at your convenience.
Thanks in advance.
@vickyrare I have just published new vuelayers version, v0.11.31 that should resolve this issue. You can check
upd
branch in your repo.