agrc / atlas

UGRC's template for esri JavaScript mapping applications.
https://atlas.utah.gov
MIT License
38 stars 16 forks source link

[BUG] What's Here doesn't work with non-private land when Land Ownership is on #475

Open jacobdadams opened 1 week ago

jacobdadams commented 1 week ago

Is there an existing issue for this?

Current Behavior

I was playing around on Atlas and it looks like the "What's Here" feature doesn't work on non-private land when you have the Land Ownership layer turned on. With that layer off, I can click somewhere in a National Forest, or State Park, or similar and get info. However, when I turn Land Ownership on, it doesn't seem to register that I've clicked. It's almost like that layer is "intercepting" the click (maybe because it's the topmost layer?)

Browsers

Reproduction steps

  1. Turn on Land Ownership
  2. Click on the Mt Timp summit
  3. Turn off Land Ownership
  4. Click on the Mt timp summit

Developer console logs

Console log doesn't log any requests when clicking on a location covered by the Land Ownership layer.

Additional information

No response

steveoh commented 1 week ago

Good catch. The hit test is running on the vector layer and expecting a popup to show up instead of doing the identify. This logic was intended to not identify when selecting a geocode or sherlock match graphic.