Git Product home page Git Product logo

Comments (8)

jacobtoye avatar jacobtoye commented on June 15, 2024

Hi @Strac76,

I'm glad you like the plugins. I reason we have these functionality split out into separate plugins, is to keep the Leaflet core as lightweight as possible.

Regarding your issue, when you talk of layers do you mean markers/vectors? Or are you creating new L.Label's and adding them to the map? If they are bound to a marker/vector they should automatically be removed when the marker/vector is removed. If not that would be a bug.

Do you think you could set up a http://jsfiddle.net/ of the issue? I can take a better look later.

from leaflet.label.

CarstVaartjes avatar CarstVaartjes commented on June 15, 2024

Thanks!

It's a polygon label (as I have a huge amount of polygons, I only load the
visible ones after each map move). I'll make a fiddle example tomorrow (or
late tonight :)!

On Sat, Dec 1, 2012 at 10:43 PM, Jacob Toye [email protected]:

Hi @Strac76 https://github.com/Strac76,

I'm glad you like the plugins. I reason we have these functionality split
out into separate plugins, is to keep the Leaflet core as lightweight as
possible.

Regarding your issue, when you talk of layers do you mean markers/vectors?
Or are you creating new L.Label's and adding them to the map? If they are
bound to a marker/vector they should automatically be removed when the
marker/vector is removed. If not that would be a bug.

Do you think you could set up a http://jsfiddle.net/ of the issue? I can
take a better look later.


Reply to this email directly or view it on GitHubhttps://github.com/jacobtoye/Leaflet.label/issues/6#issuecomment-10922559.

from leaflet.label.

CarstVaartjes avatar CarstVaartjes commented on June 15, 2024

Hi Jacob,

Still working of the JS Fiddle: http://jsfiddle.net/Strac/7cT6t/29/
At the moment I can't scroll with my mouse in my js fiddle example while
hovering above a polygon. Looking into this (as it's needed to replicate
the real behaviour!)

BR

Carst

On Sat, Dec 1, 2012 at 11:44 PM, Carst Vaartjes [email protected]:

Thanks!

It's a polygon label (as I have a huge amount of polygons, I only load the
visible ones after each map move). I'll make a fiddle example tomorrow (or
late tonight :)!

On Sat, Dec 1, 2012 at 10:43 PM, Jacob Toye [email protected]:

Hi @Strac76 https://github.com/Strac76,

I'm glad you like the plugins. I reason we have these functionality split
out into separate plugins, is to keep the Leaflet core as lightweight as
possible.

Regarding your issue, when you talk of layers do you mean
markers/vectors? Or are you creating new L.Label's and adding them to the
map? If they are bound to a marker/vector they should automatically be
removed when the marker/vector is removed. If not that would be a bug.

Do you think you could set up a http://jsfiddle.net/ of the issue? I can
take a better look later.


Reply to this email directly or view it on GitHubhttps://github.com/jacobtoye/Leaflet.label/issues/6#issuecomment-10922559.

from leaflet.label.

jacobtoye avatar jacobtoye commented on June 15, 2024

What browser are you testing in? IE10, FF and Chrome seems to work as I would expect. The label hides and shows on zoom for Chrome.

The drag issue seems to be a Leaflet bug, I;ll have a look later.

from leaflet.label.

CarstVaartjes avatar CarstVaartjes commented on June 15, 2024

You're right; the fiddle does work, still my own app doesn't... i don't
want to open it up to all the internet though yet and uses quite a bit of
js in total. i'll try to make the fiddle as much like the original code as
possible!

On Mon, Dec 3, 2012 at 10:22 PM, Jacob Toye [email protected]:

What browser are you testing in? IE10, FF and Chrome seems to work as I
would expect. The label hides and shows on zoom for Chrome.

The drag issue seems to be a Leaflet bug, I;ll have a look later.


Reply to this email directly or view it on GitHubhttps://github.com/jacobtoye/Leaflet.label/issues/6#issuecomment-10972414.

from leaflet.label.

CarstVaartjes avatar CarstVaartjes commented on June 15, 2024

Extended the fiddle, but it still doesn't show what really happens in my
website, still it now has issues with mouseout events (which I also
sometimes have). I guess that is more a leaflet thing than the label
plugin. I might have to end up giving you some access in my app to show
what happens ;)

On Mon, Dec 3, 2012 at 11:45 PM, Carst Vaartjes [email protected]:

You're right; the fiddle does work, still my own app doesn't... i don't
want to open it up to all the internet though yet and uses quite a bit of
js in total. i'll try to make the fiddle as much like the original code as
possible!

On Mon, Dec 3, 2012 at 10:22 PM, Jacob Toye [email protected]:

What browser are you testing in? IE10, FF and Chrome seems to work as I
would expect. The label hides and shows on zoom for Chrome.

The drag issue seems to be a Leaflet bug, I;ll have a look later.


Reply to this email directly or view it on GitHubhttps://github.com/jacobtoye/Leaflet.label/issues/6#issuecomment-10972414.

from leaflet.label.

jacobtoye avatar jacobtoye commented on June 15, 2024

Sure, I'll be happy to take a look.

from leaflet.label.

jacobtoye avatar jacobtoye commented on June 15, 2024

See 973e38d

from leaflet.label.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.