Skip to content

Identify Capability: how should it work on the client? #81

Open
@prushforth

Description

@prushforth

GeoServer now supports MapML responses for GetFeatureInfo. I have been working on implementing this in the client. The work is primarily being done in the MapML-Leaflet-Client JavaScript code, but the behaviour is emergent in the custom element implementation. I want to solicit community input for how it should work. Currently I've got it working similar to "Identify" in a GIS package, where when the user clicks or touches the map, the templated GetFeatureInfo request is triggered and the response is displayed as a vector outline with associated popup.
image

What is open to interpretation is how 'identify' should work on the stack of visible layers. There may be >1 layer in the stack that has a query link, so it might be reasonable to query them all, or it might be reasonable to just query the top-most layer that has a query link. I think to begin with, I will go with the top-most layer only, and as time or interest permits extend the behaviour per comments received here.

A more important question is: this is content that is potentially off another domain, with obvious security concerns. How should we address these concerns?

Another important question is: is there a better UI than a popup that could be implemented? Since we're trying to be cross-browser with this specification, I think we need to abstract the behaviour into a "conceptual" user interface that has potentially different takes on the popup/chrome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions