-
Notifications
You must be signed in to change notification settings - Fork 280
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
Allow featureGroup initialization with no overlay corners #381
Conversation
@rexagod @jywarren this PR is very small in code changes but makes a bigger difference to how the library can be used.
I updated the README pretty thoroughly to basically make the point that for single image interface you don't really need them but for multi you want to include them or the images will render on top of eachother. The I think it actually makes the plugin a lot easier to use, because people can add images to the map quickly, and use our API to retrieve the corners for a position they like and then add in the corners option. Otherwise they have to calculate it themselves and risk distorting their image. |
in MK, hopefully this will allow us to stop adding images to the map instead of the feature group. It also calls |
OK, interesting, so will this then need some more work before reviewing it?
Thanks!
…On Wed, Aug 14, 2019 at 12:57 AM Sasha Boginsky ***@***.***> wrote:
ok I just found that @rexagod <https://github.com/rexagod> uses custom
logic for img.editing.enable #312
<#312> and I
have a feeling others might want to as well, so I am going to create an
enabled option that can be set to false so that image editing isn't
automatically enabled on load
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#381?email_source=notifications&email_token=AAAF6J5KFWHY6A4XEDRCEG3QEOGDPA5CNFSM4ILP7MKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4HWBZQ#issuecomment-521101542>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6J7J53DS6Y2EAJLD2K3QEOGDPANCNFSM4ILP7MKA>
.
|
Ah, does this fix publiclab/mapknitter#919 or what else would be required? I'm very eager to get that resolved, so any tips appreciated here! Thank you! |
@jywarren Might fix it or might just be one step in fixing it. It's basically ready for review, all I am doing is adding an |
Ok, looks good to me! I rushed in a fix for the legacy exporter just now to
address the urgent issue and I hope that'll fix it. But still eager to see
this merged!
…On Wed, Aug 14, 2019, 6:37 PM Sasha Boginsky ***@***.***> wrote:
@jywarren <https://github.com/jywarren> Might fix it or might just be one
step in fixing it. It's basically ready for review, all I am doing is
adding an enabled option which will run based on a conditional. I will
finish this ASAP. The main part to really review is to just read through
the README.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#381?email_source=notifications&email_token=AAAF6J6LBVKTQDGAQ625RQLQESCKBA5CNFSM4ILP7MKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4KKEDQ#issuecomment-521445902>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAAF6J3GS6IIHEU5DBBUBO3QESCKBANCNFSM4ILP7MKA>
.
|
As soon as it's complete, let's bump version in Mapknitter to get this
pulled in.
…On Wed, Aug 14, 2019, 7:06 PM Jeffrey Warren ***@***.***> wrote:
Ok, looks good to me! I rushed in a fix for the legacy exporter just now
to address the urgent issue and I hope that'll fix it. But still eager to
see this merged!
On Wed, Aug 14, 2019, 6:37 PM Sasha Boginsky ***@***.***>
wrote:
> @jywarren <https://github.com/jywarren> Might fix it or might just be
> one step in fixing it. It's basically ready for review, all I am doing is
> adding an enabled option which will run based on a conditional. I will
> finish this ASAP. The main part to really review is to just read through
> the README.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#381?email_source=notifications&email_token=AAAF6J6LBVKTQDGAQ625RQLQESCKBA5CNFSM4ILP7MKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4KKEDQ#issuecomment-521445902>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AAAF6J3GS6IIHEU5DBBUBO3QESCKBANCNFSM4ILP7MKA>
> .
>
|
I had to do a lot of restructuring and make a #335 for this option to work properly with both groups. almost done tho! |
@jywarren ok this turned into a complicated one but it is done now. @rexagod @ViditChitkara I think Easiest probably to just look at README and try the code out if u'd like |
That's awesome!! Will check this out. |
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 a couple tiny queries about the docs. This is an incredible PR! The README is so great. cc @IshaGupta18 @rexagod just generally as it's a great PR, and also cc @ananyaarun @sagarpreet-chadha on the UI testing in here, it could be useful?
And shall we bump to |
I made it Updated to |
* test how readme formatting is rendered * update formatting * make documented setters return this * bump to 0.8.0 * update * update demo * fix grammer * update to use DistortableCollection.Edit * complete API * make API make sense * fix mobile * update readme * update cmment * revert demo change * revert both demo changes * refactor * add new line to end of file * make final updates * fix typo
) * test how readme formatting is rendered * update formatting * make documented setters return this * bump to 0.8.0 * update * update demo * fix grammer * update to use DistortableCollection.Edit * complete API * make API make sense * fix mobile * update readme * update cmment * revert demo change * revert both demo changes * refactor * add new line to end of file * make final updates * fix typo
A step to fix publiclab/mapknitter#919 (<=== 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!