We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This action allows listing maps by region:
mapknitter/app/controllers/maps_controller.rb
Lines 169 to 176 in 61e8035
Example:
https://mapknitter.org/map/region/Gulf-Coast?minlon=-98.8&minlat=23.6&maxlon=-79.1&maxlat=31.8
We should add something like this line to make it respond to JSON queries too - that way we can display maps on external sites by region:
Line 197 in 61e8035
The text was updated successfully, but these errors were encountered:
Hi @jywarren 😄 ! We have to add format.json { } only in region action of maps_controller ? And link in the example above is not working . Thanks !
format.json { }
region
Sorry, something went wrong.
Merge pull request #266 from sagarpreet-chadha/patch-1
5b93f6a
Make "maps by region" readable in JSON API #251
Completed by @sagarpreet-chadha !!!
https://mapknitter.org/map/region/Gulf-Coast.json?minlon=-98.8&minlat=23.6&maxlon=-79.1&maxlat=31.8
Could use a test maybe, but looking great!
No branches or pull requests
This action allows listing maps by region:
mapknitter/app/controllers/maps_controller.rb
Lines 169 to 176 in 61e8035
Example:
https://mapknitter.org/map/region/Gulf-Coast?minlon=-98.8&minlat=23.6&maxlon=-79.1&maxlat=31.8
We should add something like this line to make it respond to JSON queries too - that way we can display maps on external sites by region:
mapknitter/app/controllers/maps_controller.rb
Line 197 in 61e8035
The text was updated successfully, but these errors were encountered: