Hi,
For upcoming municipal elections, I've created a simple app to let voters see whether they are inside municipal limits. It accepts an address and returns a popup with a bit of Arcade script ('you are inside {town} municipal limits', else 'you are inside unincorporated county'. It uses our jurisdiction boundary as the zone layer.
This logic returns correct results (as a single statement) as long as the map is shown in the app ('hide map' is toggled OFF). If I toggle 'hide map' ON, thus turning the map off, towns which are completely encircled by the county return both 'you are inside town X (good!), but also a second line with 'you are inside unincorporated county' (bad!).
The bad results don't occur with the 3 towns in our county which touch the county's outer borders, i.e., they are not completely surrounded by the county polygon. This seems to me to hint that however Zone Lookup is working when the map is turned OFF and looking up the zone of the address, it's treating the county as one uninterrupted polygon, ignoring the 'hole' created by the town boundaries.
Is this a bug?
I've attached screencaptures of the map, good & faulty search results for the same address (map 'on', and map 'off'), and the Arcade expression for the popup.
Thanks,
Mike
Is your app publicly available? If so I'd be happy to take a look.
@MichaelDuBois yes that would be helpful. In the meantime we can try to reproduce it with test data.