Esri / mapbook-android

App to replace paper maps for field work
Apache License 2.0
12 stars 13 forks source link

Ensure a feature's layer is visible when it is searched #6

Closed mikewilburn closed 7 years ago

mikewilburn commented 7 years ago

If a feature – which is a participant of a layer that’s not currently visible within the map – is searched, should we toggle that layer on?

I tend to lean toward ‘yes’ on this, but could be convinced otherwise. I recall that Mara may have done something similar within the design of her WPF app. I find it a bit of an odd experience to be directed to an invisible feature on the map canvas.

codergrl commented 7 years ago

@mikewilburn that functionality was added to the WPF app and later removed because it caused issues. The locator stores a copy of the search data and does not reference the actual layer in the map. There is a Layer Name property, but that's the name of the layer when the locator was created. If the layer's name was changed since, the app will not be able to find the layer

mikewilburn commented 7 years ago

@marastoica @zinfin in that case, I'll go ahead and close this out since it seems like this behavior is by design (or that we would have to do a significant amount of additional work not deemed worthwhile if we wanted to address it).