Open nmccready opened 9 years ago
From @tombatossals on July 15, 2015 13:54
Wow, great news. That would be a good moment for giving this directive a power up.
Thanks for reporting!
From @paambaati on August 4, 2015 4:56
@tombatossals Is there a branch for this that we could check out/test/contribute?
Referencing Mobile Draw Support . IE: This is another reason to get started on this. https://github.com/Wildhoney/Leaflet.FreeDraw/issues/3
I will be adding a leaflet 1.0.X branch to start working towards this. However I am not sure what the name of the branch should be.
leaflet-1.0.X to targets leaflet? Or just 1.0.X as we are working towards a 1.0.X ourselves.
My only beef with making it 1.0.X is that going to leaflet 1.0.X might not be stable right away. But keeping the branch with 1.0.X and mapping to leaflet 1.0.X helps eliminate confusion.
Thoughts anyone?
From @vrubert on September 23, 2015 16:54
Looks good @nmccready, I think too we need that branch because it will need some time to have the directive working with leaflet 1.0.x and all the modules.
BTW, the Leaflet.FreeDraw project is amazing!!
@vrubert @tombatossals any thoughts on what you want the branch name to be?
From @simison on September 24, 2015 10:31
Keeping the future version number of this package at the branch name makes more sense to me rather than following Leaflet versions. Trying to follow Leaflet versions and keeping them in pair with package, might prove hard in long term, doable only maybe for major versions.
I'd call it "1.0.0-with-leaflet-1.x", "1.0.0-WIP" or just "1.0.0"
From @tombatossals on September 24, 2015 17:56
Hey, I would suggest "1.0.0-wip" as @simison said, what do you think?
I haven't had time to take a look at leaflet-1.0-beta, I expect there will be no major API changes and 90% will work seamlessly. I hope so.
Awesome I hope so too, what is WIP? Work In Progress? I am not sure if that is needed as all branches are WIP :grinning: .
Or is it WLP?
hmm maybe just leaflet-1.X
That way if we have any major changes (unseen foreseeable) we don't need to rename the branch.
From @tombatossals on September 24, 2015 18:9
You're right, all branches are WIP :D
Totally agree, better leaflet-1.X so no need to rename it later.
cool I'll push the branch up
From @simison on September 24, 2015 21:42
"WIP" suggests that it's currently in progress and shouldn't be expected to work. ;-)
leaflet-1.x is cool tho. Thanks for working on it!
Working on this, and I can not find the leaflet-src.js dist file for master or 1.0.0-beta1
Good lord, they made it incompatible with bower.. ie it is not standardized anymore.
Ok, so far we have a few alternatives
"leaflet": "http://cdn.leafletjs.com/downloads/leaflet-1.0.0-b1.zip"
. The big problem with this is that it makes our library and leaflet dependencies an invalid mess where version number really means nothing.dist/*.js
files againThis is a real problem with a lot of future headache. It would be nice if they could start using bower correctly again. But I am not confident this will happen.
From @simison on September 30, 2015 19:22
Hmm, nope, normally they do have dist files for releases. (https://github.com/Leaflet/Leaflet/issues/3635#issuecomment-125168272)
It's just this beta which is lacking those files (https://github.com/Leaflet/Leaflet/issues/3635#issuecomment-123267747); it'll be fixed with the next version.
For WIP using the beta-1 zip path is fine.
Yeah they need to do another release. However this still doesn't make me that confident in bower as a solution. This will probably be a headache in the future for sure. I vote for becoming npm centric.
This brings up a good discussion though. It would be nice to not always be committing dist/*.js
as it would keep the PR size very small and easier to review. I wonder if we should start doing something similar and only publish dist/*.js on tags/releases. Alternatively we could have a dist repo. Ugh.. all more work I don't feel like doing.
With the dist/*.js
ignored solution; this would only mess with people that target master. This would be tons of plunkers and many users.
All the branch exists on the main repo. Feel free to start making the specs work. On a positive note the 604 example appears to work at least partially.
From @simison on September 30, 2015 19:58
Bower will eventually die out as NPM evolves, I suppose. Anyway, for this sort of package it's very important to stay distribution channel agnostic and just keep supporting everything that's feasible. Bower is still hugely popular for good reasons.
Having a CI script to produce dist files sounds totally something this package should have. :-) Have a look at Leaflet's build scripts?
There scripts are all using jake, I would prefer to look at grunt or gulp as I do not feel like learning another tool just for another tool sake.
@nmccready @elesdoar any indication when there will be a version ready for leaflet 1.0? what's the status - which things still need to be done?
@elesdoar knows more than I do at the moment. I have not had time to work on this lately.
@nmccready @elesdoar Any news on a leaflet 1.0 version? I have to use leaflet 1.0 for Esri vector basemaps which are not supported by leaflet < 1.0. Thanks.
I am barely supporting this library at this point. I am mainly doing maintenance when needed. My main reasoning is I have come to the decision that angular is not appropriate for mapping. I could go into the details but I don't think it is worth it.
@nmccready Thanks for the feedback. I respect your decision.
There are quite a number of users who can't make this decision - e.g. we are bound to both angular and mapping.
For the the longterm we seek for maintainers to continue the project and ask the community for help. I'll create an issue for this.
For now: Could you start a basic migration to 1.0 to update the directive? Not the full fledged planned refactor, but just make it work with Leaflet 1.0. I understand that you are the the expert and in the know. We and probably many other users can assist with testing and so on..
@elesdoar may have better answers as he has worked on major changes more recently
I was working on this compatibility and this is close to finishing, there are only some tests with some plugins, I will soon return to work on this project and I will advance these releases.
Please have patience, because we only work 3 people in the short time that we are remains free.
Thanks.
Glad to hear that. Thank you.
Ping :)
From @simison on July 15, 2015 11:24
http://leafletjs.com/2015/07/15/leaflet-1.0-beta1-released.html
:-)
Copied from original issue: tombatossals/angular-leaflet-directive#851