|
@@ -3,7 +3,7 @@
|
|
|
* @Autor: lin
|
|
* @Autor: lin
|
|
|
* @Date: 2024-04-09 14:26:07
|
|
* @Date: 2024-04-09 14:26:07
|
|
|
* @LastEditors: lin
|
|
* @LastEditors: lin
|
|
|
- * @LastEditTime: 2024-04-24 13:50:35
|
|
|
|
|
|
|
+ * @LastEditTime: 2024-04-24 16:34:04
|
|
|
-->
|
|
-->
|
|
|
<template>
|
|
<template>
|
|
|
<div class="box">
|
|
<div class="box">
|
|
@@ -1130,8 +1130,9 @@ export default {
|
|
|
// var area = AMap.GeometryUtil.ringArea(lnglats[0])
|
|
// var area = AMap.GeometryUtil.ringArea(lnglats[0])
|
|
|
let PolygonObj = new AMap.Polygon({
|
|
let PolygonObj = new AMap.Polygon({
|
|
|
path: lnglats,
|
|
path: lnglats,
|
|
|
- fillOpacity: 0.3, // 面积越大透明度越高
|
|
|
|
|
- strokeColor: '#B5F2FF',
|
|
|
|
|
|
|
+ fillOpacity: 0.5, // 面积越大透明度越高
|
|
|
|
|
+ strokeWeight: 2,
|
|
|
|
|
+ strokeColor: '#fff',
|
|
|
fillColor: '#64AECE',
|
|
fillColor: '#64AECE',
|
|
|
extData: geojson,
|
|
extData: geojson,
|
|
|
zIndex: 90,
|
|
zIndex: 90,
|