|
@@ -760,9 +760,8 @@ export default {
|
|
|
let params = {
|
|
|
cityId: this.$store.state.addr.selectCity.areaId,
|
|
|
countyId: this.$store.state.addr.selectDistrict.areaId,
|
|
|
- townId: this.$store.state.addr.selectStreet.areaId
|
|
|
+ // townId: this.$store.state.addr.selectStreet.areaId
|
|
|
};
|
|
|
- console.log(params);
|
|
|
smallClassMap(params).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
this.smallClassMapArr = res.rows;
|
|
@@ -1074,17 +1073,9 @@ export default {
|
|
|
content: treeSmallLabel //设置文本标注内容
|
|
|
});
|
|
|
that.treeCompMarkers.push(that.smallMarker);
|
|
|
- polygon.setOptions({
|
|
|
- fillOpacity: 0.7,
|
|
|
- fillColor: 'yellow'
|
|
|
- });
|
|
|
});
|
|
|
polygon.on('mouseout', () => {
|
|
|
that.map.remove(that.treeCompMarkers);
|
|
|
- polygon.setOptions({
|
|
|
- fillOpacity: 0,
|
|
|
- fillColor: '#ccebc5'
|
|
|
- });
|
|
|
});
|
|
|
}
|
|
|
}
|