-
Notifications
You must be signed in to change notification settings - Fork 81
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
Add location adding/editing/deleting capabilities to SMap #1475
Add location adding/editing/deleting capabilities to SMap #1475
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two little things
} | ||
}, | ||
|
||
// setCurrentLocationStyle: function () { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can be removed I guess?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
@@ -10,7 +10,7 @@ django-parsley==0.6 | |||
django-formtools==1.0 | |||
django-countries==3.4.1 | |||
django-sass-processor==0.3.4 | |||
django-leaflet-cadasta==0.21.0 | |||
django-leaflet==0.22.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We haven't fully removed django-leaflet, right? It's still used to edit project extents?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah that's right. We also use the leaflet_tags
to load leaflet.js
and related css for smap
rather than pulling them in from a cdn since they're there locally anyway.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎖
Weird, weird, weird.. @linzjax have you ever seen these outsized vertex handles.. just noticed them yesterday? They appear in Chromium & Google Chrome 58 (ubuntu 14.04). Seem fine in FF 53.0 (ubuntu 14.04) |
@bjohare Yeah I noticed those, but I didn't realize it was a bug. Katrina was excited about them, so does that make it a "feature"? |
feature/bug/bug/feature.. kinda ugly though and the more vertices a polygon has the uglier its going to get.. |
Alright, adjusted the map height in mobile and tested it on my phone. It does, in fact, work on mobile. 🥇 |
Yahoooo! |
a4443fd
to
f52db5b
Compare
b3dbf5a
to
5955e40
Compare
Alright, I'm going to rebase/squash and then merge in into |
@linzjax I think it is time to merge away! |
- updated django-leaflet version. - removed l.draw and switched to l.editable - geometry styling moved to separate file - added location editing forms to routes to allow for ajax interception - removed location popups
f52db5b
to
4f54398
Compare
- updated django-leaflet version. - removed l.draw and switched to l.editable - geometry styling moved to separate file - added location editing forms to routes to allow for ajax interception - removed location popups
- updated django-leaflet version. - removed l.draw and switched to l.editable - geometry styling moved to separate file - added location editing forms to routes to allow for ajax interception - removed location popups fixing things after rebase
- updated django-leaflet version. - removed l.draw and switched to l.editable - geometry styling moved to separate file - added location editing forms to routes to allow for ajax interception - removed location popups fixing things after rebase
- updated django-leaflet version. - removed l.draw and switched to l.editable - geometry styling moved to separate file - added location editing forms to routes to allow for ajax interception - removed location popups fixing things after rebase
- updated django-leaflet version. - removed l.draw and switched to l.editable - geometry styling moved to separate file - added location editing forms to routes to allow for ajax interception - removed location popups fixing things after rebase
- updated django-leaflet version. - removed l.draw and switched to l.editable - geometry styling moved to separate file - added location editing forms to routes to allow for ajax interception - removed location popups fixing things after rebase
[NOTE: This is not going into
master
. It's going intofeature/map-spa-router
][NOTE #2: This will need to be rebased before pulling it in so I can put together a commit message that doesn't contain "omg I think it's working"]
Proposed changes in this pull request
When should this PR be merged
Risks
Follow-up actions
Checklist (for reviewing)
General
migration
label if a new migration is added.Functionality
Code
Tests
Security
Documentation