geotiff.io icon indicating copy to clipboard operation
geotiff.io copied to clipboard

Add Alert if Url Param isn't correct

Open DanielJDufour opened this issue 8 years ago • 1 comments

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

DanielJDufour avatar Sep 17 '17 17:09 DanielJDufour

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.

DanielJDufour avatar Sep 17 '17 19:09 DanielJDufour