File tree Expand file tree Collapse file tree 12 files changed +67
-69
lines changed Expand file tree Collapse file tree 12 files changed +67
-69
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ var typeLinks = {
5454 "L.LayerGroup" : lfapi + '#layergroup' ,
5555 "L.TileLayer" : lfapi + '#tilelayer' ,
5656 "L.CircleMarker" : lfapi + '#circlemarker' ,
57+ "L.Circle" : lfapi + '#circle' ,
5758 "L.Path-option" : lfapi + '#path-option' ,
5859 "L.Rectangle" : lfapi + '#rectangle' ,
5960 'L.LatLngBounds' : lfapi + '#latlngbounds' ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export class GeometryBufferAnalystParameters extends BufferAnalystParameters {
2525 /**
2626 * @member {Object} SuperMap.GeometryBufferAnalystParameters.prototype.sourceGeometry
2727 * @description 要做缓冲区分析的几何对象。<br>
28- * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Point }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。</br>
28+ * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Marker}|{ @link L.CircleMarker}|{ @link L.Circle }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。</br>
2929 * 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。</br>
3030 * 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
3131 */
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {ServerGeometry} from './ServerGeometry';
1313 * 几何对象叠加分析参数类。对指定的某两个几何对象做叠加分析。通过该类可以指定要做叠加分析的几何对象、叠加操作类型。
1414 * @param {Object } options - 参数。
1515 * @param {Object } options.operateGeometry - 叠加分析的操作几何对象。 </br>
16- * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Point }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。</br>
16+ * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Marker}|{ @link L.CircleMarker}|{ @link L.Circle }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。</br>
1717 * 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link GeoJSONObject}。</br>
1818 * 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link GeoJSONObject}。
1919 * @param {Object } options.sourceGeometry - 叠加分析的源几何对象。
Original file line number Diff line number Diff line change @@ -91,7 +91,9 @@ export class GeoprocessingService extends CommonServiceBase {
9191 const timer = setInterval ( function ( ) {
9292 const serviceProcessCompleted = function ( serverResult ) {
9393 const state = serverResult . state . runState ;
94- options . statusCallback ? options . statusCallback ( state ) : null ;
94+ if ( options . statusCallback ) {
95+ options . statusCallback ( state ) ;
96+ }
9597 switch ( state ) {
9698 case 'FINISHED' :
9799 clearInterval ( timer ) ;
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export class GetFeaturesByBufferParameters extends GetFeaturesParametersBase {
4444 /**
4545 * @member {Object} SuperMap.GetFeaturesByBufferParameters.prototype.geometry
4646 * @description 空间查询条件。 <br>
47- * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Point }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。</br>
47+ * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Marker}|{ @link L.CircleMarker}|{ @link L.Circle }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。</br>
4848 * 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。</br>
4949 * 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
5050 */
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export class GetFeaturesByGeometryParameters extends GetFeaturesParametersBase {
3939 /**
4040 * @member {Object} SuperMap.GetFeaturesByGeometryParameters.prototype.geometry
4141 * @description 用于查询的几何对象。 </br>
42- * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Point }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。</br>
42+ * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Marker}|{ @link L.CircleMarker}|{ @link L.Circle }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。</br>
4343 * 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。</br>
4444 * 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
4545 */
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export class MeasureParameters {
2626 /**
2727 * @member {Object} SuperMap.MeasureParameters.prototype.geometry
2828 * @description 要量算的几何对象。<br>
29- * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Point }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。<br>
29+ * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Marker}|{ @link L.CircleMarker}|{ @link L.Circle }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。<br>
3030 * 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。<br>
3131 * 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
3232 */
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export class QueryByDistanceParameters extends QueryParameters {
4545 /**
4646 * @member SuperMap.QueryByDistanceParameters.prototype.geometry
4747 * @description 用于查询的地理对象。<br>
48- * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Point }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。<br>
48+ * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Marker}|{ @link L.CircleMarker}|{ @link L.Circle }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。<br>
4949 * 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。<br>
5050 * 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
5151 */
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export class QueryByGeometryParameters extends QueryParameters {
4848 /**
4949 * @member {Object} SuperMap.QueryByGeometryParameters.prototype.geometry
5050 * @description 用于查询的几何对象。<br>
51- * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Point }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。<br>
51+ * 点类型可以是:{@link SuperMap.Geometry.Point}|{@link L.Marker}|{ @link L.CircleMarker}|{ @link L.Circle }|{@link L.GeoJSON}|{@link ol.geom.Point}|{@link ol.format.GeoJSON}。<br>
5252 * 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。<br>
5353 * 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
5454 */
Original file line number Diff line number Diff line change @@ -419,6 +419,9 @@ export var ClientComputationView = ComponentsViewBase.extend({
419419
420420 //复选框事件
421421 let isSaveStatus = true ;
422+ //合并缓冲区
423+ //合并缓冲区,默认不选中,即为false
424+ let isUnion = false ;
422425 //选中select
423426 saveAttrsLabel . classList . add ( "selected" ) ;
424427 saveAttrsCheckbox . classList . add ( "checkbox-active" ) ;
@@ -444,9 +447,6 @@ export var ClientComputationView = ComponentsViewBase.extend({
444447 }
445448 }
446449 }
447- //合并缓冲区
448- //合并缓冲区,默认不选中,即为false
449- let isUnion = false ;
450450 isUnionContainer . onclick = ( ) => {
451451 if ( isUnion ) {
452452 //将选中状态 由选中->不选中,修改其样式和状态
You can’t perform that action at this time.
0 commit comments