src/components/map/main.vue
@@ -125,6 +125,12 @@ // }) // }) var projection = getProjection("EPSG:4326"); var projectionExtent = projection.getExtent(); var size = getWidth(projectionExtent) / 256; @@ -174,6 +180,12 @@ }) }) this.parentParameter(); @@ -327,7 +339,7 @@ }, parentParameter () { this.$emit('childParameter', this.ol2d) this.$emit('childParameter', this.ol2d) } } }