FREAC / LABINS

A web mapping application created for the Florida Department of Environmental Protection to provide survey data for the state of Florida.
https://labins.org/map
0 stars 0 forks source link

#178 change scope of measurement variable #182

Closed clintonlunn closed 3 years ago

clintonlunn commented 3 years ago

previously checking for screen size broke the identify. this was a scope problem. the measurement variable needed to be defined in the global scope so it would be available for the check that is done for the measurement state on a map click.

More testing still needed, just figured this out at the end of my work session.

clintonlunn commented 3 years ago

Testing revealed an issue where an drill down identify threw errors on mobile because the measurement.viewModel wasn't defined (which it shouldn't have been anyways). This has been accounted for.

Continuing my testing, but it looks pretty good so far.