mars2d-esri 3.3.7 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/mars2d-esri.js +13 -9
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -35,7 +35,7 @@ Mars2D平台插件, 支持结合esri公司的ArcGIS Server功能支持插件
|
|
|
35
35
|
Leaflet、mars2d
|
|
36
36
|
|
|
37
37
|
## Mars2D 是什么
|
|
38
|
-
`Mars2D平台`
|
|
38
|
+
`Mars2D平台` 是一款免费的二维地图客户端开发平台,基于[Leaflet](http://leafletjs.com/)优化提升与B/S架构设计,支持多行业扩展的轻量级高效能GIS开发平台,提供了全新的大数据可视化、实时流数据可视化功能,通过本平台可快速实现浏览器和移动端上美观、流畅的地图呈现与空间分析,完成平台在不同行业的灵活应用。
|
|
39
39
|
|
|
40
40
|
|
|
41
41
|
### 相关网站
|
|
@@ -45,5 +45,5 @@ Leaflet、mars2d
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
## 版权说明
|
|
48
|
-
1. Mars2D平台由[
|
|
48
|
+
1. Mars2D平台由[mars2d团队](http://mars2d.cn/)自主研发,拥有所有权利。
|
|
49
49
|
2. 任何个人或组织可以在遵守相关要求下可以免费无限制使用。
|
package/mars2d-esri.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Mars2D平台插件,ArcGIS Server功能支持插件 mars2d-esri
|
|
3
3
|
*
|
|
4
|
-
* 版本信息:v3.
|
|
5
|
-
* 编译日期:
|
|
6
|
-
* 版权所有:Copyright by
|
|
4
|
+
* 版本信息:v3.4.1
|
|
5
|
+
* 编译日期:2026-03-17 20:19
|
|
6
|
+
* 版权所有:Copyright by http://mars2d.cn
|
|
7
7
|
* 使用单位:免费公开版 ,2025-01-23
|
|
8
8
|
*/
|
|
9
9
|
(function (global, factory) {
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
|
|
38
38
|
var name = "esri-leaflet";
|
|
39
39
|
var description = "Leaflet plugins for consuming ArcGIS Online and ArcGIS Server services.";
|
|
40
|
-
var version$2 = "3.0.
|
|
40
|
+
var version$2 = "3.0.19";
|
|
41
41
|
var author = "Patrick Arlt <parlt@esri.com> (http://patrickarlt.com)";
|
|
42
42
|
var bugs = {
|
|
43
43
|
url: "https://github.com/esri/esri-leaflet/issues"
|
|
@@ -2601,10 +2601,10 @@
|
|
|
2601
2601
|
*/
|
|
2602
2602
|
tile.alt = "";
|
|
2603
2603
|
|
|
2604
|
-
// if
|
|
2604
|
+
// if this is a map with a custom CRS or an lod map with a proper zoom load the tile
|
|
2605
2605
|
// otherwise wait for the lod map to become available
|
|
2606
2606
|
if (
|
|
2607
|
-
|
|
2607
|
+
this._lodMap === "crs" ||
|
|
2608
2608
|
(this._lodMap && this._lodMap[this._getZoomForUrl()] !== undefined)
|
|
2609
2609
|
) {
|
|
2610
2610
|
tile.src = this.getTileUrl(coords);
|
|
@@ -2674,7 +2674,11 @@
|
|
|
2674
2674
|
map.options.crs &&
|
|
2675
2675
|
map.options.crs.code &&
|
|
2676
2676
|
map.options.crs.code.indexOf(sr) > -1
|
|
2677
|
-
)
|
|
2677
|
+
) {
|
|
2678
|
+
// if the projection is WGS84, or the developer is using Proj4 to define a custom CRS, no action is required
|
|
2679
|
+
this._lodMap = "crs";
|
|
2680
|
+
this.fire("lodmap");
|
|
2681
|
+
} else {
|
|
2678
2682
|
// if the service was cached in a custom projection and an appropriate LOD hasn't been defined in the map, guide the developer to our Proj4 sample
|
|
2679
2683
|
warn(
|
|
2680
2684
|
"L.esri.TiledMapLayer is using a non-mercator spatial reference. Support may be available through Proj4Leaflet https://developers.arcgis.com/esri-leaflet/samples/non-mercator-projection/",
|
|
@@ -5328,8 +5332,8 @@
|
|
|
5328
5332
|
featureLayer: featureLayer
|
|
5329
5333
|
};
|
|
5330
5334
|
|
|
5331
|
-
const version = "3.
|
|
5332
|
-
const buildTime = "
|
|
5335
|
+
const version = "3.4.1";
|
|
5336
|
+
const buildTime = "2026-03-17 20:18";
|
|
5333
5337
|
|
|
5334
5338
|
/**
|
|
5335
5339
|
* @typedef {Object} ArcGisImageLayer.EventType
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mars2d-esri",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.1",
|
|
4
4
|
"description": "Mars2D平台插件,ArcGIS Server功能支持插件",
|
|
5
5
|
"main": "./mars2d-esri.js",
|
|
6
6
|
"dependencies": {},
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"mars2d": "~3.
|
|
8
|
+
"mars2d": "~3.4.1"
|
|
9
9
|
},
|
|
10
10
|
"scripts": {
|
|
11
11
|
"lint": "eslint ./src/**/*.{js,ts} --fix"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"gis",
|
|
26
26
|
"webgis"
|
|
27
27
|
],
|
|
28
|
-
"author": "
|
|
28
|
+
"author": "mars2d",
|
|
29
29
|
"license": "Apache-2.0",
|
|
30
30
|
"homepage": "http://mars2d.cn",
|
|
31
31
|
"build": {
|