luislizcano / 3D-wetlands-app

Googgle Earth Engine App: 3D Wetlands App
GNU General Public License v3.0
8 stars 2 forks source link

errors seen in console #2

Open 7yl4r opened 3 years ago

7yl4r commented 3 years ago

I was using the advanced version of the app and the following errors popped up when I was using the app:

In users/lizcanosandoval/rslab:WV_Mosaics_app_v0.9adv
Line 625: Cannot read property '0' of undefinedIn users/lizcanosandoval/rslab:WV_Mosaics_app_v0.9adv
Line 803: Cannot read property '0' of undefined

Below are the settings I was using when I saw these errors:

image

The app appears to have worked anyway though so I think this is a low-priority issue.

luislizcano commented 3 years ago

It is recommended to choose a date range for the both left and right maps.

7yl4r commented 3 years ago

Ah, yeah I didn't see the error when doing that. Is it possible to catch the error in the console and display an error message that says something like "please choose a date range for both left & right maps"?