conf
This commit is contained in:
parent
c3ad6cbac9
commit
20546f91cb
File diff suppressed because one or more lines are too long
|
|
@ -337,7 +337,7 @@
|
|||
}
|
||||
});
|
||||
window.map.addControl(drawTool2);
|
||||
// this.boxMaskerLayer();
|
||||
this.boxMaskerLayer();
|
||||
this.pointMaskerLayer();
|
||||
});
|
||||
window.map.on('mapClickNode', event => {
|
||||
|
|
@ -417,9 +417,9 @@
|
|||
this.showPointMarkers();
|
||||
},
|
||||
showPointMarkers(){
|
||||
let tool = new jsmap.JSMapCoordTool(window.map);
|
||||
/*let tool = new jsmap.JSMapCoordTool(window.map);
|
||||
let coordinate = {x:114.63128751408715,y:38.81306617819082};
|
||||
let pixel = tool.mapToScreenCoordinate(coordinate);
|
||||
let pixel = tool.mapToScreenCoordinate(coordinate);*/
|
||||
let pointMarker = new jsmap.JSPointMarker({
|
||||
id:'point1',
|
||||
color: '#00FF00', //填充颜色
|
||||
|
|
@ -491,11 +491,11 @@
|
|||
}
|
||||
}
|
||||
debugger;
|
||||
/*if(this.markList[5]){
|
||||
if(this.markList[5]){
|
||||
this.boxMarkerLayer.show=true;
|
||||
}else{
|
||||
this.boxMarkerLayer.show=false;
|
||||
}*/
|
||||
}
|
||||
if(this.markList[2]){
|
||||
this.pointMarkerLayer.show=true;
|
||||
}else{
|
||||
|
|
|
|||
Loading…
Reference in New Issue