question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 3 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
vickyrarecommented, Feb 12, 2021

@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.

1reaction
ghettovoicecommented, Feb 8, 2021

@vickyrare I have just published new vuelayers version, v0.11.31 that should resolve this issue. You can check upd branch in your repo.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found