摘要:
//画图形返回圖形的范围 var polygonLayer = new OpenLayers.Layer.Vector("选择范围"); var drawControls = new OpenLayers.Control.DrawFeature(polygonLayer,OpenLayers.Handler.Polygon, { featureAdded:function(){ drawControls.deactivate(); var a = new OpenLayers.Forma... 阅读全文