USGS-WiM / fim-js

Flood inundation map libraries with real-time USGS river-level data.
Other
1 stars 2 forks source link

Enhanced use of the User Location #188

Open HansVraga opened 7 years ago

HansVraga commented 7 years ago

Let's hook into the fact we can get the user's location for most devices to help guide them to the appropriate Flood Library(s). Once user location is determeined:

  1. If that location is not in the extent of any flood libraries, change map extent to center their location on the screen at a zoom level that will show the nearest library. Present a notification that "user location not within a flood library region"
  2. If that location is within exactly 1 flood library's extent, open the flood library tools at zoom level to show full extent, and show user location as dot.
  3. If that location is within more than 1 flood library's extent, change map to center on user's location with zoom level set to include the extents of all flood libraries that the user is within. Present a notification that "location within multiple flood library regions - please select one"
HansVraga commented 7 years ago

@mhkim01 thoughts on functionality like the above? Based on our conversation with the MO people. @njestes and I had a very brief chat about this, I tried to get the primary objective down above and then took a stab at the different scenario breakdown and functions - other ideas on how this could work?

mhkim01 commented 7 years ago

those all sounds good to me. On 3, maybe, open the closest one by default then give users notification saying "here are others that are fairly close to you as well"?