|
|
@@ -16,6 +16,7 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import * as mars3d from "mars3d"
|
|
|
import Controls from './controls/control.vue'
|
|
|
export default {
|
|
|
name: 'MapTools',
|
|
|
@@ -39,7 +40,7 @@ export default {
|
|
|
mounted() {
|
|
|
this.$globalEventBus.$on('loadMap', () => {
|
|
|
console.info('我加入')
|
|
|
- this.distanceMeasure = new this.mars3d.thing.Measure({
|
|
|
+ this.distanceMeasure = new mars3d.thing.Measure({
|
|
|
label: {
|
|
|
color: '#ffffff',
|
|
|
font_family: '楷体',
|