Leaflet.label
Leaflet.label copied to clipboard
Add 'top' and 'bottom' directions.
Possible fix for #47 (fyi @ryansit, @astetik).
Wanted to put this up and see what you thought. Some of the CSS could be cleaned up a bit.
What do you think?
Like it!
Awesome work. I'll check it out later this week. Will need to check how well it interacts with the labelAnchor
marker option and the L.Label offset
options.
Does this support auto top and bottom?
On Dec 1, 2013, at 10:36 AM, Jacob Toye [email protected] wrote:
Awesome work. I'll check it out later this week. Will need to check how well it interacts with the labelAnchor marker option and the L.Label offset options.
— Reply to this email directly or view it on GitHub.
Cool, thanks @jacobtoye. I'm traveling today so I'll make the changes later this evening or tomorrow.
@ryansit - no, the existing auto logic is the same. Not sure what the desired behavior is or how we should set up the API to specify which direction the auto should fallback to, you know? Would love to hear some feedback if you have any strong feelings.
I'm traveling too. Without diving into the code, right now there is left, right and auto. You added top bottom. Probably need autovertical that works like the other auto. The horiOntal auto seems to work with the middle point being the switch.
On Dec 1, 2013, at 11:38 AM, Connor Montgomery [email protected] wrote:
Cool, thanks @jacobtoye. I'm traveling today so I'll make the changes later this evening or tomorrow.
@ryansit - no, the existing auto logic is the same. Not sure what the desired behavior is or how we should set up the API to specify which direction the auto should fallback to, you know? Would love to hear some feedback if you have any strong feelings.
— Reply to this email directly or view it on GitHub.
+1 for this feature
definitely would be nice to have.
+1 for this feature! Have someone start already the implementation?
This seems like something I could definitely use. I was looking into using Rrose to give me automatic positioning for marker popups, but this may work as well. Basically, I want the popup to determine its own direction that will not cause the map to pan when it pops up.
For popups I would use Leaflet.Rrose. This pull needs to be updated to get to a stage that it can be merged.
I'd really like this! :+1:
I want to add various label justification and rotation(angle) from the origin point together..

Any update about this feature ?
👍