GeoTIFF / geotiff.io

Static website for viewing and analyzing GeoTIFF's in the browser
https://app.geotiff.io
MIT License
113 stars 25 forks source link

Add Alert if Url Param isn't correct #67

Open DanielJDufour opened 7 years ago

DanielJDufour commented 7 years ago

For example if I write tool=identify instead of tool=IdentifyTool

DanielJDufour commented 7 years ago

Wrote code to check value of tool param, but should also validate all the params too. Perhaps create a validate_url_params function, which lives in a separate file. We should through an alert when accidentally put the wrong param name like url_to_tiff instead of url or hide_menus instead of hide_menu. Alert should also give suggestions on what the correct spelling is.