Mercurial > gemma
diff client/src/application/Topbar.vue @ 770:c12ec7fde3f2
client: add simple identify top area box
* Add Identify.vue as a top area box that display the currently identified
features in a short text-only way. This can be styled further, also
the box is not yet resized dynamically. Put in to subdir layers because
it is closest to Layers.vue, which was used as a template.
* Introduce a new mapstore/identifiedFeatures state.
author | Bernhard Reiter <bernhard@intevation.de> |
---|---|
date | Wed, 26 Sep 2018 09:13:29 +0200 |
parents | badbc0207418 |
children | 22c3acea700d |
line wrap: on
line diff
--- a/client/src/application/Topbar.vue Tue Sep 25 21:51:53 2018 +0200 +++ b/client/src/application/Topbar.vue Wed Sep 26 09:13:29 2018 +0200 @@ -17,6 +17,9 @@ <div class=""> <Layers v-if="routeName == 'mainview'"></Layers> </div> + <div class=""> + <Identify v-if="routeName == 'mainview'"></Identify> + </div> </div> </template> @@ -84,10 +87,12 @@ <script> import Layers from "../layers/Layers"; +import Identify from "../layers/Identify"; export default { name: "topbar", components: { + Identify: Identify, Layers: Layers }, data() {