|
|
@@ -36,12 +36,6 @@ export default {
|
|
|
this.heat.setData(this.heatData);
|
|
|
}
|
|
|
},
|
|
|
- getData() {
|
|
|
- axios.get('http://dingdong.izouma.com/merchant/heatMap', {
|
|
|
- longitude: '118.734661',
|
|
|
- latitude: '31.981746',
|
|
|
- });
|
|
|
- },
|
|
|
initMap() {
|
|
|
//初始化地图
|
|
|
this.map = new TMap.Map('container', {
|
|
|
@@ -62,9 +56,9 @@ export default {
|
|
|
},
|
|
|
};
|
|
|
</script>
|
|
|
-<style lang='less' scoped>
|
|
|
+<style lang="less" scoped>
|
|
|
#container {
|
|
|
width: 100vw;
|
|
|
height: 100vh;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|