-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use leaflet.restoreview.js plugin to save and restore last user's map… #49
Conversation
Added another patch for 2nd part of #48. I added reference to Awesome font in |
Thanks for the PR! I do have comments, but don't worry, still learning myself. And I should have more documentation. The build setup using Bower and Gulp is still a bit rough and not ideal. Also already outdated again, as people seem to have moved on to Webpack nowadays. But what I'm trying to achieve is that all dependencies are referenced and downloaded through Bower, so that the origin and the version used are documented and that managing and updating the depencencies gets a bit easier. leaflet.restoreview: I would prefer As it has no bower.json and is not registered with bower (https://bower.io/search/), I think you can reference the repo and add it to the bower.json with
Then add the file to include (leaflet.restoreview.js) to the "overrides" section. Check if included with leaflet.locatecontrol Yes, I would prefer not to load another fontset, as we already have Glyphicons from Bootstrap, but Glyphicons is a bit limited and seems not to have a spinner. Not sure about the marker icon, maybe fa-location-arrow or something similar to But I might as well merge the commit as it is and think about that later, as I want to add more icons anyway and am not decided on the icon-/fontset yet. |
… position between sessions (nrenner#48)
1b23c37
to
51abe1c
Compare
Thanks for your quick feedbacks!
|
Thanks for the update. Yes, the icons will do for now. The bower override for locatecontrol isn't necessary, as the project already has a bower.json with a proper main section. Could you please remove that again, then I think we're ready to merge. |
…below zoom buttons
OK I removed it, I can't wait to use these on brouter-web! 😄 |
… position between sessions (#48)
I am not JS developer so please tell me if something is wrong with my PR. Thanks @nrenner!