-
+
@@ -23,18 +34,19 @@
-
+
-
+
diff --git a/src/modules/infobox/components/FeatureElevationProfile.vue b/src/modules/infobox/components/FeatureElevationProfile.vue
index 52e24fd40..2c7e16068 100644
--- a/src/modules/infobox/components/FeatureElevationProfile.vue
+++ b/src/modules/infobox/components/FeatureElevationProfile.vue
@@ -89,7 +89,7 @@ export default {
methods: {
...mapActions(['deleteDrawingFeature']),
onDelete() {
- const id = this.feature.id.replace('drawing_feature_', '')
+ const id = this.feature.id
this.deleteDrawingFeature(id)
},
onCSVDownload() {
diff --git a/src/modules/infobox/components/FeatureElevationProfilePlot.vue b/src/modules/infobox/components/FeatureElevationProfilePlot.vue
index 87a05c0c5..5cc77f045 100644
--- a/src/modules/infobox/components/FeatureElevationProfilePlot.vue
+++ b/src/modules/infobox/components/FeatureElevationProfilePlot.vue
@@ -137,6 +137,11 @@ export default {
this.$nextTick(this.updateElevationProfilePlot)
},
updateElevationProfilePlot() {
+ if (!this.$refs.profilePlot) {
+ // The $refs.profilePlot might be null because this method is
+ // executed within a Promise on the onResize() method.
+ return
+ }
const { domainX, domainY, axisX, axisY } = updateD3ProfileChart(
this.$refs.profilePlot,
this.elevationProfile,
diff --git a/src/modules/infobox/components/FeatureList.vue b/src/modules/infobox/components/FeatureList.vue
index 0acb32064..4410e5a34 100644
--- a/src/modules/infobox/components/FeatureList.vue
+++ b/src/modules/infobox/components/FeatureList.vue
@@ -93,9 +93,7 @@ export default {
margin-bottom: 7px;
font-weight: 700;
}
-.htmlpopup-content table {
- width: 100%;
- border: 0;
- margin: 0 7px;
+.htmlpopup-content {
+ padding: 7px;
}
diff --git a/src/modules/infobox/components/styling/DrawingStyleIconSelector.vue b/src/modules/infobox/components/styling/DrawingStyleIconSelector.vue
index cb4ea5909..12c6447cc 100644
--- a/src/modules/infobox/components/styling/DrawingStyleIconSelector.vue
+++ b/src/modules/infobox/components/styling/DrawingStyleIconSelector.vue
@@ -125,7 +125,7 @@ export default {
* Generate an icon URL with medium size (so that the size doesn't change in the icon
* selector, even when the user selects a different size for the icon the map)
*
- * @param {Icon} icon
+ * @param {DrawingIcon} icon
* @returns {String} An icon URL
*/
generateColorizedURL(icon) {
diff --git a/src/modules/infobox/components/styling/FeatureStyleEdit.vue b/src/modules/infobox/components/styling/FeatureStyleEdit.vue
index b258032ba..c622ce6fa 100644
--- a/src/modules/infobox/components/styling/FeatureStyleEdit.vue
+++ b/src/modules/infobox/components/styling/FeatureStyleEdit.vue
@@ -32,6 +32,7 @@
@import 'src/scss/variables';
-.feature-style-edit-control button,
-div {
+.control-button {
margin-right: $button-spacer;
}
diff --git a/src/modules/map/MapModule.vue b/src/modules/map/MapModule.vue
index 266e30fd6..44f8df2ec 100644
--- a/src/modules/map/MapModule.vue
+++ b/src/modules/map/MapModule.vue
@@ -5,15 +5,17 @@
+
diff --git a/src/modules/map/components/LocationPopup.vue b/src/modules/map/components/LocationPopup.vue
index c559f2800..4955b7932 100644
--- a/src/modules/map/components/LocationPopup.vue
+++ b/src/modules/map/components/LocationPopup.vue
@@ -2,85 +2,88 @@