|
@ -317,7 +317,7 @@ function Map(props) { |
|
|
|
|
|
|
|
|
let infowindow = new AMap.InfoWindow({ |
|
|
let infowindow = new AMap.InfoWindow({ |
|
|
isCustom: true, //使用自定义窗体
|
|
|
isCustom: true, //使用自定义窗体
|
|
|
content: `<div id="map-content" class="gis-infowindow gis-infowindow-alarm">
|
|
|
content: `<div id="map-content" class="gis-infowindow cummuntity-gis-infowindow-alarm">
|
|
|
<div style="height:${360}px;" id="alarmcontentid${x.name}"></div></div>`, |
|
|
<div style="height:${360}px;" id="alarmcontentid${x.name}"></div></div>`, |
|
|
offset: new AMap.Pixel(233, 260) |
|
|
offset: new AMap.Pixel(233, 260) |
|
|
}); |
|
|
}); |
|
|