-
Notifications
You must be signed in to change notification settings - Fork 283
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
update demo to google mutant #370
Conversation
I figured out we can use the layers without the plugin as well and the timing issue is gone:
here is the result: what do you guys think? |
d483b03
to
24d8f66
Compare
This is looking rad; ready for final review? Thanks! |
@jywarren I wanted confirmation that you liked the idea before continuing with it. So what I think I will do is update Some questions are:
@rexagod any input from you would be great too! |
ba34515
to
88eb493
Compare
Hi @sashadev-sky !!! Awesome here.
Hm, i guess I don't mind either way!
This looks good! Rad re: slider.
What kind of different way are you thinking? Sorry, i don't quite follow?
Sure, we can do that.
Ah, that is pretty convenient, actually. Yeah let's do! |
Looking awesome. Also just noting we should use an actual aerial image, as in http://publiclab.github.io/Leaflet.DistortableImage/examples/select ! Thank you, Sasha, you're killing it on LDI!! |
@jywarren ok awesome, I am going to port over the double click functionality and merge this! And maybe open up an issue about the background opacity slider. For now, the user is able to just pass whatever opacity they'd like at initialization. The labels you can also choose whether will be initially there or not. I documented this all in README! |
1fbba8b
to
254a233
Compare
* update demo to google mutant * update * update namimg * rebase * get rid of plugin dependency * ensure labels don't deselect img * remove extra period * refactor * refactor * refactor * refactor * refactoring done * fix rebase * create API for google mutant layer * add some logic between doubleClickLabels and doubleClickZoom * update file structure * add more options * clean tests * bump version * undo typo * dist * fix linting * remove extra line * port over mk dblclick listener * prevent image deselection on map dblclick for collection group * update some linting rules * bump to 0.7.4 * docs * docs * update docs * lint
* update demo to google mutant * update * update namimg * rebase * get rid of plugin dependency * ensure labels don't deselect img * remove extra period * refactor * refactor * refactor * refactor * refactoring done * fix rebase * create API for google mutant layer * add some logic between doubleClickLabels and doubleClickZoom * update file structure * add more options * clean tests * bump version * undo typo * dist * fix linting * remove extra line * port over mk dblclick listener * prevent image deselection on map dblclick for collection group * update some linting rules * bump to 0.7.4 * docs * docs * update docs * lint
Fixes #81 (<=== Add issue number here)
Make sure these boxes are checked before your pull request (PR) is ready to be reviewed and merged. Thanks!
grunt
If tests do fail, click on the red
X
to learn why by reading the logs.Please be sure you've reviewed our contribution guidelines at https://publiclab.org/contributing-to-public-lab-software
Thanks!
==========================
changes:
index.html
andselect.html
. Uses new API which is now documented:addGoogleMutant
doubleClickLayers
andboxSelector
handlers