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
feat: add Esri ArcGIS Maps SDK adapter #58
feat: add Esri ArcGIS Maps SDK adapter #58
Conversation
Hey @Tugark - I made it back in one piece thank you. It was great meeting you at FOSS4G this year, thanks for coming to the talk! This is awesome 🎉 Thanks so much for raising it. I am just on holiday till Monday but will take a look properly when I am back. I don't think it's necessary to have 100% identical styling, I feel 'best effort' is acceptable as long as they look approximately the same. It can always be a follow up improvement if it proves to be problematic. |
Hey @Tugark Just checked this out - nice work! Code quality is great and all working nicely. I played with the styling and figured out you just need to set any widths to pixels and it matches the styling of the other adpaters. I also needed to set the point size to * 2 (assuming this is the radius in other adapters hence having to double it to get the width). If you manage to get a chance to write some tests that would be great - current threshold is set to 65% so if we could try and hit that it would be awesome. Let me know if it becomes to arduous and we can look at getting it in without and I can try and follow it up when i get a moment (There is already an open issue for better adapter testing #18) |
6f0e215
to
7da7baf
Compare
00b44ec
to
7b743ab
Compare
Hey @JamesLMilner Thanks for the review! I just added your suggestion and I also added some basic tests. I'll try to add some tests for the I'm currently quite swamped, unfortunately, but I hope I'll be able to squeeze it in after the 23rd. |
@Tugark awesome, let me know if I can help at all. No worries on the timings, whenever is convenient for you. It's looking great, excited to get it in! |
39184fb
to
14a3733
Compare
@JamesLMilner Finally got around for adding some more tests - as always, it's a bit messy because it's relatively cumbersome to properly mock the javascript API. According to the coverage, it looks well: The uncovered lines are callbacks which I'm not sure can be tested. The rest should be good enough for the moment. Let me know if you want me to clean up the tests even more. |
@Tugark amazing work! Thanks so much - I think this is ready to go in now :) |
The Esri ArcGIS Maps SDK adapter added in JamesLMilner#58 is not exported. This PR adds the export and updated the development/ app.
The Esri ArcGIS Maps SDK adapter added in #58 is not exported. This PR adds the export and updated the development/ app. Co-authored-by: Joe Hawes <>
Hope you got back well from FOSS4G! ;)
As discussed at FOSS4G, I tried to whip up and Esri ArcGIS Maps SDK adapter.
The functionality is working, so if you want to glance over it, feel free to add suggestions. Couple of things to note:
I'm opening this PR as a draft because it is still missing tests - I have to work on them as I get the nice old
SyntaxError: Unexpected token export
and the Esri API is a bit cumbersome to test or mock. I hope I get around it somewhen soon, but I felt that I could already get some feedback on how that works for you.Once again, thanks for your work so far. I do believe that this library has a lot of potential!