Skip to content

Commit

Permalink
Add hint to ClusterPopupWidget
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasstein committed Feb 26, 2021
1 parent 6c8d6a9 commit d0132f9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@
-->
<template>
<v-container pa-0>
<v-alert
:value="true"
type="info"
>
{{ i18n.hint }}
</v-alert>
<v-list>
<v-list-tile
v-for="info in clusterInfos"
Expand Down
11 changes: 11 additions & 0 deletions src/main/js/bundles/dn_clusterfeaturelayer/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,17 @@
color: #6e6e6e;
}

.ctAppRoot .esri-popup__main-container .clusterPopupWidget .v-alert.info {
background-color: #2196f3 !important;
height: 40px;
border: none;
margin: 0;
}

.ctAppRoot .esri-popup__main-container .clusterPopupWidget .v-alert.info .v-alert__icon {
color: #fff;
}

.ctAppRoot .esri-popup__main-container .clusterPopupWidget .v-list .v-list__tile {
padding: 0;
}
3 changes: 2 additions & 1 deletion src/main/js/bundles/dn_clusterfeaturelayer/nls/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ module.exports = {
bundleName: "ClusterFeatureLayer and Spiderfying",
bundleDescription: "This bundle draws a Cluster Feature Layer and activates a Spiderfying.",
ui: {
features: "Features"
features: "Features",
hint: "Zooming in on individual symbols for detailed information."
}
},
de: true
Expand Down
3 changes: 2 additions & 1 deletion src/main/js/bundles/dn_clusterfeaturelayer/nls/de/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
bundleName: "ClusterFeatureLayer und Spiderfying",
bundleDescription: "Dieses Bundle erzeugt einen Cluster Feature Layer und aktiviert ein Spiderfying",
ui: {
features: "Objekte"
features: "Objekte",
hint: "Zoomen auf Einzelsymbole für Detailinformationen."
}
};

0 comments on commit d0132f9

Please sign in to comment.