bcgov / smk-legacy-ui

Legacy Admin UI for the SMK has been de-supported. Please see the CLI under https://github.com/bcgov/smk for an alternative.
Apache License 2.0
8 stars 3 forks source link

Improvements to `identify` and `query` tools #300

Open qqnluaq opened 4 years ago

qqnluaq commented 4 years ago

Make it possible for identify and query tools to reset automatically when their panel is closed.

When a feature is picked for identify and query, pan the map to center the map on the feature.

The size of the panel needs to be taken into account for determining how to center feature for panning and zooming.

This is a feature added for WFONE app, and the implementation is contained in https://github.com/qqnluaq/smk-client/tree/feature/wfone