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 = {
54
54
"L.LayerGroup" : lfapi + '#layergroup' ,
55
55
"L.TileLayer" : lfapi + '#tilelayer' ,
56
56
"L.CircleMarker" : lfapi + '#circlemarker' ,
57
+ "L.Circle" : lfapi + '#circle' ,
57
58
"L.Path-option" : lfapi + '#path-option' ,
58
59
"L.Rectangle" : lfapi + '#rectangle' ,
59
60
'L.LatLngBounds' : lfapi + '#latlngbounds' ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export class GeometryBufferAnalystParameters extends BufferAnalystParameters {
25
25
/**
26
26
* @member {Object} SuperMap.GeometryBufferAnalystParameters.prototype.sourceGeometry
27
27
* @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>
29
29
* 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。</br>
30
30
* 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
31
31
*/
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ import {ServerGeometry} from './ServerGeometry';
13
13
* 几何对象叠加分析参数类。对指定的某两个几何对象做叠加分析。通过该类可以指定要做叠加分析的几何对象、叠加操作类型。
14
14
* @param {Object } options - 参数。
15
15
* @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>
17
17
* 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link GeoJSONObject}。</br>
18
18
* 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link GeoJSONObject}。
19
19
* @param {Object } options.sourceGeometry - 叠加分析的源几何对象。
Original file line number Diff line number Diff line change @@ -91,7 +91,9 @@ export class GeoprocessingService extends CommonServiceBase {
91
91
const timer = setInterval ( function ( ) {
92
92
const serviceProcessCompleted = function ( serverResult ) {
93
93
const state = serverResult . state . runState ;
94
- options . statusCallback ? options . statusCallback ( state ) : null ;
94
+ if ( options . statusCallback ) {
95
+ options . statusCallback ( state ) ;
96
+ }
95
97
switch ( state ) {
96
98
case 'FINISHED' :
97
99
clearInterval ( timer ) ;
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ export class GetFeaturesByBufferParameters extends GetFeaturesParametersBase {
44
44
/**
45
45
* @member {Object} SuperMap.GetFeaturesByBufferParameters.prototype.geometry
46
46
* @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>
48
48
* 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。</br>
49
49
* 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
50
50
*/
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export class GetFeaturesByGeometryParameters extends GetFeaturesParametersBase {
39
39
/**
40
40
* @member {Object} SuperMap.GetFeaturesByGeometryParameters.prototype.geometry
41
41
* @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>
43
43
* 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。</br>
44
44
* 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
45
45
*/
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export class MeasureParameters {
26
26
/**
27
27
* @member {Object} SuperMap.MeasureParameters.prototype.geometry
28
28
* @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>
30
30
* 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。<br>
31
31
* 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
32
32
*/
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ export class QueryByDistanceParameters extends QueryParameters {
45
45
/**
46
46
* @member SuperMap.QueryByDistanceParameters.prototype.geometry
47
47
* @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>
49
49
* 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。<br>
50
50
* 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
51
51
*/
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ export class QueryByGeometryParameters extends QueryParameters {
48
48
/**
49
49
* @member {Object} SuperMap.QueryByGeometryParameters.prototype.geometry
50
50
* @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>
52
52
* 线类型可以是:{@link SuperMap.Geometry.LineString}|{@link SuperMap.Geometry.LinearRing}|{@link L.Polyline}|{@link L.GeoJSON}|{@link ol.geom.LineString}|{@link ol.format.GeoJSON}。<br>
53
53
* 面类型可以是:{@link SuperMap.Geometry.Polygon}|{@link L.Polygon}|{@link L.GeoJSON}|{@link ol.geom.Polygon}|{@link ol.format.GeoJSON}。
54
54
*/
Original file line number Diff line number Diff line change @@ -419,6 +419,9 @@ export var ClientComputationView = ComponentsViewBase.extend({
419
419
420
420
//复选框事件
421
421
let isSaveStatus = true ;
422
+ //合并缓冲区
423
+ //合并缓冲区,默认不选中,即为false
424
+ let isUnion = false ;
422
425
//选中select
423
426
saveAttrsLabel . classList . add ( "selected" ) ;
424
427
saveAttrsCheckbox . classList . add ( "checkbox-active" ) ;
@@ -444,9 +447,6 @@ export var ClientComputationView = ComponentsViewBase.extend({
444
447
}
445
448
}
446
449
}
447
- //合并缓冲区
448
- //合并缓冲区,默认不选中,即为false
449
- let isUnion = false ;
450
450
isUnionContainer . onclick = ( ) => {
451
451
if ( isUnion ) {
452
452
//将选中状态 由选中->不选中,修改其样式和状态
You can’t perform that action at this time.
0 commit comments