-
Notifications
You must be signed in to change notification settings - Fork 222
Add ArcGis geocoding service #120
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
Conversation
src/index.js
Outdated
Photon = require('./geocoders/photon'), | ||
Mapzen = require('./geocoders/mapzen'); | ||
Mapzen = require('./geocoders/mapzen'), | ||
AcrGis = require('./geocoders/acrgis'); |
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.
Looks like a typo here, you're referring the variable ArcGis
below. Did you build and test the code to check that it works?
Please rename the file |
Ah, yes, thank you. Now it's working properly. |
Can you squash these commits into one, to make the history look a bit cleaner? |
I do not know how to do it correctly :( |
No worries, it's (like many things with git) a bit tricky the first time. I'm sure there's like a million tutorials on how to do it, but here's a short summary: The idea of "squashing" commits is to bunch together a number of commits into a single one. Often to avoid a lot of "fixed this/that" commits that are just confusing in the repo history. To do it, you use the command
This will bring up an editor, where all commits following b83b2cf are listed. By default, they will all have the command After you save and exit the editor, git will perform the modifications. Beware that it's actually possible to remove commits from the history in this interface, if you remove lines from the file. After squashing, you can push your changes again, but you will have to use Feel free to try it out, it's a good thing to know about. If you don't want to, no worries, just tell me and I'll try to find the time and fix up the last bits. |
Thank you for help, i try to squash commit a bit later. |
GitHub now allows squashing as part of accepting a PR, so this was solved automatically. Again, thanks for contributing this code! 😸 |
Community FTW! :) |
Added ArcGis geocoding service which support geocode, reverse geocode and autocomplete.
Docs can be found on https://developers.arcgis.com/rest/geocode/api-reference/geocoding-find-address-candidates.htm and https://developers.arcgis.com/rest/geocode/api-reference/geocoding-reverse-geocode.htm
Have a good day! :)