parent
6ad7c560fc
commit
585bf9ce29
|
@ -35,9 +35,9 @@
|
||||||
:initial-points="points"
|
:initial-points="points"
|
||||||
:options="{
|
:options="{
|
||||||
// minOpacity: null,
|
// minOpacity: null,
|
||||||
// maxZoom: null,
|
maxZoom: 16,
|
||||||
radius: 15,
|
radius: 50,
|
||||||
blur: 10,
|
blur: 30,
|
||||||
gradient: { 0.4: 'blue', 0.65: 'lime', 1: 'red' },
|
gradient: { 0.4: 'blue', 0.65: 'lime', 1: 'red' },
|
||||||
}" />
|
}" />
|
||||||
</LMap>
|
</LMap>
|
||||||
|
@ -283,7 +283,7 @@ export default defineComponent({
|
||||||
// Params have changed, quit
|
// Params have changed, quit
|
||||||
const res = await axios.get(url);
|
const res = await axios.get(url);
|
||||||
this.points = res.data.map((c) => {
|
this.points = res.data.map((c) => {
|
||||||
return [c.center[0], c.center[1], c.count]
|
return [c.center[0], c.center[1], 1]
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue