diff --git a/assets/css/maptalks-control.css b/assets/css/maptalks-control.css index 98d20e72d3..1689ca38b2 100644 --- a/assets/css/maptalks-control.css +++ b/assets/css/maptalks-control.css @@ -38,7 +38,7 @@ .maptalks-msgBox { background: #fff; border: 1px solid #b4b3b3; border-radius: 3px; /*box-shadow: 3px 5px 5px #dbdada;*/} .maptalks-msgBox em.maptalks-ico { display: block; width: 17px; height: 10px; background: url(images/control/5_1.png) no-repeat; position: absolute; left: 50%; margin-left: -5px; bottom: -10px;} -.maptalks-msgBox h2 { display: block; height: 30px; line-height: 30px; font-weight: bold; font-size: 14px; padding: 0 10px; margin: 0;} +.maptalks-msgBox h2 { display: block; height: auto; line-height: 30px; font-weight: bold; font-size: 14px; padding: 0 10px; margin: 0; white-space: nowrap;padding-right: 30px;} .maptalks-msgBox a.maptalks-close { display: block; width: 13px; height: 13px; background: url(images/control/infownd-close.png) no-repeat; position: absolute; top: 8px; right: 10px;} .maptalks-msgBox a.maptalks-close:hover { background: url(images/control/infownd-close-hover.png) no-repeat;} .maptalks-msgBox .maptalks-msgContent { font-size: 12px;padding: 10px; min-width: 200px;} diff --git a/docs/api/1.x/Ajax.html b/docs/api/1.x/Ajax.html index aba2482622..01db61cdb5 100644 --- a/docs/api/1.x/Ajax.html +++ b/docs/api/1.x/Ajax.html @@ -1416,13 +1416,13 @@
Properties

diff --git a/docs/api/1.x/ArcConnectorLine.html b/docs/api/1.x/ArcConnectorLine.html index 8817629147..ae4fe9c34f 100644 --- a/docs/api/1.x/ArcConnectorLine.html +++ b/docs/api/1.x/ArcConnectorLine.html @@ -7267,11 +7267,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7350,11 +7350,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7433,11 +7433,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7516,11 +7516,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7599,11 +7599,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -17997,11 +17997,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18164,7 +18164,7 @@
Properties:
Source:
@@ -18206,11 +18206,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18373,7 +18373,7 @@
Properties:
Source:
@@ -18415,11 +18415,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18582,7 +18582,7 @@
Properties:
Source:
@@ -18624,11 +18624,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -18791,7 +18791,7 @@
Properties:
Source:
@@ -18833,11 +18833,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -19000,7 +19000,7 @@
Properties:
Source:
@@ -21432,11 +21432,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -21624,7 +21624,7 @@
Properties:
Source:
@@ -22295,13 +22295,13 @@
Properties:

diff --git a/docs/api/1.x/ArcCurve.html b/docs/api/1.x/ArcCurve.html index 639ad84b73..de527ab4c2 100644 --- a/docs/api/1.x/ArcCurve.html +++ b/docs/api/1.x/ArcCurve.html @@ -7397,11 +7397,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7485,11 +7485,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7573,11 +7573,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7661,11 +7661,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7749,11 +7749,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -18412,11 +18412,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18584,7 +18584,7 @@
Properties:
Source:
@@ -18626,11 +18626,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18798,7 +18798,7 @@
Properties:
Source:
@@ -18840,11 +18840,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -19012,7 +19012,7 @@
Properties:
Source:
@@ -19054,11 +19054,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -19226,7 +19226,7 @@
Properties:
Source:
@@ -19268,11 +19268,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -19440,7 +19440,7 @@
Properties:
Source:
@@ -21922,11 +21922,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -22119,7 +22119,7 @@
Properties:
Source:
@@ -22805,13 +22805,13 @@
Properties:

diff --git a/docs/api/1.x/AreaTool.html b/docs/api/1.x/AreaTool.html index 49ffe160a3..2670283556 100644 --- a/docs/api/1.x/AreaTool.html +++ b/docs/api/1.x/AreaTool.html @@ -2100,11 +2100,11 @@
Returns:

(inherited) endDraw(paramopt) - [source] + [source]

@@ -4731,11 +4731,11 @@

Events

(inherited) drawvertex - [source] + [source]

@@ -5023,7 +5023,7 @@
Properties:
Source:
@@ -5065,11 +5065,11 @@
Properties:

(inherited) drawstart - [source] + [source]

@@ -5332,7 +5332,7 @@
Properties:
Source:
@@ -5374,11 +5374,11 @@
Properties:

(inherited) mousemove - [source] + [source]

@@ -5666,7 +5666,7 @@
Properties:
Source:
@@ -5708,11 +5708,11 @@
Properties:

(inherited) drawend - [source] + [source]

@@ -6000,7 +6000,7 @@
Properties:
Source:
@@ -6880,13 +6880,13 @@
Properties:

diff --git a/docs/api/1.x/CRS.html b/docs/api/1.x/CRS.html index 777d937ede..94e1c5a49c 100644 --- a/docs/api/1.x/CRS.html +++ b/docs/api/1.x/CRS.html @@ -740,13 +740,13 @@
Returns:

diff --git a/docs/api/1.x/CanvasLayer.html b/docs/api/1.x/CanvasLayer.html index 0341e8e4de..d30a002214 100644 --- a/docs/api/1.x/CanvasLayer.html +++ b/docs/api/1.x/CanvasLayer.html @@ -8987,11 +8987,11 @@
Properties:

(inherited) resourceload - [source] + [source]

@@ -9159,7 +9159,7 @@
Properties:
Source:
@@ -9201,11 +9201,11 @@
Properties:

(inherited) canvascreate - [source] + [source]

@@ -9423,7 +9423,7 @@
Properties:
Source:
@@ -9465,11 +9465,11 @@
Properties:

(inherited) renderstart - [source] + [source]

@@ -9662,7 +9662,7 @@
Properties:
Source:
@@ -9704,11 +9704,11 @@
Properties:

(inherited) renderend - [source] + [source]

@@ -9901,7 +9901,7 @@
Properties:
Source:
@@ -9945,13 +9945,13 @@
Properties:

diff --git a/docs/api/1.x/CenterMixin.html b/docs/api/1.x/CenterMixin.html index 1452f1388e..6816961a61 100644 --- a/docs/api/1.x/CenterMixin.html +++ b/docs/api/1.x/CenterMixin.html @@ -347,13 +347,13 @@
Returns:

diff --git a/docs/api/1.x/Circle.html b/docs/api/1.x/Circle.html index 3d61edfdc8..02a5e2f5a5 100644 --- a/docs/api/1.x/Circle.html +++ b/docs/api/1.x/Circle.html @@ -7893,11 +7893,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7976,11 +7976,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -8059,11 +8059,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -8142,11 +8142,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -8225,11 +8225,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -18623,11 +18623,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18790,7 +18790,7 @@
Properties:
Source:
@@ -18832,11 +18832,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18999,7 +18999,7 @@
Properties:
Source:
@@ -19041,11 +19041,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -19208,7 +19208,7 @@
Properties:
Source:
@@ -19250,11 +19250,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -19417,7 +19417,7 @@
Properties:
Source:
@@ -19459,11 +19459,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -19626,7 +19626,7 @@
Properties:
Source:
@@ -22058,11 +22058,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -22250,7 +22250,7 @@
Properties:
Source:
@@ -22921,13 +22921,13 @@
Properties:

diff --git a/docs/api/1.x/Class.html b/docs/api/1.x/Class.html index 6372ef39a7..773396001b 100644 --- a/docs/api/1.x/Class.html +++ b/docs/api/1.x/Class.html @@ -1079,13 +1079,13 @@

-

V1.0.0-rc.14

Classes

Map
Layer
Geometry
Basic types
Maptool
Ui
Control
Core
Animation
Geo
Handler
Other

Namespaces

Mixins

Global

+

V1.0.0-rc.15

Classes

Map
Layer
Geometry
Basic types
Maptool
Ui
Control
Core
Animation
Geo
Handler
Other

Namespaces

Mixins

Global


diff --git a/docs/api/1.x/CollisionIndex.html b/docs/api/1.x/CollisionIndex.html index e1058151e1..4a7c31ed24 100644 --- a/docs/api/1.x/CollisionIndex.html +++ b/docs/api/1.x/CollisionIndex.html @@ -647,13 +647,13 @@
Returns:

diff --git a/docs/api/1.x/ConnectorLine.html b/docs/api/1.x/ConnectorLine.html index 77537ceddf..8ea333a859 100644 --- a/docs/api/1.x/ConnectorLine.html +++ b/docs/api/1.x/ConnectorLine.html @@ -7207,11 +7207,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7290,11 +7290,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7373,11 +7373,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7456,11 +7456,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7539,11 +7539,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -17937,11 +17937,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18104,7 +18104,7 @@
Properties:
Source:
@@ -18146,11 +18146,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18313,7 +18313,7 @@
Properties:
Source:
@@ -18355,11 +18355,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18522,7 +18522,7 @@
Properties:
Source:
@@ -18564,11 +18564,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -18731,7 +18731,7 @@
Properties:
Source:
@@ -18773,11 +18773,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -18940,7 +18940,7 @@
Properties:
Source:
@@ -21372,11 +21372,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -21564,7 +21564,7 @@
Properties:
Source:
@@ -22235,13 +22235,13 @@
Properties:

diff --git a/docs/api/1.x/Coordinate.html b/docs/api/1.x/Coordinate.html index ba150036c5..58e4d62291 100644 --- a/docs/api/1.x/Coordinate.html +++ b/docs/api/1.x/Coordinate.html @@ -2889,13 +2889,13 @@
Returns:

diff --git a/docs/api/1.x/CubicBezierCurve.html b/docs/api/1.x/CubicBezierCurve.html index cb3f34bac5..7748779a7b 100644 --- a/docs/api/1.x/CubicBezierCurve.html +++ b/docs/api/1.x/CubicBezierCurve.html @@ -7379,11 +7379,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7467,11 +7467,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7555,11 +7555,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7643,11 +7643,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7731,11 +7731,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -18394,11 +18394,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18566,7 +18566,7 @@
Properties:
Source:
@@ -18608,11 +18608,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18780,7 +18780,7 @@
Properties:
Source:
@@ -18822,11 +18822,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18994,7 +18994,7 @@
Properties:
Source:
@@ -19036,11 +19036,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -19208,7 +19208,7 @@
Properties:
Source:
@@ -19250,11 +19250,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -19422,7 +19422,7 @@
Properties:
Source:
@@ -21904,11 +21904,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -22101,7 +22101,7 @@
Properties:
Source:
@@ -22787,13 +22787,13 @@
Properties:

diff --git a/docs/api/1.x/Curve.html b/docs/api/1.x/Curve.html index 7d31d5a4ee..4c80193509 100644 --- a/docs/api/1.x/Curve.html +++ b/docs/api/1.x/Curve.html @@ -7614,11 +7614,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7702,11 +7702,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7790,11 +7790,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7878,11 +7878,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7966,11 +7966,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -18629,11 +18629,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18801,7 +18801,7 @@
Properties:
Source:
@@ -18843,11 +18843,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -19015,7 +19015,7 @@
Properties:
Source:
@@ -19057,11 +19057,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -19229,7 +19229,7 @@
Properties:
Source:
@@ -19271,11 +19271,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -19443,7 +19443,7 @@
Properties:
Source:
@@ -19485,11 +19485,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -19657,7 +19657,7 @@
Properties:
Source:
@@ -22139,11 +22139,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -22336,7 +22336,7 @@
Properties:
Source:
@@ -23022,13 +23022,13 @@
Properties:

diff --git a/docs/api/1.x/DistanceTool.html b/docs/api/1.x/DistanceTool.html index 586c83af4d..62513fe167 100644 --- a/docs/api/1.x/DistanceTool.html +++ b/docs/api/1.x/DistanceTool.html @@ -2100,11 +2100,11 @@
Returns:

(inherited) endDraw(paramopt) - [source] + [source]

@@ -4731,11 +4731,11 @@

Events

(inherited) drawvertex - [source] + [source]

@@ -5023,7 +5023,7 @@
Properties:
Source:
@@ -5065,11 +5065,11 @@
Properties:

(inherited) drawstart - [source] + [source]

@@ -5332,7 +5332,7 @@
Properties:
Source:
@@ -5374,11 +5374,11 @@
Properties:

(inherited) mousemove - [source] + [source]

@@ -5666,7 +5666,7 @@
Properties:
Source:
@@ -5708,11 +5708,11 @@
Properties:

(inherited) drawend - [source] + [source]

@@ -6000,7 +6000,7 @@
Properties:
Source:
@@ -6880,13 +6880,13 @@
Properties:

diff --git a/docs/api/1.x/DomUtil.html b/docs/api/1.x/DomUtil.html index afc7852f4e..f543cb4472 100644 --- a/docs/api/1.x/DomUtil.html +++ b/docs/api/1.x/DomUtil.html @@ -3149,13 +3149,13 @@

(static
- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/DragHandler.html b/docs/api/1.x/DragHandler.html index 3a6b8e7be0..377cb8d208 100644 --- a/docs/api/1.x/DragHandler.html +++ b/docs/api/1.x/DragHandler.html @@ -444,13 +444,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/DrawTool.html b/docs/api/1.x/DrawTool.html index 0771331b1c..b3f135f55e 100644 --- a/docs/api/1.x/DrawTool.html +++ b/docs/api/1.x/DrawTool.html @@ -281,23 +281,14 @@

new - In default, DrawTool supports the following modes:
-[Point, LineString, Polygon, Circle, Ellipse, Rectangle, ArcCurve, QuadBezierCurve, CubicBezierCurve]
-You can easily add new mode to DrawTool by calling
registerMode + In default, DrawTool supports the following modes:
[Point, LineString, Polygon, Circle, Ellipse, Rectangle, ArcCurve, QuadBezierCurve, CubicBezierCurve]
You can easily add new mode to DrawTool by calling registerMode -
var drawTool = new DrawTool({
-    mode : 'Polygon',
-    symbol : {
-        'lineColor' : '#000',
-        'lineWidth' : 5
-    },
-    once : true
-}).addTo(map);
+
var drawTool = new DrawTool({
    mode : 'Polygon',
    symbol : {
        'lineColor' : '#000',
        'lineWidth' : 5
    },
    once : true
}).addTo(map);
@@ -1014,15 +1005,14 @@

(static) Example:

--> -
//Register "CubicBezierCurve" mode to draw Cubic Bezier Curves.
-DrawTool.registerMode('CubicBezierCurve', {
-        'action': 'clickDblclick',
-        'create': path => new CubicBezierCurve(path),
-        'update': (path, geometry) => {
-            geometry.setCoordinates(path);
-        },
-        'generate': geometry => geometry
-       }
+        
//Register "CubicBezierCurve" mode to draw Cubic Bezier Curves.
DrawTool.registerMode('CubicBezierCurve', {
+        'action': 'clickDblclick',
+        'create': path => new CubicBezierCurve(path),
+        'update': (path, geometry) => {
+            geometry.setCoordinates(path);
+        },
+        'generate': geometry => geometry
+       }
      });
@@ -2052,11 +2042,11 @@
Returns:

endDraw(paramopt) - [source] + [source]

@@ -4683,11 +4673,11 @@

Events

drawvertex - [source] + [source]

@@ -4970,7 +4960,7 @@
Properties:
Source:
@@ -5012,11 +5002,11 @@
Properties:

drawstart - [source] + [source]

@@ -5274,7 +5264,7 @@
Properties:
Source:
@@ -5316,11 +5306,11 @@
Properties:

mousemove - [source] + [source]

@@ -5603,7 +5593,7 @@
Properties:
Source:
@@ -5645,11 +5635,11 @@
Properties:

drawend - [source] + [source]

@@ -5932,7 +5922,7 @@
Properties:
Source:
@@ -6812,13 +6802,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Ellipse.html b/docs/api/1.x/Ellipse.html index 135f7eb146..105c2c5a06 100644 --- a/docs/api/1.x/Ellipse.html +++ b/docs/api/1.x/Ellipse.html @@ -8160,11 +8160,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -8243,11 +8243,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -8326,11 +8326,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -8409,11 +8409,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -8492,11 +8492,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -18890,11 +18890,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -19057,7 +19057,7 @@
Properties:
Source:
@@ -19099,11 +19099,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -19266,7 +19266,7 @@
Properties:
Source:
@@ -19308,11 +19308,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -19475,7 +19475,7 @@
Properties:
Source:
@@ -19517,11 +19517,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -19684,7 +19684,7 @@
Properties:
Source:
@@ -19726,11 +19726,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -19893,7 +19893,7 @@
Properties:
Source:
@@ -22325,11 +22325,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -22517,7 +22517,7 @@
Properties:
Source:
@@ -23188,13 +23188,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Eventable.html b/docs/api/1.x/Eventable.html index 3ca6b28d55..ffb5fe04e8 100644 --- a/docs/api/1.x/Eventable.html +++ b/docs/api/1.x/Eventable.html @@ -1694,13 +1694,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Extent.html b/docs/api/1.x/Extent.html index 165f7ccea5..f4b3dc1488 100644 --- a/docs/api/1.x/Extent.html +++ b/docs/api/1.x/Extent.html @@ -3247,13 +3247,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/GeoJSON.html b/docs/api/1.x/GeoJSON.html index 1c3caa1c27..78bab7c26d 100644 --- a/docs/api/1.x/GeoJSON.html +++ b/docs/api/1.x/GeoJSON.html @@ -352,13 +352,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Geometry.html b/docs/api/1.x/Geometry.html index d2d5b8ba6c..a6da192654 100644 --- a/docs/api/1.x/Geometry.html +++ b/docs/api/1.x/Geometry.html @@ -6414,11 +6414,11 @@
Returns:

endEdit() - [source] + [source]

@@ -6497,11 +6497,11 @@
Returns:

redoEdit() - [source] + [source]

@@ -6580,11 +6580,11 @@
Returns:

undoEdit() - [source] + [source]

@@ -6663,11 +6663,11 @@
Returns:

cancelEdit() - [source] + [source]

@@ -6746,11 +6746,11 @@
Returns:

isEditing() - [source] + [source]

@@ -19754,11 +19754,11 @@
Properties:

editstart - [source] + [source]

@@ -19916,7 +19916,7 @@
Properties:
Source:
@@ -19958,11 +19958,11 @@
Properties:

editend - [source] + [source]

@@ -20120,7 +20120,7 @@
Properties:
Source:
@@ -20162,11 +20162,11 @@
Properties:

redoedit - [source] + [source]

@@ -20324,7 +20324,7 @@
Properties:
Source:
@@ -20366,11 +20366,11 @@
Properties:

undoedit - [source] + [source]

@@ -20528,7 +20528,7 @@
Properties:
Source:
@@ -20570,11 +20570,11 @@
Properties:

canceledit - [source] + [source]

@@ -20732,7 +20732,7 @@
Properties:
Source:
@@ -23114,11 +23114,11 @@
Properties:

add - [source] + [source]

@@ -23301,7 +23301,7 @@
Properties:
Source:
@@ -23957,13 +23957,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/GeometryCollection.html b/docs/api/1.x/GeometryCollection.html index 7ffbb5e771..f96a25c8ac 100644 --- a/docs/api/1.x/GeometryCollection.html +++ b/docs/api/1.x/GeometryCollection.html @@ -6857,11 +6857,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -6940,11 +6940,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7023,11 +7023,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7106,11 +7106,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7189,11 +7189,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -17587,11 +17587,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -17754,7 +17754,7 @@
Properties:
Source:
@@ -17796,11 +17796,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -17963,7 +17963,7 @@
Properties:
Source:
@@ -18005,11 +18005,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18172,7 +18172,7 @@
Properties:
Source:
@@ -18214,11 +18214,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -18381,7 +18381,7 @@
Properties:
Source:
@@ -18423,11 +18423,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -18590,7 +18590,7 @@
Properties:
Source:
@@ -21022,11 +21022,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -21214,7 +21214,7 @@
Properties:
Source:
@@ -21885,13 +21885,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/GeometryEditor.html b/docs/api/1.x/GeometryEditor.html index 6cddf52cfd..1c21346baa 100644 --- a/docs/api/1.x/GeometryEditor.html +++ b/docs/api/1.x/GeometryEditor.html @@ -4639,13 +4639,13 @@


- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/GroupTileLayer.html b/docs/api/1.x/GroupTileLayer.html index 6612c4fc2c..d102a611b5 100644 --- a/docs/api/1.x/GroupTileLayer.html +++ b/docs/api/1.x/GroupTileLayer.html @@ -685,7 +685,7 @@

Members

(constant) options @@ -2267,7 +2267,7 @@

Properties
Source:
@@ -2900,11 +2900,11 @@
Returns:

(inherited) getTileSize() - [source] + [source]

@@ -2979,11 +2979,11 @@
Returns:

(inherited) _getScreenSpaceError() - [source] + [source]

@@ -2997,9 +2997,7 @@

<
- Compute tile's SSE -from Cesium -与cesium不同的是,我们用boundingVolume顶面的四个顶点中的最小值作为distanceToCamera + Compute tile's SSE from Cesium 与cesium不同的是,我们用boundingVolume顶面的四个顶点中的最小值作为distanceToCamera
@@ -3053,11 +3051,11 @@

<

(inherited) _getCascadeTiles(z) - [source] + [source]

@@ -3181,11 +3179,11 @@
Returns:

(inherited) getTileUrl(x, y, z) - [source] + [source]

@@ -3355,11 +3353,11 @@
Returns:

(inherited) clear() - [source] + [source]

@@ -3438,11 +3436,11 @@
Returns:

(inherited) getSpatialReference() - [source] + [source]

@@ -8500,11 +8498,11 @@

Events

(inherited) clear - [source] + [source]

@@ -8667,7 +8665,7 @@
Properties:
Source:
@@ -9202,11 +9200,11 @@
Properties:

(inherited) resourceload - [source] + [source]

@@ -9369,7 +9367,7 @@
Properties:
Source:
@@ -9411,11 +9409,11 @@
Properties:

(inherited) canvascreate - [source] + [source]

@@ -9628,7 +9626,7 @@
Properties:
Source:
@@ -9670,11 +9668,11 @@
Properties:

(inherited) renderstart - [source] + [source]

@@ -9862,7 +9860,7 @@
Properties:
Source:
@@ -9904,11 +9902,11 @@
Properties:

(inherited) renderend - [source] + [source]

@@ -10096,7 +10094,7 @@
Properties:
Source:
@@ -10140,13 +10138,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Handler.html b/docs/api/1.x/Handler.html index f3628ae1b2..4b2e382409 100644 --- a/docs/api/1.x/Handler.html +++ b/docs/api/1.x/Handler.html @@ -423,13 +423,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Handlerable.html b/docs/api/1.x/Handlerable.html index dbbb4272ef..4d23591ea6 100644 --- a/docs/api/1.x/Handlerable.html +++ b/docs/api/1.x/Handlerable.html @@ -95,13 +95,13 @@

Handlerable


- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/ImageLayer.html b/docs/api/1.x/ImageLayer.html index fb10f46fba..2cb28102a0 100644 --- a/docs/api/1.x/ImageLayer.html +++ b/docs/api/1.x/ImageLayer.html @@ -7054,11 +7054,11 @@
Properties:

(inherited) resourceload - [source] + [source]

@@ -7221,7 +7221,7 @@
Properties:
Source:
@@ -7263,11 +7263,11 @@
Properties:

(inherited) canvascreate - [source] + [source]

@@ -7480,7 +7480,7 @@
Properties:
Source:
@@ -7522,11 +7522,11 @@
Properties:

(inherited) renderstart - [source] + [source]

@@ -7714,7 +7714,7 @@
Properties:
Source:
@@ -7756,11 +7756,11 @@
Properties:

(inherited) renderend - [source] + [source]

@@ -7948,7 +7948,7 @@
Properties:
Source:
@@ -7992,13 +7992,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/JSONAble.html b/docs/api/1.x/JSONAble.html index 730f15d10a..ffe981b1a4 100644 --- a/docs/api/1.x/JSONAble.html +++ b/docs/api/1.x/JSONAble.html @@ -459,13 +459,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Label.html b/docs/api/1.x/Label.html index 6353115104..68eebdf34d 100644 --- a/docs/api/1.x/Label.html +++ b/docs/api/1.x/Label.html @@ -8294,11 +8294,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -8377,11 +8377,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -8460,11 +8460,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -8543,11 +8543,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -8626,11 +8626,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -19696,11 +19696,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -19863,7 +19863,7 @@
Properties:
Source:
@@ -19905,11 +19905,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -20072,7 +20072,7 @@
Properties:
Source:
@@ -20114,11 +20114,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -20281,7 +20281,7 @@
Properties:
Source:
@@ -20323,11 +20323,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -20490,7 +20490,7 @@
Properties:
Source:
@@ -20532,11 +20532,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -20699,7 +20699,7 @@
Properties:
Source:
@@ -23131,11 +23131,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -23323,7 +23323,7 @@
Properties:
Source:
@@ -23994,13 +23994,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Layer.html b/docs/api/1.x/Layer.html index 2d1e9f9479..46a7e6d3e5 100644 --- a/docs/api/1.x/Layer.html +++ b/docs/api/1.x/Layer.html @@ -9117,11 +9117,11 @@
Properties:

resourceload - [source] + [source]

@@ -9279,7 +9279,7 @@
Properties:
Source:
@@ -9321,11 +9321,11 @@
Properties:

canvascreate - [source] + [source]

@@ -9533,7 +9533,7 @@
Properties:
Source:
@@ -9575,11 +9575,11 @@
Properties:

renderstart - [source] + [source]

@@ -9762,7 +9762,7 @@
Properties:
Source:
@@ -9804,11 +9804,11 @@
Properties:

renderend - [source] + [source]

@@ -9991,7 +9991,7 @@
Properties:
Source:
@@ -10035,13 +10035,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/LineString.html b/docs/api/1.x/LineString.html index 420739da65..a3078d929c 100644 --- a/docs/api/1.x/LineString.html +++ b/docs/api/1.x/LineString.html @@ -7159,11 +7159,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7242,11 +7242,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7325,11 +7325,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7408,11 +7408,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7491,11 +7491,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -17889,11 +17889,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18056,7 +18056,7 @@
Properties:
Source:
@@ -18098,11 +18098,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18265,7 +18265,7 @@
Properties:
Source:
@@ -18307,11 +18307,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18474,7 +18474,7 @@
Properties:
Source:
@@ -18516,11 +18516,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -18683,7 +18683,7 @@
Properties:
Source:
@@ -18725,11 +18725,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -18892,7 +18892,7 @@
Properties:
Source:
@@ -21324,11 +21324,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -21516,7 +21516,7 @@
Properties:
Source:
@@ -22187,13 +22187,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Map.html b/docs/api/1.x/Map.html index e71b993afc..b696343369 100644 --- a/docs/api/1.x/Map.html +++ b/docs/api/1.x/Map.html @@ -9209,11 +9209,11 @@
Returns:

sortLayers(layers) - [source] + [source]

@@ -9347,11 +9347,11 @@
Returns:

toDataURL(optionsopt) - [source] + [source]

@@ -9646,11 +9646,11 @@
Returns:

coordToPoint() - [source] + [source]

@@ -9718,11 +9718,11 @@

coordToPointAtRes() - [source] + [source]

@@ -9790,11 +9790,11 @@

pointToCoord() - [source] + [source]

@@ -9862,11 +9862,11 @@

pointAtResToCoord() - [source] + [source]

@@ -9934,11 +9934,11 @@

coordToViewPoint() - [source] + [source]

@@ -10006,11 +10006,11 @@

viewPointToCoord() - [source] + [source]

@@ -10078,11 +10078,11 @@

coordToContainerPoint() - [source] + [source]

@@ -10150,11 +10150,11 @@

containerPointToCoord() - [source] + [source]

@@ -10222,11 +10222,11 @@

containerPointToViewPoint(containerPoint, outopt) - [source] + [source]

@@ -10379,11 +10379,11 @@
Returns:

viewPointToContainerPoint(viewPoint, outopt) - [source] + [source]

@@ -10536,11 +10536,11 @@
Returns:

checkSize() - [source] + [source]

@@ -10624,11 +10624,11 @@
Returns:

locate(coordinate, dx, dy) - [source] + [source]

@@ -10798,11 +10798,11 @@
Returns:

getMainPanel() - [source] + [source]

@@ -10877,11 +10877,11 @@
Returns:

getPanels() - [source] + [source]

@@ -10956,11 +10956,11 @@
Returns:

remove() - [source] + [source]

@@ -11039,11 +11039,11 @@
Returns:

isRemoved() - [source] + [source]

@@ -11118,11 +11118,11 @@
Returns:

isMoving() - [source] + [source]

@@ -11197,11 +11197,11 @@
Returns:

isOffscreen(box, padding) - [source] + [source]

@@ -11347,11 +11347,11 @@
Returns:

getDevicePixelRatio() - [source] + [source]

@@ -11426,11 +11426,11 @@
Returns:

setDevicePixelRatio(dpr) - [source] + [source]

@@ -11554,11 +11554,11 @@
Returns:

offsetPlatform() - [source] + [source]

@@ -11633,11 +11633,11 @@
Returns:

getViewPoint() - [source] + [source]

@@ -11716,11 +11716,11 @@
Returns:

coordinateToPoint(coordinate, zoomopt, outopt) - [source] + [source]

@@ -11913,11 +11913,11 @@
Returns:

coordinateToPointAtRes(coordinate, resopt, outopt) - [source] + [source]

@@ -12110,11 +12110,11 @@
Returns:

pointToCoordinate(point, zoom, outopt) - [source] + [source]

@@ -12305,11 +12305,11 @@
Returns:

pointAtResToCoordinate(point, res, outopt) - [source] + [source]

@@ -12500,11 +12500,11 @@
Returns:

coordinateToViewPoint(coordinate, outopt) - [source] + [source]

@@ -12657,11 +12657,11 @@
Returns:

viewPointToCoordinate(viewPoint, outopt) - [source] + [source]

@@ -12814,11 +12814,11 @@
Returns:

coordinateToContainerPoint(zoomopt, outopt) - [source] + [source]

@@ -13000,11 +13000,11 @@
Returns:

coordinatesToContainerPoints(zoomopt) - [source] + [source]

@@ -13157,11 +13157,11 @@
Returns:

coordinatesToContainerPointsAtRes(resolutionopt) - [source] + [source]

@@ -13314,11 +13314,11 @@
Returns:

containerPointToCoordinate(outopt) - [source] + [source]

@@ -13471,11 +13471,11 @@
Returns:

containerToExtent(containerExtent) - [source] + [source]

@@ -13599,11 +13599,11 @@
Returns:

distanceToPixel(xDist, yDist) - [source] + [source]

@@ -13750,11 +13750,11 @@
Returns:

distanceToPoint(xDist, yDist, zoom) - [source] + [source]

@@ -13920,11 +13920,11 @@
Returns:

distanceToPointAtRes(xDist, yDist, res) - [source] + [source]

@@ -14090,11 +14090,11 @@
Returns:

altitudeToPoint(altitude, res, originCenteropt) - [source] + [source]

@@ -14290,11 +14290,11 @@
Returns:

pixelToDistance(width, height) - [source] + [source]

@@ -14441,11 +14441,11 @@
Returns:

pointToDistance(dx, dy, zoom) - [source] + [source]

@@ -14615,11 +14615,11 @@
Returns:

pointAtResToDistance(dx, dy, res) - [source] + [source]

@@ -14789,11 +14789,11 @@
Returns:

locateByPoint(coordinate, px, py) - [source] + [source]

@@ -14963,11 +14963,11 @@
Returns:

(protected) _pointToExtent(extent2D) - [source] + [source]

@@ -18159,7 +18159,13 @@

map.identify({ coordinate: [0, 0], layers: [layer] }, geos => { console.log(geos); });

+
map.identify({
+     coordinate: [0, 0],
+     layers: [layer]
+ },
+ geos => {
+     console.log(geos);
+ });
@@ -18579,7 +18585,13 @@

Example:

--> -
map.identifyAtPoint({
     containerPoint: [200, 300],
     layers: [layer]
 },
 geos => {
     console.log(geos);
 });
+
map.identifyAtPoint({
+     containerPoint: [200, 300],
+     layers: [layer]
+ },
+ geos => {
+     console.log(geos);
+ });
@@ -26834,11 +26846,11 @@
Properties:

removelayer - [source] + [source]

@@ -27021,7 +27033,7 @@
Properties:
Source:
@@ -27063,11 +27075,11 @@
Properties:

resize - [source] + [source]

@@ -27225,7 +27237,7 @@
Properties:
Source:
@@ -27267,11 +27279,11 @@
Properties:

movestart - [source] + [source]

@@ -27529,7 +27541,7 @@
Properties:
Source:
@@ -27571,11 +27583,11 @@
Properties:

moving - [source] + [source]

@@ -27833,7 +27845,7 @@
Properties:
Source:
@@ -27875,11 +27887,11 @@
Properties:

moveend - [source] + [source]

@@ -28137,7 +28149,7 @@
Properties:
Source:
@@ -28179,11 +28191,11 @@
Properties:

dragrotatestart - [source] + [source]

@@ -28441,7 +28453,7 @@
Properties:
Source:
@@ -28483,11 +28495,11 @@
Properties:

dragrotating - [source] + [source]

@@ -28745,7 +28757,7 @@
Properties:
Source:
@@ -28787,11 +28799,11 @@
Properties:

dragrotateend - [source] + [source]

@@ -29049,7 +29061,7 @@
Properties:
Source:
@@ -37525,13 +37537,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/MapTool.html b/docs/api/1.x/MapTool.html index cc23e0fb44..397c52dfcd 100644 --- a/docs/api/1.x/MapTool.html +++ b/docs/api/1.x/MapTool.html @@ -3636,13 +3636,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/MapboxUtil.html b/docs/api/1.x/MapboxUtil.html index ae53fb4b82..502cf6fdf3 100644 --- a/docs/api/1.x/MapboxUtil.html +++ b/docs/api/1.x/MapboxUtil.html @@ -146,13 +146,13 @@

new
- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Marker.html b/docs/api/1.x/Marker.html index af54adb3d9..6cb0b264d9 100644 --- a/docs/api/1.x/Marker.html +++ b/docs/api/1.x/Marker.html @@ -7181,11 +7181,11 @@

Returns:

(inherited) endEdit() - [source] + [source]

@@ -7264,11 +7264,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7347,11 +7347,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7430,11 +7430,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7513,11 +7513,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -17911,11 +17911,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18078,7 +18078,7 @@
Properties:
Source:
@@ -18120,11 +18120,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18287,7 +18287,7 @@
Properties:
Source:
@@ -18329,11 +18329,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18496,7 +18496,7 @@
Properties:
Source:
@@ -18538,11 +18538,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -18705,7 +18705,7 @@
Properties:
Source:
@@ -18747,11 +18747,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -18914,7 +18914,7 @@
Properties:
Source:
@@ -21346,11 +21346,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -21538,7 +21538,7 @@
Properties:
Source:
@@ -22209,13 +22209,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/MultiGeometry.html b/docs/api/1.x/MultiGeometry.html index 292d71cca8..679e70e01e 100644 --- a/docs/api/1.x/MultiGeometry.html +++ b/docs/api/1.x/MultiGeometry.html @@ -7146,11 +7146,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7229,11 +7229,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7312,11 +7312,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7395,11 +7395,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7478,11 +7478,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -17876,11 +17876,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18043,7 +18043,7 @@
Properties:
Source:
@@ -18085,11 +18085,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18252,7 +18252,7 @@
Properties:
Source:
@@ -18294,11 +18294,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18461,7 +18461,7 @@
Properties:
Source:
@@ -18503,11 +18503,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -18670,7 +18670,7 @@
Properties:
Source:
@@ -18712,11 +18712,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -18879,7 +18879,7 @@
Properties:
Source:
@@ -21311,11 +21311,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -21503,7 +21503,7 @@
Properties:
Source:
@@ -22174,13 +22174,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/MultiLineString.html b/docs/api/1.x/MultiLineString.html index 63bb225c25..8dd967ab67 100644 --- a/docs/api/1.x/MultiLineString.html +++ b/docs/api/1.x/MultiLineString.html @@ -7097,11 +7097,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7180,11 +7180,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7263,11 +7263,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7346,11 +7346,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7429,11 +7429,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -17827,11 +17827,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -17994,7 +17994,7 @@
Properties:
Source:
@@ -18036,11 +18036,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18203,7 +18203,7 @@
Properties:
Source:
@@ -18245,11 +18245,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18412,7 +18412,7 @@
Properties:
Source:
@@ -18454,11 +18454,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -18621,7 +18621,7 @@
Properties:
Source:
@@ -18663,11 +18663,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -18830,7 +18830,7 @@
Properties:
Source:
@@ -21262,11 +21262,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -21454,7 +21454,7 @@
Properties:
Source:
@@ -22125,13 +22125,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/MultiPoint.html b/docs/api/1.x/MultiPoint.html index dcc6b6647a..ee56caf8a2 100644 --- a/docs/api/1.x/MultiPoint.html +++ b/docs/api/1.x/MultiPoint.html @@ -7231,11 +7231,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7314,11 +7314,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7397,11 +7397,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7480,11 +7480,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7563,11 +7563,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -17961,11 +17961,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18128,7 +18128,7 @@
Properties:
Source:
@@ -18170,11 +18170,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18337,7 +18337,7 @@
Properties:
Source:
@@ -18379,11 +18379,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18546,7 +18546,7 @@
Properties:
Source:
@@ -18588,11 +18588,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -18755,7 +18755,7 @@
Properties:
Source:
@@ -18797,11 +18797,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -18964,7 +18964,7 @@
Properties:
Source:
@@ -21396,11 +21396,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -21588,7 +21588,7 @@
Properties:
Source:
@@ -22259,13 +22259,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/MultiPolygon.html b/docs/api/1.x/MultiPolygon.html index cbc757896b..a14a160410 100644 --- a/docs/api/1.x/MultiPolygon.html +++ b/docs/api/1.x/MultiPolygon.html @@ -7097,11 +7097,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7180,11 +7180,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7263,11 +7263,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7346,11 +7346,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7429,11 +7429,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -17827,11 +17827,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -17994,7 +17994,7 @@
Properties:
Source:
@@ -18036,11 +18036,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18203,7 +18203,7 @@
Properties:
Source:
@@ -18245,11 +18245,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18412,7 +18412,7 @@
Properties:
Source:
@@ -18454,11 +18454,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -18621,7 +18621,7 @@
Properties:
Source:
@@ -18663,11 +18663,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -18830,7 +18830,7 @@
Properties:
Source:
@@ -21262,11 +21262,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -21454,7 +21454,7 @@
Properties:
Source:
@@ -22125,13 +22125,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/OverlayLayer.html b/docs/api/1.x/OverlayLayer.html index dfae4b36bb..137c0bfb47 100644 --- a/docs/api/1.x/OverlayLayer.html +++ b/docs/api/1.x/OverlayLayer.html @@ -449,7 +449,8 @@
Events

OverlayLayer

-
Base class of all the layers that can add/remove geometries.
It is abstract and not intended to be instantiated.
+
Base class of all the layers that can add/remove geometries.
+It is abstract and not intended to be instantiated.
@@ -464,11 +465,11 @@

OverlayLayer

(abstract) new OverlayLayer() - [source] + [source]

@@ -660,7 +661,10 @@
Properties:
- (Only for layer rendered with CanvasRenderer)
In default, for performance reason, layer will be drawn in a frame requested by RAF(RequestAnimationFrame).
Set drawImmediate to true to draw immediately.
This is necessary when layer's drawing is wrapped with another frame requested by RAF. + (Only for layer rendered with CanvasRenderer)
+ In default, for performance reason, layer will be drawn in a frame requested by RAF(RequestAnimationFrame).
+ Set drawImmediate to true to draw immediately.
+ This is necessary when layer's drawing is wrapped with another frame requested by RAF. @@ -1911,11 +1915,11 @@

Methods

getGeometryById(id) - [source] + [source]

@@ -2038,11 +2042,11 @@
Returns:

getGeometries(filteropt, contextopt) - [source] + [source]

@@ -2197,11 +2201,11 @@
Returns:

getFirstGeometry() - [source] + [source]

@@ -2280,11 +2284,11 @@
Returns:

getLastGeometry() - [source] + [source]

@@ -2363,11 +2367,11 @@
Returns:

getCount() - [source] + [source]

@@ -2446,11 +2450,11 @@
Returns:

getExtent() - [source] + [source]

@@ -2529,11 +2533,11 @@
Returns:

forEach(fn, contextopt) - [source] + [source]

@@ -2690,11 +2694,11 @@
Returns:

filter(fn, contextopt) - [source] + [source]

@@ -2851,11 +2855,11 @@
Returns:

isEmpty() - [source] + [source]

@@ -2930,11 +2934,11 @@
Returns:

addGeometry(geometries, fitViewopt) - [source] + [source]

@@ -3239,11 +3243,11 @@
Returns:

getGeoMinZIndex() - [source] + [source]

@@ -3311,11 +3315,11 @@

getGeoMaxZIndex() - [source] + [source]

@@ -3383,11 +3387,11 @@

removeGeometry(geometries) - [source] + [source]

@@ -3520,11 +3524,11 @@
Returns:

clear() - [source] + [source]

@@ -3603,11 +3607,11 @@
Returns:

(protected) onRemoveGeometry(geometry) - [source] + [source]

@@ -3720,11 +3724,11 @@

(protected)

getStyle() - [source] + [source]

@@ -3803,11 +3807,11 @@
Returns:

setStyle(style) - [source] + [source]

@@ -3821,22 +3825,23 @@

- Sets style to the layer, styling the geometries satisfying the condition with style's symbol.
Based on filter type in [mapbox-gl-js's style specification]{https://www.mapbox.com/mapbox-gl-js/style-spec/#types-filter}. + Sets style to the layer, styling the geometries satisfying the condition with style's symbol.
+Based on filter type in [mapbox-gl-js's style specification]{https://www.mapbox.com/mapbox-gl-js/style-spec/#types-filter}. -
layer.setStyle([
-        {
-          'filter': ['==', 'count', 100],
-          'symbol': {'markerFile' : 'foo1.png'}
-        },
-        {
-          'filter': ['==', 'count', 200],
-          'symbol': {'markerFile' : 'foo2.png'}
-        }
+        
layer.setStyle([
+        {
+          'filter': ['==', 'count', 100],
+          'symbol': {'markerFile' : 'foo1.png'}
+        },
+        {
+          'filter': ['==', 'count', 200],
+          'symbol': {'markerFile' : 'foo2.png'}
+        }
       ]);
@@ -3955,11 +3960,11 @@
Returns:

removeStyle() - [source] + [source]

@@ -9022,11 +9027,11 @@

Events

addgeo - [source] + [source]

@@ -9209,7 +9214,7 @@
Properties:
Source:
@@ -9251,11 +9256,11 @@
Properties:

removegeo - [source] + [source]

@@ -9438,7 +9443,7 @@
Properties:
Source:
@@ -9480,11 +9485,11 @@
Properties:

clear - [source] + [source]

@@ -9642,7 +9647,7 @@
Properties:
Source:
@@ -10177,11 +10182,11 @@
Properties:

(inherited) resourceload - [source] + [source]

@@ -10344,7 +10349,7 @@
Properties:
Source:
@@ -10386,11 +10391,11 @@
Properties:

(inherited) canvascreate - [source] + [source]

@@ -10603,7 +10608,7 @@
Properties:
Source:
@@ -10645,11 +10650,11 @@
Properties:

(inherited) renderstart - [source] + [source]

@@ -10837,7 +10842,7 @@
Properties:
Source:
@@ -10879,11 +10884,11 @@
Properties:

(inherited) renderend - [source] + [source]

@@ -11071,7 +11076,7 @@
Properties:
Source:
@@ -11115,13 +11120,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/ParticleLayer.html b/docs/api/1.x/ParticleLayer.html index 063fb2d0c2..16343d99dc 100644 --- a/docs/api/1.x/ParticleLayer.html +++ b/docs/api/1.x/ParticleLayer.html @@ -9284,11 +9284,11 @@
Properties:

(inherited) resourceload - [source] + [source]

@@ -9456,7 +9456,7 @@
Properties:
Source:
@@ -9498,11 +9498,11 @@
Properties:

(inherited) canvascreate - [source] + [source]

@@ -9720,7 +9720,7 @@
Properties:
Source:
@@ -9762,11 +9762,11 @@
Properties:

(inherited) renderstart - [source] + [source]

@@ -9959,7 +9959,7 @@
Properties:
Source:
@@ -10001,11 +10001,11 @@
Properties:

(inherited) renderend - [source] + [source]

@@ -10198,7 +10198,7 @@
Properties:
Source:
@@ -10242,13 +10242,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Path.html b/docs/api/1.x/Path.html index 9a229e5cdf..3d336aa40f 100644 --- a/docs/api/1.x/Path.html +++ b/docs/api/1.x/Path.html @@ -6791,11 +6791,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -6879,11 +6879,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -6967,11 +6967,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7055,11 +7055,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7143,11 +7143,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -17716,11 +17716,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -17888,7 +17888,7 @@
Properties:
Source:
@@ -17930,11 +17930,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18102,7 +18102,7 @@
Properties:
Source:
@@ -18144,11 +18144,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18316,7 +18316,7 @@
Properties:
Source:
@@ -18358,11 +18358,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -18530,7 +18530,7 @@
Properties:
Source:
@@ -18572,11 +18572,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -18744,7 +18744,7 @@
Properties:
Source:
@@ -21226,11 +21226,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -21423,7 +21423,7 @@
Properties:
Source:
@@ -22109,13 +22109,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Point.html b/docs/api/1.x/Point.html index 4aa66bf29f..66961eb3a6 100644 --- a/docs/api/1.x/Point.html +++ b/docs/api/1.x/Point.html @@ -3184,13 +3184,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/PointExtent.html b/docs/api/1.x/PointExtent.html index e78b1bb33d..bba056922d 100644 --- a/docs/api/1.x/PointExtent.html +++ b/docs/api/1.x/PointExtent.html @@ -3288,13 +3288,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Polygon.html b/docs/api/1.x/Polygon.html index 08b93cfd76..a224117b70 100644 --- a/docs/api/1.x/Polygon.html +++ b/docs/api/1.x/Polygon.html @@ -7331,11 +7331,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7414,11 +7414,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7497,11 +7497,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7580,11 +7580,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7663,11 +7663,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -18061,11 +18061,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18228,7 +18228,7 @@
Properties:
Source:
@@ -18270,11 +18270,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18437,7 +18437,7 @@
Properties:
Source:
@@ -18479,11 +18479,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18646,7 +18646,7 @@
Properties:
Source:
@@ -18688,11 +18688,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -18855,7 +18855,7 @@
Properties:
Source:
@@ -18897,11 +18897,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -19064,7 +19064,7 @@
Properties:
Source:
@@ -21496,11 +21496,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -21688,7 +21688,7 @@
Properties:
Source:
@@ -22359,13 +22359,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Position.html b/docs/api/1.x/Position.html index 0fd3670b75..3dced8d2b7 100644 --- a/docs/api/1.x/Position.html +++ b/docs/api/1.x/Position.html @@ -2454,13 +2454,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/QuadBezierCurve.html b/docs/api/1.x/QuadBezierCurve.html index 65cbd59c84..be07b95589 100644 --- a/docs/api/1.x/QuadBezierCurve.html +++ b/docs/api/1.x/QuadBezierCurve.html @@ -7334,11 +7334,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7422,11 +7422,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7510,11 +7510,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7598,11 +7598,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7686,11 +7686,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -18349,11 +18349,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18521,7 +18521,7 @@
Properties:
Source:
@@ -18563,11 +18563,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18735,7 +18735,7 @@
Properties:
Source:
@@ -18777,11 +18777,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -18949,7 +18949,7 @@
Properties:
Source:
@@ -18991,11 +18991,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -19163,7 +19163,7 @@
Properties:
Source:
@@ -19205,11 +19205,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -19377,7 +19377,7 @@
Properties:
Source:
@@ -21859,11 +21859,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -22056,7 +22056,7 @@
Properties:
Source:
@@ -22742,13 +22742,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Rectangle.html b/docs/api/1.x/Rectangle.html index 8485d7e853..ddd2df4fb0 100644 --- a/docs/api/1.x/Rectangle.html +++ b/docs/api/1.x/Rectangle.html @@ -7831,11 +7831,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7914,11 +7914,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7997,11 +7997,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -8080,11 +8080,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -8163,11 +8163,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -18561,11 +18561,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -18728,7 +18728,7 @@
Properties:
Source:
@@ -18770,11 +18770,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -18937,7 +18937,7 @@
Properties:
Source:
@@ -18979,11 +18979,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -19146,7 +19146,7 @@
Properties:
Source:
@@ -19188,11 +19188,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -19355,7 +19355,7 @@
Properties:
Source:
@@ -19397,11 +19397,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -19564,7 +19564,7 @@
Properties:
Source:
@@ -21996,11 +21996,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -22188,7 +22188,7 @@
Properties:
Source:
@@ -22859,13 +22859,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Renderable.html b/docs/api/1.x/Renderable.html index 0208479ab7..ca00f01dd0 100644 --- a/docs/api/1.x/Renderable.html +++ b/docs/api/1.x/Renderable.html @@ -407,13 +407,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Sector.html b/docs/api/1.x/Sector.html index 86993cb37a..63dae5b392 100644 --- a/docs/api/1.x/Sector.html +++ b/docs/api/1.x/Sector.html @@ -8146,11 +8146,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -8229,11 +8229,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -8312,11 +8312,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -8395,11 +8395,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -8478,11 +8478,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -18876,11 +18876,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -19043,7 +19043,7 @@
Properties:
Source:
@@ -19085,11 +19085,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -19252,7 +19252,7 @@
Properties:
Source:
@@ -19294,11 +19294,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -19461,7 +19461,7 @@
Properties:
Source:
@@ -19503,11 +19503,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -19670,7 +19670,7 @@
Properties:
Source:
@@ -19712,11 +19712,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -19879,7 +19879,7 @@
Properties:
Source:
@@ -22311,11 +22311,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -22503,7 +22503,7 @@
Properties:
Source:
@@ -23174,13 +23174,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Size.html b/docs/api/1.x/Size.html index efa10a72e7..ca1c9b8b2b 100644 --- a/docs/api/1.x/Size.html +++ b/docs/api/1.x/Size.html @@ -1243,13 +1243,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/StringUtil.html b/docs/api/1.x/StringUtil.html index 24b7078f4a..ff726adcc8 100644 --- a/docs/api/1.x/StringUtil.html +++ b/docs/api/1.x/StringUtil.html @@ -1659,13 +1659,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/TextBox.html b/docs/api/1.x/TextBox.html index 7687dfcf5c..3f0cc785f6 100644 --- a/docs/api/1.x/TextBox.html +++ b/docs/api/1.x/TextBox.html @@ -726,11 +726,11 @@

TextBox

new TextBox(content, coordinates, width, height, optionsopt) - [source] + [source]

@@ -1140,7 +1140,7 @@

Members

(constant) options @@ -1976,7 +1976,7 @@

Properties
Source:
@@ -2013,11 +2013,11 @@

Methods

getWidth() - [source] + [source]

@@ -2092,11 +2092,11 @@
Returns:

setWidth(width) - [source] + [source]

@@ -2209,11 +2209,11 @@

getHeight() - [source] + [source]

@@ -2288,11 +2288,11 @@
Returns:

setHeight(height) - [source] + [source]

@@ -2405,11 +2405,11 @@

getBoxSymbol() - [source] + [source]

@@ -2488,11 +2488,11 @@
Returns:

setBoxSymbol(symbol) - [source] + [source]

@@ -2605,11 +2605,11 @@

getTextStyle() - [source] + [source]

@@ -2684,11 +2684,11 @@
Returns:

setTextStyle(style) - [source] + [source]

@@ -8710,11 +8710,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -8793,11 +8793,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -8876,11 +8876,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -8959,11 +8959,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -9042,11 +9042,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -19858,11 +19858,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -20025,7 +20025,7 @@
Properties:
Source:
@@ -20067,11 +20067,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -20234,7 +20234,7 @@
Properties:
Source:
@@ -20276,11 +20276,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -20443,7 +20443,7 @@
Properties:
Source:
@@ -20485,11 +20485,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -20652,7 +20652,7 @@
Properties:
Source:
@@ -20694,11 +20694,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -20861,7 +20861,7 @@
Properties:
Source:
@@ -23293,11 +23293,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -23485,7 +23485,7 @@
Properties:
Source:
@@ -24156,13 +24156,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/TextEditable.html b/docs/api/1.x/TextEditable.html index b27901ef83..d6002b993c 100644 --- a/docs/api/1.x/TextEditable.html +++ b/docs/api/1.x/TextEditable.html @@ -480,13 +480,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/TextMarker.html b/docs/api/1.x/TextMarker.html index fb410fe2e5..a53999cd71 100644 --- a/docs/api/1.x/TextMarker.html +++ b/docs/api/1.x/TextMarker.html @@ -7611,11 +7611,11 @@
Returns:

(inherited) endEdit() - [source] + [source]

@@ -7699,11 +7699,11 @@
Returns:

(inherited) redoEdit() - [source] + [source]

@@ -7787,11 +7787,11 @@
Returns:

(inherited) undoEdit() - [source] + [source]

@@ -7875,11 +7875,11 @@
Returns:

(inherited) cancelEdit() - [source] + [source]

@@ -7963,11 +7963,11 @@
Returns:

(inherited) isEditing() - [source] + [source]

@@ -19034,11 +19034,11 @@
Properties:

(inherited) editstart - [source] + [source]

@@ -19206,7 +19206,7 @@
Properties:
Source:
@@ -19248,11 +19248,11 @@
Properties:

(inherited) editend - [source] + [source]

@@ -19420,7 +19420,7 @@
Properties:
Source:
@@ -19462,11 +19462,11 @@
Properties:

(inherited) redoedit - [source] + [source]

@@ -19634,7 +19634,7 @@
Properties:
Source:
@@ -19676,11 +19676,11 @@
Properties:

(inherited) undoedit - [source] + [source]

@@ -19848,7 +19848,7 @@
Properties:
Source:
@@ -19890,11 +19890,11 @@
Properties:

(inherited) canceledit - [source] + [source]

@@ -20062,7 +20062,7 @@
Properties:
Source:
@@ -22544,11 +22544,11 @@
Properties:

(inherited) add - [source] + [source]

@@ -22741,7 +22741,7 @@
Properties:
Source:
@@ -23427,13 +23427,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/TileLayer.html b/docs/api/1.x/TileLayer.html index ce9f471e49..ba7999acea 100644 --- a/docs/api/1.x/TileLayer.html +++ b/docs/api/1.x/TileLayer.html @@ -394,11 +394,11 @@

TileLayer

new TileLayer(id, optionsopt) - [source] + [source]

@@ -413,9 +413,9 @@

new Example:

--> -
new TileLayer("tile",{
-        urlTemplate : 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
-        subdomains:['a','b','c']
+        
new TileLayer("tile",{
+        urlTemplate : 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',
+        subdomains:['a','b','c']
     })
@@ -613,7 +613,7 @@

Members

(constant) options @@ -2195,7 +2195,7 @@

Properties
Source:
@@ -2232,11 +2232,11 @@

Methods

getTileSize() - [source] + [source]

@@ -2311,11 +2311,11 @@
Returns:

_getScreenSpaceError() - [source] + [source]

@@ -2329,9 +2329,7 @@

<
- Compute tile's SSE -from Cesium -与cesium不同的是,我们用boundingVolume顶面的四个顶点中的最小值作为distanceToCamera + Compute tile's SSE from Cesium 与cesium不同的是,我们用boundingVolume顶面的四个顶点中的最小值作为distanceToCamera
@@ -2385,11 +2383,11 @@

<

_getCascadeTiles(z) - [source] + [source]

@@ -2513,11 +2511,11 @@
Returns:

getTileUrl(x, y, z) - [source] + [source]

@@ -2687,11 +2685,11 @@
Returns:

clear() - [source] + [source]

@@ -2770,11 +2768,11 @@
Returns:

toJSON() - [source] + [source]

@@ -2788,9 +2786,7 @@

- Export the tile layer's profile json.
-Layer's profile is a snapshot of the layer in JSON format.
-It can be used to reproduce the instance by fromJSON method + Export the tile layer's profile json.
Layer's profile is a snapshot of the layer in JSON format.
It can be used to reproduce the instance by fromJSON method @@ -2855,11 +2851,11 @@
Returns:

getSpatialReference() - [source] + [source]

@@ -8057,11 +8053,11 @@

Events

clear - [source] + [source]

@@ -8219,7 +8215,7 @@
Properties:
Source:
@@ -8764,11 +8760,11 @@
Properties:

(inherited) resourceload - [source] + [source]

@@ -8936,7 +8932,7 @@
Properties:
Source:
@@ -8978,11 +8974,11 @@
Properties:

(inherited) canvascreate - [source] + [source]

@@ -9200,7 +9196,7 @@
Properties:
Source:
@@ -9242,11 +9238,11 @@
Properties:

(inherited) renderstart - [source] + [source]

@@ -9439,7 +9435,7 @@
Properties:
Source:
@@ -9481,11 +9477,11 @@
Properties:

(inherited) renderend - [source] + [source]

@@ -9678,7 +9674,7 @@
Properties:
Source:
@@ -9722,13 +9718,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/TileSystem.html b/docs/api/1.x/TileSystem.html index 3f2ee716f2..e901fbde6a 100644 --- a/docs/api/1.x/TileSystem.html +++ b/docs/api/1.x/TileSystem.html @@ -574,13 +574,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Transformation.html b/docs/api/1.x/Transformation.html index 1e94cbdf73..06f331d14a 100644 --- a/docs/api/1.x/Transformation.html +++ b/docs/api/1.x/Transformation.html @@ -526,13 +526,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/Util.html b/docs/api/1.x/Util.html index 4b6ba8ae6a..46d87d2ea4 100644 --- a/docs/api/1.x/Util.html +++ b/docs/api/1.x/Util.html @@ -3416,13 +3416,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/VectorLayer.html b/docs/api/1.x/VectorLayer.html index e11d479ea2..02b9fc1234 100644 --- a/docs/api/1.x/VectorLayer.html +++ b/docs/api/1.x/VectorLayer.html @@ -1389,7 +1389,10 @@
Properties
- (Only for layer rendered with CanvasRenderer)
In default, for performance reason, layer will be drawn in a frame requested by RAF(RequestAnimationFrame).
Set drawImmediate to true to draw immediately.
This is necessary when layer's drawing is wrapped with another frame requested by RAF. + (Only for layer rendered with CanvasRenderer)
+ In default, for performance reason, layer will be drawn in a frame requested by RAF(RequestAnimationFrame).
+ Set drawImmediate to true to draw immediately.
+ This is necessary when layer's drawing is wrapped with another frame requested by RAF. @@ -2803,11 +2806,11 @@
Returns:

(inherited) getGeometryById(id) - [source] + [source]

@@ -2930,11 +2933,11 @@
Returns:

(inherited) getGeometries(filteropt, contextopt) - [source] + [source]

@@ -3089,11 +3092,11 @@
Returns:

(inherited) getFirstGeometry() - [source] + [source]

@@ -3172,11 +3175,11 @@
Returns:

(inherited) getLastGeometry() - [source] + [source]

@@ -3255,11 +3258,11 @@
Returns:

(inherited) getCount() - [source] + [source]

@@ -3338,11 +3341,11 @@
Returns:

(inherited) getExtent() - [source] + [source]

@@ -3421,11 +3424,11 @@
Returns:

(inherited) forEach(fn, contextopt) - [source] + [source]

@@ -3582,11 +3585,11 @@
Returns:

(inherited) filter(fn, contextopt) - [source] + [source]

@@ -3743,11 +3746,11 @@
Returns:

(inherited) isEmpty() - [source] + [source]

@@ -3822,11 +3825,11 @@
Returns:

(inherited) addGeometry(geometries, fitViewopt) - [source] + [source]

@@ -4131,11 +4134,11 @@
Returns:

(inherited) getGeoMinZIndex() - [source] + [source]

@@ -4203,11 +4206,11 @@

(inherited) getGeoMaxZIndex() - [source] + [source]

@@ -4275,11 +4278,11 @@

(inherited) removeGeometry(geometries) - [source] + [source]

@@ -4412,11 +4415,11 @@
Returns:

(inherited) clear() - [source] + [source]

@@ -4495,11 +4498,11 @@
Returns:

(protected) (inherited) onRemoveGeometry(geometry) - [source] + [source]

@@ -4612,11 +4615,11 @@

(protected)

(inherited) getStyle() - [source] + [source]

@@ -4695,11 +4698,11 @@
Returns:

(inherited) setStyle(style) - [source] + [source]

@@ -4713,22 +4716,23 @@

- Sets style to the layer, styling the geometries satisfying the condition with style's symbol.
Based on filter type in [mapbox-gl-js's style specification]{https://www.mapbox.com/mapbox-gl-js/style-spec/#types-filter}. + Sets style to the layer, styling the geometries satisfying the condition with style's symbol.
+Based on filter type in [mapbox-gl-js's style specification]{https://www.mapbox.com/mapbox-gl-js/style-spec/#types-filter}. -
layer.setStyle([
-        {
-          'filter': ['==', 'count', 100],
-          'symbol': {'markerFile' : 'foo1.png'}
-        },
-        {
-          'filter': ['==', 'count', 200],
-          'symbol': {'markerFile' : 'foo2.png'}
-        }
+        
layer.setStyle([
+        {
+          'filter': ['==', 'count', 100],
+          'symbol': {'markerFile' : 'foo1.png'}
+        },
+        {
+          'filter': ['==', 'count', 200],
+          'symbol': {'markerFile' : 'foo2.png'}
+        }
       ]);
@@ -4847,11 +4851,11 @@
Returns:

(inherited) removeStyle() - [source] + [source]

@@ -9914,11 +9918,11 @@

Events

setstyle - [source] + [source]

@@ -10104,7 +10108,7 @@
Properties:
Source:
@@ -10146,11 +10150,11 @@
Properties:

removestyle - [source] + [source]

@@ -10308,7 +10312,7 @@
Properties:
Source:
@@ -10350,11 +10354,11 @@
Properties:

(inherited) addgeo - [source] + [source]

@@ -10542,7 +10546,7 @@
Properties:
Source:
@@ -10584,11 +10588,11 @@
Properties:

(inherited) removegeo - [source] + [source]

@@ -10776,7 +10780,7 @@
Properties:
Source:
@@ -10818,11 +10822,11 @@
Properties:

(inherited) clear - [source] + [source]

@@ -10985,7 +10989,7 @@
Properties:
Source:
@@ -11520,11 +11524,11 @@
Properties:

(inherited) resourceload - [source] + [source]

@@ -11687,7 +11691,7 @@
Properties:
Source:
@@ -11729,11 +11733,11 @@
Properties:

(inherited) canvascreate - [source] + [source]

@@ -11946,7 +11950,7 @@
Properties:
Source:
@@ -11988,11 +11992,11 @@
Properties:

(inherited) renderstart - [source] + [source]

@@ -12180,7 +12184,7 @@
Properties:
Source:
@@ -12222,11 +12226,11 @@
Properties:

(inherited) renderend - [source] + [source]

@@ -12414,7 +12418,7 @@
Properties:
Source:
@@ -12458,13 +12462,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/WMSTileLayer.html b/docs/api/1.x/WMSTileLayer.html index 2b31cae86b..295b3a9d8a 100644 --- a/docs/api/1.x/WMSTileLayer.html +++ b/docs/api/1.x/WMSTileLayer.html @@ -2641,11 +2641,11 @@
Returns:

(inherited) getTileSize() - [source] + [source]

@@ -2720,11 +2720,11 @@
Returns:

(inherited) _getScreenSpaceError() - [source] + [source]

@@ -2738,9 +2738,7 @@

<
- Compute tile's SSE -from Cesium -与cesium不同的是,我们用boundingVolume顶面的四个顶点中的最小值作为distanceToCamera + Compute tile's SSE from Cesium 与cesium不同的是,我们用boundingVolume顶面的四个顶点中的最小值作为distanceToCamera
@@ -2794,11 +2792,11 @@

<

(inherited) _getCascadeTiles(z) - [source] + [source]

@@ -2922,11 +2920,11 @@
Returns:

(inherited) getTileUrl(x, y, z) - [source] + [source]

@@ -3096,11 +3094,11 @@
Returns:

(inherited) clear() - [source] + [source]

@@ -3179,11 +3177,11 @@
Returns:

(inherited) getSpatialReference() - [source] + [source]

@@ -8241,11 +8239,11 @@

Events

(inherited) clear - [source] + [source]

@@ -8408,7 +8406,7 @@
Properties:
Source:
@@ -8943,11 +8941,11 @@
Properties:

(inherited) resourceload - [source] + [source]

@@ -9110,7 +9108,7 @@
Properties:
Source:
@@ -9152,11 +9150,11 @@
Properties:

(inherited) canvascreate - [source] + [source]

@@ -9369,7 +9367,7 @@
Properties:
Source:
@@ -9411,11 +9409,11 @@
Properties:

(inherited) renderstart - [source] + [source]

@@ -9603,7 +9601,7 @@
Properties:
Source:
@@ -9645,11 +9643,11 @@
Properties:

(inherited) renderend - [source] + [source]

@@ -9837,7 +9835,7 @@
Properties:
Source:
@@ -9881,13 +9879,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/animation.Animation.html b/docs/api/1.x/animation.Animation.html index 397a81b423..76e1596593 100644 --- a/docs/api/1.x/animation.Animation.html +++ b/docs/api/1.x/animation.Animation.html @@ -823,13 +823,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/animation.Easing.html b/docs/api/1.x/animation.Easing.html index f04c4bf8a2..3e13a7d6cc 100644 --- a/docs/api/1.x/animation.Easing.html +++ b/docs/api/1.x/animation.Easing.html @@ -842,13 +842,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/animation.Frame.html b/docs/api/1.x/animation.Frame.html index e7dcc4f839..b47dbc0a96 100644 --- a/docs/api/1.x/animation.Frame.html +++ b/docs/api/1.x/animation.Frame.html @@ -218,13 +218,13 @@

(protected) new
- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/animation.Player.html b/docs/api/1.x/animation.Player.html index 5a7020d23b..fea13399de 100644 --- a/docs/api/1.x/animation.Player.html +++ b/docs/api/1.x/animation.Player.html @@ -611,13 +611,13 @@

Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/control.Attribution.html b/docs/api/1.x/control.Attribution.html index 6770567df6..8c96a6c7be 100644 --- a/docs/api/1.x/control.Attribution.html +++ b/docs/api/1.x/control.Attribution.html @@ -4427,13 +4427,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/control.Control.html b/docs/api/1.x/control.Control.html index 29f4ec6e8c..f7b14079bb 100644 --- a/docs/api/1.x/control.Control.html +++ b/docs/api/1.x/control.Control.html @@ -5779,13 +5779,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/control.LayerSwitcher.html b/docs/api/1.x/control.LayerSwitcher.html index e5f189584e..ff54fffe74 100644 --- a/docs/api/1.x/control.LayerSwitcher.html +++ b/docs/api/1.x/control.LayerSwitcher.html @@ -4623,13 +4623,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/control.Overview.html b/docs/api/1.x/control.Overview.html index fea3df200e..f4e92b4547 100644 --- a/docs/api/1.x/control.Overview.html +++ b/docs/api/1.x/control.Overview.html @@ -4997,13 +4997,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/control.Panel.html b/docs/api/1.x/control.Panel.html index b5ff91c5bf..75b9c69748 100644 --- a/docs/api/1.x/control.Panel.html +++ b/docs/api/1.x/control.Panel.html @@ -5656,13 +5656,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/control.Scale.html b/docs/api/1.x/control.Scale.html index 21b75bafd4..4a7868e0f3 100644 --- a/docs/api/1.x/control.Scale.html +++ b/docs/api/1.x/control.Scale.html @@ -4688,13 +4688,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/control.Toolbar.html b/docs/api/1.x/control.Toolbar.html index 238bec37b0..8569e68422 100644 --- a/docs/api/1.x/control.Toolbar.html +++ b/docs/api/1.x/control.Toolbar.html @@ -4630,13 +4630,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/control.Zoom.html b/docs/api/1.x/control.Zoom.html index db61a78ef5..688e4e9882 100644 --- a/docs/api/1.x/control.Zoom.html +++ b/docs/api/1.x/control.Zoom.html @@ -4597,13 +4597,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/global.html b/docs/api/1.x/global.html index 8b3e394401..3838af3622 100644 --- a/docs/api/1.x/global.html +++ b/docs/api/1.x/global.html @@ -83,13 +83,13 @@


- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/index.html b/docs/api/1.x/index.html index c210d94262..6f5e9924da 100644 --- a/docs/api/1.x/index.html +++ b/docs/api/1.x/index.html @@ -27,7 +27,7 @@ -

maptalks 1.0.0-rc.14

+

maptalks 1.0.0-rc.15

@@ -51,13 +51,13 @@

maptalks 1.0.0-rc.14


- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/measurer.BaiduSphere.html b/docs/api/1.x/measurer.BaiduSphere.html index 99a365316e..3d4ee63dc9 100644 --- a/docs/api/1.x/measurer.BaiduSphere.html +++ b/docs/api/1.x/measurer.BaiduSphere.html @@ -1047,13 +1047,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/measurer.Common.html b/docs/api/1.x/measurer.Common.html index 4b9fb1b6f2..6e7d1c06c6 100644 --- a/docs/api/1.x/measurer.Common.html +++ b/docs/api/1.x/measurer.Common.html @@ -273,13 +273,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/measurer.DEFAULT.html b/docs/api/1.x/measurer.DEFAULT.html index d620097ae1..160d293e59 100644 --- a/docs/api/1.x/measurer.DEFAULT.html +++ b/docs/api/1.x/measurer.DEFAULT.html @@ -358,13 +358,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/measurer.Identity.html b/docs/api/1.x/measurer.Identity.html index 369cc8e6fc..5702a0e41d 100644 --- a/docs/api/1.x/measurer.Identity.html +++ b/docs/api/1.x/measurer.Identity.html @@ -898,13 +898,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/measurer.Measurer.html b/docs/api/1.x/measurer.Measurer.html index 1cfe364636..9c50fcc920 100644 --- a/docs/api/1.x/measurer.Measurer.html +++ b/docs/api/1.x/measurer.Measurer.html @@ -301,13 +301,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/measurer.WGS84Sphere.html b/docs/api/1.x/measurer.WGS84Sphere.html index 7db15aa323..305390b208 100644 --- a/docs/api/1.x/measurer.WGS84Sphere.html +++ b/docs/api/1.x/measurer.WGS84Sphere.html @@ -986,13 +986,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/measurer.html b/docs/api/1.x/measurer.html index 3ef0e254db..1d261522a8 100644 --- a/docs/api/1.x/measurer.html +++ b/docs/api/1.x/measurer.html @@ -109,13 +109,13 @@

Mixins


- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/projection.BAIDU.html b/docs/api/1.x/projection.BAIDU.html index 9400edf362..a687062be3 100644 --- a/docs/api/1.x/projection.BAIDU.html +++ b/docs/api/1.x/projection.BAIDU.html @@ -1896,13 +1896,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/projection.Common.html b/docs/api/1.x/projection.Common.html index ad7d50162c..ea23cae632 100644 --- a/docs/api/1.x/projection.Common.html +++ b/docs/api/1.x/projection.Common.html @@ -1003,13 +1003,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/projection.DEFAULT.html b/docs/api/1.x/projection.DEFAULT.html index 1c2ad3fda7..d3f24ff87c 100644 --- a/docs/api/1.x/projection.DEFAULT.html +++ b/docs/api/1.x/projection.DEFAULT.html @@ -1847,13 +1847,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/projection.EPSG3857.html b/docs/api/1.x/projection.EPSG3857.html index 6553bb9475..343dcfa227 100644 --- a/docs/api/1.x/projection.EPSG3857.html +++ b/docs/api/1.x/projection.EPSG3857.html @@ -1835,13 +1835,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/projection.EPSG4326.html b/docs/api/1.x/projection.EPSG4326.html index 66f722325a..76246f8f5d 100644 --- a/docs/api/1.x/projection.EPSG4326.html +++ b/docs/api/1.x/projection.EPSG4326.html @@ -1835,13 +1835,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/projection.EPSG4490.html b/docs/api/1.x/projection.EPSG4490.html index 74a7d0b19d..62645a265e 100644 --- a/docs/api/1.x/projection.EPSG4490.html +++ b/docs/api/1.x/projection.EPSG4490.html @@ -951,13 +951,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/projection.IDENTITY.html b/docs/api/1.x/projection.IDENTITY.html index b14b96b34e..e82533eb34 100644 --- a/docs/api/1.x/projection.IDENTITY.html +++ b/docs/api/1.x/projection.IDENTITY.html @@ -1747,13 +1747,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:27 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:47 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/projection.html b/docs/api/1.x/projection.html index c476b104d7..c026669171 100644 --- a/docs/api/1.x/projection.html +++ b/docs/api/1.x/projection.html @@ -112,13 +112,13 @@

Mixins


- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/renderer.CanvasRenderer.html b/docs/api/1.x/renderer.CanvasRenderer.html index 2a3a3377f2..5c42565091 100644 --- a/docs/api/1.x/renderer.CanvasRenderer.html +++ b/docs/api/1.x/renderer.CanvasRenderer.html @@ -327,11 +327,11 @@

(abstract, protected) new renderer.CanvasRenderer(layer) - [source] + [source]

@@ -479,11 +479,11 @@

Methods

render() - [source] + [source]

@@ -551,11 +551,11 @@

(abstract) checkResources() - [source] + [source]

@@ -634,11 +634,11 @@
Returns:

(abstract) draw() - [source] + [source]

@@ -706,11 +706,11 @@

(abstract) (abstract) drawOnInteracting(eventParam) - [source] + [source]

@@ -823,11 +823,11 @@

(abstract)

needToRedraw() - [source] + [source]

@@ -902,11 +902,11 @@
Returns:

onSkipDrawOnInteracting() - [source] + [source]

@@ -974,11 +974,11 @@

mustRenderOnInteracting() - [source] + [source]

@@ -1046,11 +1046,11 @@

setToRedraw() - [source] + [source]

@@ -1118,11 +1118,11 @@

setCanvasUpdated() - [source] + [source]

@@ -1190,11 +1190,11 @@

(protected) isCanvasUpdated() - [source] + [source]

@@ -1269,11 +1269,11 @@
Returns:

remove() - [source] + [source]

@@ -1341,11 +1341,11 @@

getMap() - [source] + [source]

@@ -1420,11 +1420,11 @@
Returns:

getCanvasImage() - [source] + [source]

@@ -1499,11 +1499,11 @@
Returns:

clear() - [source] + [source]

@@ -1571,11 +1571,11 @@

isBlank() - [source] + [source]

@@ -1650,11 +1650,11 @@
Returns:

show() - [source] + [source]

@@ -1722,11 +1722,11 @@

s

hide() - [source] + [source]

@@ -1794,11 +1794,11 @@

h

setZIndex() - [source] + [source]

@@ -1866,11 +1866,11 @@

hitDetect(point) - [source] + [source]

@@ -1990,11 +1990,11 @@
Returns:

loadResources(resourceUrls, onComplete, context) - [source] + [source]

@@ -2160,11 +2160,11 @@
Returns:

createCanvas() - [source] + [source]

@@ -2232,11 +2232,11 @@

resizeCanvas(canvasSize) - [source] + [source]

@@ -2349,11 +2349,11 @@

clearCanvas() - [source] + [source]

@@ -2421,11 +2421,11 @@

prepareCanvas() - [source] + [source]

@@ -2504,11 +2504,11 @@
Returns:

getViewExtent() - [source] + [source]

@@ -2587,11 +2587,11 @@
Returns:

completeRender() - [source] + [source]

@@ -2659,11 +2659,11 @@

getEvents() - [source] + [source]

@@ -2742,11 +2742,11 @@
Returns:

onZoomStart(param) - [source] + [source]

@@ -2859,11 +2859,11 @@

onZoomEnd(param) - [source] + [source]

@@ -2976,11 +2976,11 @@

onZooming(param) - [source] + [source]

@@ -3093,11 +3093,11 @@

onMoveStart(param) - [source] + [source]

@@ -3210,11 +3210,11 @@

onMoving(param) - [source] + [source]

@@ -3327,11 +3327,11 @@

onMoveEnd(param) - [source] + [source]

@@ -3444,11 +3444,11 @@

onResize(param) - [source] + [source]

@@ -3561,11 +3561,11 @@

onDragRotateStart(param) - [source] + [source]

@@ -3678,11 +3678,11 @@

onDragRotating(param) - [source] + [source]

@@ -3795,11 +3795,11 @@

onDragRotateEnd(param) - [source] + [source]

@@ -3912,11 +3912,11 @@

onSpatialReferenceChange(param) - [source] + [source]

@@ -4029,11 +4029,11 @@

getDrawTime() - [source] + [source]

@@ -4532,13 +4532,13 @@


- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/renderer.html b/docs/api/1.x/renderer.html index 0295c923eb..ca0bc1e602 100644 --- a/docs/api/1.x/renderer.html +++ b/docs/api/1.x/renderer.html @@ -90,13 +90,13 @@

Classes


- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/ui.InfoWindow.html b/docs/api/1.x/ui.InfoWindow.html index 5b830e96eb..4a7d1e6705 100644 --- a/docs/api/1.x/ui.InfoWindow.html +++ b/docs/api/1.x/ui.InfoWindow.html @@ -5642,13 +5642,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/ui.Menu.html b/docs/api/1.x/ui.Menu.html index 0f2d88668a..cdd732d402 100644 --- a/docs/api/1.x/ui.Menu.html +++ b/docs/api/1.x/ui.Menu.html @@ -5411,13 +5411,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/ui.Menuable.html b/docs/api/1.x/ui.Menuable.html index a6ccaeb51c..9ddd119b1b 100644 --- a/docs/api/1.x/ui.Menuable.html +++ b/docs/api/1.x/ui.Menuable.html @@ -896,13 +896,13 @@
Returns:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/ui.ToolTip.html b/docs/api/1.x/ui.ToolTip.html index 3060955c2f..7abc384d32 100644 --- a/docs/api/1.x/ui.ToolTip.html +++ b/docs/api/1.x/ui.ToolTip.html @@ -5395,13 +5395,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/ui.UIComponent.html b/docs/api/1.x/ui.UIComponent.html index 00d304a165..0b3e60bb53 100644 --- a/docs/api/1.x/ui.UIComponent.html +++ b/docs/api/1.x/ui.UIComponent.html @@ -6366,13 +6366,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/ui.UIMarker.html b/docs/api/1.x/ui.UIMarker.html index 9dbe7d8cd8..ef3704e674 100644 --- a/docs/api/1.x/ui.UIMarker.html +++ b/docs/api/1.x/ui.UIMarker.html @@ -11461,13 +11461,13 @@
Properties:

- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:28 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:48 GMT+0800 (香港标准时间)
diff --git a/docs/api/1.x/worker.module.exports.html b/docs/api/1.x/worker.module.exports.html index e7dffaf54d..89c363ea3e 100644 --- a/docs/api/1.x/worker.module.exports.html +++ b/docs/api/1.x/worker.module.exports.html @@ -182,13 +182,13 @@

new
- Documentation generated by JSDoc 3.6.10 on Mon Oct 10 2022 12:10:26 GMT+0800 (香港标准时间) + Documentation generated by JSDoc 3.6.10 on Sat Nov 26 2022 10:51:46 GMT+0800 (香港标准时间)
diff --git a/package-lock.json b/package-lock.json index 2c7c7d56ba..1b0e390468 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "maptalks", - "version": "1.0.0-rc.14", + "version": "1.0.0-rc.15", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "maptalks", - "version": "1.0.0-rc.14", + "version": "1.0.0-rc.15", "license": "BSD-3-Clause", "dependencies": { "@maptalks/feature-filter": "^1.0.0", diff --git a/package.json b/package.json index f7e2486f2f..df82c7890e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "maptalks", - "version": "1.0.0-rc.14", + "version": "1.0.0-rc.15", "description": "A light JavaScript library to create integrated 2D/3D maps.", "license": "BSD-3-Clause", "author": "Fu Zhen", diff --git a/src/core/Canvas.js b/src/core/Canvas.js index 3f6e951445..c1e8c4a8da 100644 --- a/src/core/Canvas.js +++ b/src/core/Canvas.js @@ -26,6 +26,9 @@ const RADIAN = Math.PI / 180; const textOffsetY = 1; const Canvas = { + getCanvas2DContext(canvas) { + return canvas.getContext('2d', { willReadFrequently: true }); + }, setHitTesting(testing) { hitTesting = testing; }, diff --git a/src/core/util/marker.js b/src/core/util/marker.js index ddd1fc74fe..adbac796ed 100644 --- a/src/core/util/marker.js +++ b/src/core/util/marker.js @@ -204,5 +204,5 @@ export const DYNAMIC_SYMBOL_PROPS = [ ]; export const SIZE_SYMBOL_PROPS = [ - 'textName', 'markerType', 'markerFile', 'textHaloRadius', 'shadowBlur', 'shadowOffsetX', 'shadowOffsetY' + 'textName', 'markerType', 'markerFile', 'textHaloRadius', 'shadowBlur', 'shadowOffsetX', 'shadowOffsetY', 'textWrapWidth' ]; diff --git a/src/geometry/TextBox.js b/src/geometry/TextBox.js index 007467b734..7e4250e987 100644 --- a/src/geometry/TextBox.js +++ b/src/geometry/TextBox.js @@ -1,6 +1,7 @@ import { extend, isNil } from '../core/util'; import { escapeSpecialChars } from '../core/util/strings'; import TextMarker from './TextMarker'; +import { isFunctionDefinition, interpolated } from '@maptalks/function-type'; /** * @property {Object} [options=null] - textbox's options, also including options of [Marker]{@link Marker#options} @@ -187,9 +188,30 @@ class TextBox extends TextMarker { _refresh() { const textStyle = this.getTextStyle() || {}, - padding = textStyle['padding'] || [12, 8], - maxWidth = this._width - 2 * padding[0], + padding = textStyle['padding'] || [12, 8]; + let maxWidth, maxHeight; + if (isFunctionDefinition(this._width)) { + maxWidth = JSON.parse(JSON.stringify(this._width)); + const stops = maxWidth.stops; + if (stops) { + for (let i = 0; i < stops.length; i++) { + stops[i][1] = stops[i][1] - 2 * padding[0]; + } + } + } else { + maxWidth = this._width - 2 * padding[0]; + } + if (isFunctionDefinition(this._height)) { + maxHeight = JSON.parse(JSON.stringify(this._height)); + const stops = maxHeight.stops; + if (stops) { + for (let i = 0; i < stops.length; i++) { + stops[i][1] = stops[i][1] - 2 * padding[1]; + } + } + } else { maxHeight = this._height - 2 * padding[1]; + } const symbol = extend({}, textStyle.symbol || this._getDefaultTextSymbol(), this.options.boxSymbol || this._getDefaultBoxSymbol(), @@ -207,31 +229,113 @@ class TextBox extends TextMarker { symbol['textWrapWidth'] = maxWidth; } + // function-type markerWidth and markerHeight doesn't support left/right horizontalAlignment and top/bottom verticalAlignment now const hAlign = textStyle['horizontalAlignment']; symbol['textDx'] = symbol['markerDx'] || 0; - const offsetX = symbol['markerWidth'] / 2 - padding[0]; + let offsetX; + if (isFunctionDefinition(this._width)) { + offsetX = JSON.parse(JSON.stringify(this._width)); + const stops = offsetX.stops; + if (stops) { + for (let i = 0; i < stops.length; i++) { + stops[i][1] = stops[i][1] / 2 - padding[0]; + if (hAlign === 'left') { + stops[i][1] *= -1; + } + } + } + } else { + offsetX = symbol['markerWidth'] / 2 - padding[0]; + if (hAlign === 'left') { + offsetX *= -1; + } + } if (hAlign === 'left') { symbol['textHorizontalAlignment'] = 'right'; - symbol['textDx'] = symbol['textDx'] - offsetX; + symbol['textDx'] = offsetX; } else if (hAlign === 'right') { symbol['textHorizontalAlignment'] = 'left'; - symbol['textDx'] = symbol['textDx'] + offsetX; + symbol['textDx'] = offsetX; } const vAlign = textStyle['verticalAlignment']; symbol['textDy'] = symbol['markerDy'] || 0; - const offsetY = symbol['markerHeight'] / 2 - padding[1]; + let offsetY; + if (isFunctionDefinition(this._height)) { + offsetY = JSON.parse(JSON.stringify(this._height)); + const stops = offsetY.stops; + if (stops) { + for (let i = 0; i < stops.length; i++) { + stops[i][1] = stops[i][1] / 2 - padding[1]; + if (vAlign === 'top') { + stops[i][1] *= -1; + } + } + } + } else { + offsetY = symbol['markerHeight'] / 2 - padding[1]; + if (vAlign === 'top') { + offsetY *= -1; + } + } if (vAlign === 'top') { symbol['textVerticalAlignment'] = 'bottom'; - symbol['textDy'] -= offsetY; + symbol['textDy'] = offsetY; } else if (vAlign === 'bottom') { symbol['textVerticalAlignment'] = 'top'; - symbol['textDy'] += offsetY; + symbol['textDy'] = offsetY; } this._refreshing = true; this.updateSymbol(symbol); delete this._refreshing; } + + startEdit(opts) { + const symbol = this._getCompiledSymbol(); + console.log(symbol['markerWidth']); + if (isFunctionDefinition(this._width)) { + const markerWidth = symbol['markerWidth']; + console.log(markerWidth); + this._oldWidth = this._width; + this.setWidth(markerWidth); + } + if (isFunctionDefinition(this._height)) { + const markerHeight = symbol['markerHeight']; + this._oldHeight = this._height; + this.setHeight(markerHeight); + } + super.startEdit(opts); + } + + endEdit() { + const map = this.getMap(); + const zoom = map && map.getZoom(); + if (this._oldWidth) { + const markerWidth = this._width; + const widthFn = interpolated(this._oldWidth); + const oldExpectedWidth = widthFn(zoom); + const scale = markerWidth / oldExpectedWidth; + const stops = this._oldWidth.stops; + for (let i = 0; i < stops.length; i++) { + stops[i][1] *= scale; + } + this.setWidth(this._oldWidth); + delete this._oldWidth; + } + if (this._oldHeight) { + const markerHeight = this._height; + const heightFn = interpolated(this._oldHeight); + const oldExpectedHeight = heightFn(zoom); + const scale = markerHeight / oldExpectedHeight; + const stops = this._oldHeight.stops; + for (let i = 0; i < stops.length; i++) { + stops[i][1] *= scale; + } + this.setHeight(this._oldHeight); + delete this._oldHeight; + } + super.endEdit(); + } } TextBox.mergeOptions(options); diff --git a/src/geometry/ext/Geometry.Edit.js b/src/geometry/ext/Geometry.Edit.js index 53a22c7e15..086f518984 100644 --- a/src/geometry/ext/Geometry.Edit.js +++ b/src/geometry/ext/Geometry.Edit.js @@ -17,7 +17,9 @@ Geometry.include(/** @lends Geometry.prototype */ { if (!this.getMap() || !this.options['editable']) { return this; } - this.endEdit(); + if (this._editor) { + this.endEdit(); + } this._editor = new GeometryEditor(this, opts); this._editor.start(); /** diff --git a/src/layer/OverlayLayer.js b/src/layer/OverlayLayer.js index 65cf412264..a93fefcdc1 100644 --- a/src/layer/OverlayLayer.js +++ b/src/layer/OverlayLayer.js @@ -19,6 +19,8 @@ const options = { }; +const TMP_EVENTS_ARR = []; + /** * @classdesc * Base class of all the layers that can add/remove geometries.
@@ -663,6 +665,27 @@ class OverlayLayer extends Layer { this._getRenderer().onGeometryPropertiesChange(param); } } + + _hasGeoListeners(eventTypes) { + if (!eventTypes) { + return false; + } + if (!Array.isArray(eventTypes)) { + TMP_EVENTS_ARR[0] = eventTypes; + eventTypes = TMP_EVENTS_ARR; + } + const geos = this.getGeometries() || []; + for (let i = 0, len = geos.length; i < len; i++) { + for (let j = 0, len1 = eventTypes.length; j < len1; j++) { + const eventType = eventTypes[j]; + const listens = geos[i].listens(eventType); + if (listens > 0) { + return true; + } + } + } + return false; + } } OverlayLayer.mergeOptions(options); diff --git a/src/layer/tile/TileLayer.js b/src/layer/tile/TileLayer.js index 265a12af88..16ed1bb6ad 100644 --- a/src/layer/tile/TileLayer.js +++ b/src/layer/tile/TileLayer.js @@ -20,8 +20,6 @@ import Layer from '../Layer'; import SpatialReference from '../../map/spatial-reference/SpatialReference'; import { intersectsBox } from 'frustum-intersects'; import * as vec3 from '../../core/util/vec3'; -import { registerWorkerAdapter } from '../../core/worker/Worker'; -import { imageFetchWorkerKey } from '../../core/worker/CoreWorkers'; const DEFAULT_MAXERROR = 1; const TEMP_POINT = new Point(0, 0); @@ -1321,50 +1319,3 @@ function distanceToRect(min, max, xyz) { return Math.sqrt(dx * dx + dy * dy + dz * dz); } -const workerSource = ` -function (exports) { - exports.onmessage = function (msg, postResponse) { - var url = msg.data.url; - var fetchOptions = msg.data.fetchOptions; - requestImageOffscreen(url, function (err, data) { - var buffers = []; - if (data && data.data && data.data.buffer) { - buffers.push(data.data.buffer); - } - postResponse(err, data, buffers); - }, fetchOptions); - }; - - var offCanvas, offCtx; - function requestImageOffscreen(url, cb, fetchOptions) { - if (!offCanvas) { - offCanvas = new OffscreenCanvas(2, 2); - offCtx = offCanvas.getContext('2d'); - } - fetch(url, fetchOptions ? fetchOptions : {}) - .then(response => response.blob()) - .then(blob => createImageBitmap(blob)) - .then(bitmap => { - var { width, height } = bitmap; - offCanvas.width = width; - offCanvas.height = height; - offCtx.drawImage(bitmap, 0, 0); - bitmap.close(); - var imgData = offCtx.getImageData(0, 0, width, height); - // debugger - cb(null, { width, height, data: new Uint8Array(imgData.data) }); - }).catch(err => { - console.warn('error when loading tile:', url); - console.warn(err); - cb(err); - }); - } -}`; - -function registerWorkerSource() { - if (!Browser.decodeImageInWorker) { - return; - } - registerWorkerAdapter(imageFetchWorkerKey, function () { return workerSource; }); -} -registerWorkerSource(); diff --git a/src/layer/tile/WMSTileLayer.js b/src/layer/tile/WMSTileLayer.js index 9a31140dae..f872bfae31 100644 --- a/src/layer/tile/WMSTileLayer.js +++ b/src/layer/tile/WMSTileLayer.js @@ -88,7 +88,7 @@ class WMSTileLayer extends TileLayer { const max = tileExtent.getMax(), min = tileExtent.getMin(); - const bbox = (this._wmsVersion >= 1.3 && this.wmsParams.crs === 'EPSG:4326' ? + const bbox = (this._wmsVersion >= 1.3 && (this.wmsParams.crs === 'EPSG:4326' || this.wmsParams.crs === 'EPSG:4490') ? [min.y, min.x, max.y, max.x] : [min.x, min.y, max.x, max.y]).join(','); diff --git a/src/map/Map.Anim.js b/src/map/Map.Anim.js index fe09102b1c..69c3820347 100644 --- a/src/map/Map.Anim.js +++ b/src/map/Map.Anim.js @@ -474,7 +474,7 @@ Map.include(/** @lends Map.prototype */{ if (!this._animPlayer) { return; } - if (props['center']) { + if (props['center'] || props['prjCenter']) { this.onMoveStart(); } if (props['zoom'] && !this.isZooming()) { diff --git a/src/map/Map.Topo.js b/src/map/Map.Topo.js index 0c09406a5b..b82fbf411b 100644 --- a/src/map/Map.Topo.js +++ b/src/map/Map.Topo.js @@ -114,7 +114,8 @@ Map.include(/** @lends Map.prototype */ { if (!isArrayHasData(reqLayers)) { return this; } - const layers = []; + const eventTypes = opts.eventTypes; + let layers = []; for (let i = 0, len = reqLayers.length; i < len; i++) { if (isString(reqLayers[i])) { layers.push(this.getLayer(reqLayers[i])); @@ -122,6 +123,15 @@ Map.include(/** @lends Map.prototype */ { layers.push(reqLayers[i]); } } + if (eventTypes) { + layers = layers.filter(layer => { + if (!layer._hasGeoListeners) { + return true; + } + return layer._hasGeoListeners(eventTypes); + }); + } + const hits = []; for (let i = layers.length - 1; i >= 0; i--) { diff --git a/src/map/Map.js b/src/map/Map.js index 7ab348cb48..ec195564a0 100644 --- a/src/map/Map.js +++ b/src/map/Map.js @@ -1181,11 +1181,14 @@ class Map extends Handlerable(Eventable(Renderable(Class))) { if (renderer) { renderer.setLayerCanvasUpdated(); } - this.once('frameend', () => { - removed.forEach(layer => { - layer.fire('remove'); - }); + removed.forEach(layer => { + layer.fire('remove'); }); + // this.once('frameend', () => { + // removed.forEach(layer => { + // layer.fire('remove'); + // }); + // }); } /** * removelayer event, fired when removing layers. diff --git a/src/map/handler/Map.GeometryEvents.js b/src/map/handler/Map.GeometryEvents.js index e091babc5f..3cb15f274c 100644 --- a/src/map/handler/Map.GeometryEvents.js +++ b/src/map/handler/Map.GeometryEvents.js @@ -147,6 +147,11 @@ const EVENTS = * @property {Event} domEvent - dom event */ +const MOUSEEVENT_ASSOCIATION_TABLE = { + 'mousemove': ['mousemove', 'mouseover', 'mouseout', 'mouseenter'], + 'touchend': ['touchend', 'click'] +}; + class MapGeometryEventsHandler extends Handler { addHooks() { @@ -230,7 +235,7 @@ class MapGeometryEventsHandler extends Handler { return; } - + const eventTypes = MOUSEEVENT_ASSOCIATION_TABLE[eventType] || [eventType]; const identifyOptions = { 'includeInternals': true, //return only one geometry on top, @@ -253,9 +258,10 @@ class MapGeometryEventsHandler extends Handler { return true; }, 'count': 1, - 'containerPoint': containerPoint, 'onlyVisible': map.options['onlyVisibleGeometryEvents'], - 'layers': layers + containerPoint, + layers, + eventTypes }; const callback = fireGeometryEvent.bind(this); diff --git a/src/map/tool/DrawTool.js b/src/map/tool/DrawTool.js index d152a0af86..565d0fffb0 100644 --- a/src/map/tool/DrawTool.js +++ b/src/map/tool/DrawTool.js @@ -210,7 +210,7 @@ class DrawTool extends MapTool { onDisable() { const map = this.getMap(); this._restoreMapCfg(); - this.endDraw(); + this.endDraw({ ignoreEndEvent: true }); if (this._map) { map.removeLayer(this._getDrawLayer()); if (this.options['autoPanAtEdge']) { @@ -362,12 +362,13 @@ class DrawTool extends MapTool { * @private */ _clickHandler(event) { + const map = this.getMap(); const registerMode = this._getRegisterMode(); // const coordinate = event['coordinate']; //dbclick will trigger two click if (this._clickCoords && this._clickCoords.length) { const len = this._clickCoords.length; - const prjCoord = this.getMap()._pointToPrj(event['point2d']); + const prjCoord = map._pointToPrj(event['point2d']); if (this._clickCoords[len - 1].equals(prjCoord)) { return; } @@ -375,20 +376,25 @@ class DrawTool extends MapTool { if (!this._geometry) { this._createGeometry(event); } else { - let prjCoord = this.getMap()._pointToPrj(event['point2d']); - const snapTo = this._geometry.snapTo; - //for adsorption effect - if (snapTo && isFunction(snapTo)) { - const containerPoint = this._geometry.snapTo(event.containerPoint) || event.containerPoint; - prjCoord = this.getMap()._containerPointToPrj(containerPoint); - } + let prjCoord = map._pointToPrj(event['point2d']); if (!isNil(this._historyPointer)) { this._clickCoords = this._clickCoords.slice(0, this._historyPointer); } + //for snap effect + const snapTo = this._geometry.snapTo; + if (snapTo && isFunction(snapTo)) { + const snapResult = this._getSnapResult(snapTo, event.containerPoint); + prjCoord = snapResult.prjCoord; + this._clickCoords = this._clickCoords.concat(snapResult.effectedVertex); + // ensure snap won't trigger again when dblclick + if (this._clickCoords[this._clickCoords.length - 1].equals(prjCoord)) { + return; + } + } this._clickCoords.push(prjCoord); this._historyPointer = this._clickCoords.length; event.drawTool = this; - registerMode['update'](this.getMap().getProjection(), this._clickCoords, this._geometry, event); + registerMode['update'](map.getProjection(), this._clickCoords, this._geometry, event); if (this.getMode() === 'point') { this.endDraw(event); return; @@ -452,6 +458,17 @@ class DrawTool extends MapTool { * @property {Event} domEvent - dom event */ this._fireEvent('drawstart', event); + // snapTo First coordinate point + const snapTo = this._geometry.snapTo; + if (snapTo && isFunction(snapTo)) { + const snapResult = this._getSnapResult(snapTo, event.containerPoint); + const map = this.getMap(); + if (map && snapResult) { + const prjCoord = snapResult.prjCoord; + this._clickCoords = [prjCoord]; + registerMode['update'](map.getProjection(), this._clickCoords, this._geometry, event); + } + } } if (mode === 'point' && event.type !== 'mousemove') { this.endDraw(event); @@ -476,14 +493,18 @@ class DrawTool extends MapTool { if (!this._geometry) { return; } - let containerPoint = this._getMouseContainerPoint(event); + const containerPoint = this._getMouseContainerPoint(event); if (!this._isValidContainerPoint(containerPoint)) { return; } - let prjCoord = this.getMap()._pointToPrj(event['point2d']); - if (this._geometry.snapTo) { - containerPoint = this._geometry.snapTo(containerPoint) || containerPoint; - prjCoord = map._containerPointToPrj(containerPoint); + let prjCoord = map._pointToPrj(event['point2d']); + // for snap effect + let snapAdditionVertex = []; + const snapTo = this._geometry.snapTo; + if (snapTo && isFunction(snapTo)) { + const snapResult = this._getSnapResult(snapTo, containerPoint); + prjCoord = snapResult.prjCoord; + snapAdditionVertex = snapResult.effectedVertex; } const projection = map.getProjection(); event.drawTool = this; @@ -493,7 +514,7 @@ class DrawTool extends MapTool { if (path && path.length > 0 && prjCoord.equals(path[path.length - 1])) { return; } - registerMode['update'](projection, path.concat([prjCoord]), this._geometry, event); + registerMode['update'](projection, path.concat(snapAdditionVertex, [prjCoord]), this._geometry, event); } else { //free hand mode registerMode['update'](projection, prjCoord, this._geometry, event); @@ -585,7 +606,9 @@ class DrawTool extends MapTool { * @property {Point} viewPoint - view point of the event * @property {Event} domEvent - dom event */ - this._fireEvent('drawend', param); + if (!param.ignoreEndEvent) { + this._fireEvent('drawend', param); + } delete this._geometry; if (this.options['once']) { this.disable(); @@ -631,6 +654,29 @@ class DrawTool extends MapTool { return true; } + _getSnapResult(snapTo, containerPoint) { + const map = this.getMap(); + const lastContainerPoints = []; + if (this.options.edgeAutoComplete) { + const lastCoord = this._clickCoords[(this._historyPointer || 1) - 1]; + lastContainerPoints.push(map._prjToContainerPoint(lastCoord)); + const beforeLastCoord = this._clickCoords[(this._historyPointer || 1) - 2]; + if (beforeLastCoord) { + lastContainerPoints.push(map._prjToContainerPoint(beforeLastCoord)); + } + } + const snapResult = snapTo(containerPoint, lastContainerPoints); + containerPoint = (snapResult.effectedVertex ? snapResult.point : snapResult) || containerPoint; + const prjCoord = map._containerPointToPrj(containerPoint); + if (snapResult.effectedVertex) { + snapResult.effectedVertex = snapResult.effectedVertex.map(vertex => map._containerPointToPrj(vertex)); + } + return { + prjCoord, + effectedVertex: snapResult.effectedVertex || [] + }; + } + _getDrawLayer() { const drawLayerId = INTERNAL_LAYER_PREFIX + 'drawtool'; let drawToolLayer = this._map.getLayer(drawLayerId); diff --git a/src/renderer/geometry/Painter.js b/src/renderer/geometry/Painter.js index 2274d48078..87178d0714 100644 --- a/src/renderer/geometry/Painter.js +++ b/src/renderer/geometry/Painter.js @@ -634,7 +634,7 @@ class Painter extends Class { } Canvas.setHitTesting(true); testCanvas.width = testCanvas.height = 2 * tolerance; - const ctx = testCanvas.getContext('2d'); + const ctx = Canvas.getCanvas2DContext(testCanvas); try { this.paint(null, ctx, this._hitPoint); } catch (e) { diff --git a/src/renderer/layer/CanvasRenderer.js b/src/renderer/layer/CanvasRenderer.js index f714a9184d..05da117d2d 100644 --- a/src/renderer/layer/CanvasRenderer.js +++ b/src/renderer/layer/CanvasRenderer.js @@ -6,6 +6,7 @@ import Canvas2D from '../../core/Canvas'; import Actor from '../../core/worker/Actor'; import Point from '../../geo/Point'; import { imageFetchWorkerKey } from '../../core/worker/CoreWorkers'; +import { registerWorkerAdapter } from '../../core/worker/Worker'; const EMPTY_ARRAY = []; class ResourceWorkerConnection extends Actor { @@ -427,7 +428,7 @@ class CanvasRenderer extends Class { if (this.gl && this.gl.canvas === this.canvas || this.context) { return; } - this.context = this.canvas.getContext('2d'); + this.context = Canvas2D.getCanvas2DContext(this.canvas); if (!this.context) { return; } @@ -959,3 +960,51 @@ export class ResourceCache { this.resources = {}; } } + +const workerSource = ` +function (exports) { + exports.onmessage = function (msg, postResponse) { + var url = msg.data.url; + var fetchOptions = msg.data.fetchOptions; + requestImageOffscreen(url, function (err, data) { + var buffers = []; + if (data && data.data && data.data.buffer) { + buffers.push(data.data.buffer); + } + postResponse(err, data, buffers); + }, fetchOptions); + }; + + var offCanvas, offCtx; + function requestImageOffscreen(url, cb, fetchOptions) { + if (!offCanvas) { + offCanvas = new OffscreenCanvas(2, 2); + offCtx = offCanvas.getContext('2d',{willReadFrequently: true }); + } + fetch(url, fetchOptions ? fetchOptions : {}) + .then(response => response.blob()) + .then(blob => createImageBitmap(blob)) + .then(bitmap => { + var { width, height } = bitmap; + offCanvas.width = width; + offCanvas.height = height; + offCtx.drawImage(bitmap, 0, 0); + bitmap.close(); + var imgData = offCtx.getImageData(0, 0, width, height); + // debugger + cb(null, { width, height, data: new Uint8Array(imgData.data) }); + }).catch(err => { + console.warn('error when loading tile:', url); + console.warn(err); + cb(err); + }); + } +}`; + +function registerWorkerSource() { + if (!Browser.decodeImageInWorker) { + return; + } + registerWorkerAdapter(imageFetchWorkerKey, function () { return workerSource; }); +} +registerWorkerSource(); diff --git a/src/renderer/map/MapCanvasRenderer.js b/src/renderer/map/MapCanvasRenderer.js index c1ca173af0..1cf34a1bba 100644 --- a/src/renderer/map/MapCanvasRenderer.js +++ b/src/renderer/map/MapCanvasRenderer.js @@ -22,7 +22,6 @@ class MapCanvasRenderer extends MapRenderer { super(map); //container is a element this._containerIsCanvas = !!map._containerDOM.getContext; - this._thisVisibilitychange = this._onVisibilitychange.bind(this); this._registerEvents(); this._loopTime = 0; } @@ -893,7 +892,9 @@ class MapCanvasRenderer extends MapRenderer { }); if (Browser.webgl && typeof document !== 'undefined') { - addDomEvent(document, 'visibilitychange', this._thisVisibilitychange, this); + addDomEvent(document, 'visibilitychange', this._thisDocVisibilitychange, this); + addDomEvent(document, 'dragstart', this._thisDocDragStart, this); + addDomEvent(document, 'dragend', this._thisDocDragEnd, this); } if (Browser.addDPRListening) { Browser.addDPRListening(this.map); @@ -917,13 +918,6 @@ class MapCanvasRenderer extends MapRenderer { return this.map._getLayers(layer => layer.isCanvasRender()); } - _onVisibilitychange() { - if (document.visibilityState !== 'visible') { - return; - } - this.setToRedraw(); - } - //----------- top elements methods ------------- // edit handles or edit outlines addTopElement(e) { @@ -965,15 +959,6 @@ class MapCanvasRenderer extends MapRenderer { this.map.fire('drawtopsend'); } - _containerIsOffscreen() { - const container = this.map.getContainer(); - if (!container || !container.style || container.style.display === 'none') { - return true; - } - const minSize = Math.min(container.clientWidth, container.clientHeight); - return minSize <= 0; - } - } Map.registerRenderer('canvas', MapCanvasRenderer); diff --git a/src/renderer/map/MapRenderer.js b/src/renderer/map/MapRenderer.js index 7e22dc30b3..02ebe1434d 100644 --- a/src/renderer/map/MapRenderer.js +++ b/src/renderer/map/MapRenderer.js @@ -17,6 +17,9 @@ class MapRenderer extends Class { super(); this.map = map; this._handlerQueue = []; + this._thisDocVisibilitychange = this._onDocVisibilitychange.bind(this); + this._thisDocDragStart = this._onDocDragStart.bind(this); + this._thisDocDragEnd = this._onDocDragEnd.bind(this); } callInNextFrame(fn) { @@ -103,6 +106,45 @@ class MapRenderer extends Class { onLoad() { this._frameLoop(); } + + _onDocVisibilitychange() { + if (document.visibilityState !== 'visible') { + return; + } + this.setToRedraw(); + } + + _getWrapPanel() { + if (!this.map) { + return null; + } + const panels = this.map.getPanels(); + return panels && panels.mapWrapper; + } + _onDocDragStart() { + const wrapPanel = this._getWrapPanel(); + if (wrapPanel) { + wrapPanel.style.overflow = 'visible'; + } + return; + } + + _onDocDragEnd() { + const wrapPanel = this._getWrapPanel(); + if (wrapPanel) { + wrapPanel.style.overflow = 'hidden'; + } + return; + } + + _containerIsOffscreen() { + const container = this.map.getContainer(); + if (!container || !container.style || container.style.display === 'none') { + return true; + } + const minSize = Math.min(container.clientWidth, container.clientHeight); + return minSize <= 0; + } } export default MapRenderer; diff --git a/test/geometry/AGeometryRemoveHideSpec.js b/test/geometry/AGeometryRemoveHideSpec.js index d48e15e838..525a8de957 100644 --- a/test/geometry/AGeometryRemoveHideSpec.js +++ b/test/geometry/AGeometryRemoveHideSpec.js @@ -34,10 +34,10 @@ describe('Geometry.RemoveHide', function () { var geometries = GEN_GEOMETRIES_OF_ALL_TYPES(); //override marker's default symbol by a 10 * 10 ellipse geometries[0].setSymbol({ - markerType : 'ellipse', - markerWidth : 10, - markerHeight : 10, - markerFill : '#000' + markerType: 'ellipse', + markerWidth: 10, + markerHeight: 10, + markerFill: '#000' }); for (var i = 0, len = geometries.length; i < len; i++) { testRemoveHide.call(this, geometries[i], context); @@ -46,7 +46,7 @@ describe('Geometry.RemoveHide', function () { }); function getTestPoints(geometry, context) { - var layer = context.layer, + var layer = context.layer, map = layer.getMap(); var coordinates = [ geometry.getCenter(), @@ -99,11 +99,11 @@ function test(geometry, context, fn, done) { if (geometry instanceof maptalks.Polygon || geometry instanceof maptalks.LineString || geometry instanceof maptalks.MultiLineString || geometry instanceof maptalks.MultiPolygon) { geometry.setSymbol({ - 'lineWidth' : 2, - 'lineColor' : '#000000', - 'lineOpacity' : 1, - 'polygonFill' : '#000000', - 'polygonOpacity' : 1 + 'lineWidth': 2, + 'lineColor': '#000000', + 'lineOpacity': 1, + 'polygonFill': '#000000', + 'polygonOpacity': 1 }); } var testPoints = getTestPoints(geometry, context); @@ -117,8 +117,10 @@ function test(geometry, context, fn, done) { done(); }); layer.once('remove', function () { - expect(isDrawn(testPoints, context.container)).not.to.be.ok(); - done(); + map.once('frameend', function () { + expect(isDrawn(testPoints, context.container)).not.to.be.ok(); + done(); + }) }); layer.once('hide', function () { expect(isDrawn(testPoints, context.container)).not.to.be.ok(); @@ -189,21 +191,21 @@ function testRemoveHide(geometry, _context) { map.setCenter(geometry.getFirstCoordinate()); if (!(geometry instanceof maptalks.Marker) && !(geometry instanceof maptalks.MultiPoint)) { geometry.setSymbol({ - 'lineWidth' : 5, - 'lineColor' : '#000000', - 'lineOpacity' : 1, - 'polygonFill' : '#000000', - 'polygonOpacity' : 1 + 'lineWidth': 5, + 'lineColor': '#000000', + 'lineOpacity': 1, + 'polygonFill': '#000000', + 'polygonOpacity': 1 }); } else { geometry.setSymbol({ - 'markerType' : 'pie', - 'markerHeight' : 24, - 'markerWidth' : 24, - 'markerFill' : '#de3333', - 'markerLineColor' : '#ffffff', - 'markerLineWidth' : 1, - 'opacity' : 1 + 'markerType': 'pie', + 'markerHeight': 24, + 'markerWidth': 24, + 'markerFill': '#de3333', + 'markerLineColor': '#ffffff', + 'markerLineWidth': 1, + 'opacity': 1 }); } var testPoints = getTestPoints(geometry, _context); @@ -225,7 +227,7 @@ function testRemoveHide(geometry, _context) { //layer throws layerload event right after editLayer in current frame //remove the geometry in the next frame geometry.remove(); - },1); + }, 1); }, 40); }); }); diff --git a/test/geometry/TextBoxSpec.js b/test/geometry/TextBoxSpec.js index 5fd413f854..12d9a35f85 100644 --- a/test/geometry/TextBoxSpec.js +++ b/test/geometry/TextBoxSpec.js @@ -331,4 +331,21 @@ describe('Geometry.TextBox', function () { expect(textBox instanceof maptalks.TextBox).to.be.ok(); expect(maptalks.Util.extend({}, textBox.getTextStyle().symbol, textBox.getBoxSymbol())).to.be.eql(json.symbol); }); + + it('dynamic width, height', function () { + var width = { + stops: [[1, 2], [20, 40]] + }; + var height = { + stops: [[1, 1], [20, 20]] + }; + var vector = new maptalks.TextBox('■■■', center, width, height); + layer = new maptalks.VectorLayer('id'); + map.addLayer(layer); + layer.addGeometry(vector); + var symbol = vector._getCompiledSymbol(); + expect(symbol.markerWidth).to.be.eql(34); + expect(symbol.markerHeight).to.be.eql(17); + }); + }); diff --git a/test/layer/WMSTileLayerSpec.js b/test/layer/WMSTileLayerSpec.js index 9b2d425714..f651fee102 100644 --- a/test/layer/WMSTileLayerSpec.js +++ b/test/layer/WMSTileLayerSpec.js @@ -84,7 +84,8 @@ describe('WMSTileLayer', function () { 'renderer' : 'canvas' }); map.addLayer(tile); - expect(tile.getTileUrl(1, 2, 1)).to.be.eql('/resources/tile.png?SERVICE=WMS&REQUEST=GetMap&LAYERS=layer&STYLES=styles&FORMAT=image%2Fpng&TRANSPARENT=true&VERSION=1.3.0&WIDTH=256&HEIGHT=256&CRS=EPSG%3A4490&BBOX=0,-40075016.68557848,20037508.342789244,-20037508.342789244'); + var expected = '/resources/tile.png?SERVICE=WMS&REQUEST=GetMap&LAYERS=layer&STYLES=styles&FORMAT=image%2Fpng&TRANSPARENT=true&VERSION=1.3.0&WIDTH=256&HEIGHT=256&CRS=EPSG%3A4490&BBOX=-40075016.68557848,0,-20037508.342789244,20037508.342789244'; + expect(tile.getTileUrl(1, 2, 1)).to.be.eql(expected); }); it('map with crs EPSG:4326', function () {