32 lines
490 B
Vue
32 lines
490 B
Vue
<template>
|
|
</template>
|
|
|
|
<script lang="js">
|
|
import {aiLayer} from '../phi/AILayer'
|
|
|
|
export default {
|
|
/* eslint-disable */
|
|
name: 'ai-layer',
|
|
props: [],
|
|
mounted () {
|
|
this.aiLayer = aiLayer({url: this.$store.state.Settings.settings.phi_url})
|
|
if(this.aiLayer) {
|
|
this.aiLayer.addTo(this.$parent.mapObject)
|
|
}
|
|
},
|
|
data () {
|
|
return {
|
|
}
|
|
},
|
|
methods: {
|
|
|
|
},
|
|
computed: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style scoped lang="scss">
|
|
</style>
|