@@ -12787,8 +12787,8 @@ var CartoCSSToLeaflet = exports.CartoCSSToLeaflet = _leaflet2.default.supermap.C
1278712787 /**
1278812788 * @function L.supermap.CartoCSSToLeaflet.prototype.getValidStyleFromCarto
1278912789 * @description 从Carto中获取有效的样式
12790- * @param zoom - {} 范围
12791- * @param scale - {array } 比例尺
12790+ * @param zoom - {number } 范围
12791+ * @param scale - {number } 比例尺
1279212792 * @param shader
1279312793 * @param feature - {} 要素
1279412794 * @param fromServer todo
@@ -13005,8 +13005,8 @@ var _leaflet2 = _interopRequireDefault(_leaflet);
1300513005function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1300613006
1300713007/**
13008- * @abstract L.supermap.GeoFeatureThemeLayer
13009- * @classdesc 地理几何专题要素型专题图层基类。此类型专题图的专题要素形状就是由 feature.geometry 决定。此类不建议直接实例化调用。
13008+ * @function L.supermap.GeoFeatureThemeLayer
13009+ * @classdesc 地理几何专题要素型专题图层基类。此类型专题图的专题要素形状就是由 feature.geometry 决定。此类不建议直接实例化调用。
1301013010 * @extends L.supermap.ThemeLayer
1301113011 * @param name - {String} 专题图名
1301213012 * @param options - {object} 需要设置得参数对象
@@ -13404,8 +13404,8 @@ var _leaflet2 = _interopRequireDefault(_leaflet);
1340413404function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
1340513405
1340613406/**
13407- * @abstract L.supermap.ThemeLayer
13408- * @classdesc 专题图层基类
13407+ * @class L.supermap.ThemeLayer
13408+ * @classdesc 专题图层基类,调用建议使用其子类实现类。
1340913409 * @param name - {String} 专题图层名称
1341013410 * @param options -{object} 待设置得参数。
1341113411 */
@@ -13897,7 +13897,7 @@ var CanvasRenderer = exports.CanvasRenderer = _leaflet2.default.Canvas.extend({
1389713897
1389813898 /**
1389913899 * @function L.supermap.CanvasRenderer.prototype.getOffset
13900- * @description
13900+ * @description 停止渲染
1390113901 */
1390213902 getOffset: function getOffset() {
1390313903 return this._tileCoord.scaleBy(this._size).subtract(this._map.getPixelOrigin());
@@ -16249,7 +16249,7 @@ var ChangeTileVersion = exports.ChangeTileVersion = _leaflet2.default.Control.ex
1624916249 /**
1625016250 * @function L.supermap.control.changeTileVersion.prototype.setContent
1625116251 * @description 设置版本相关信息
16252- * @param version {name:{ String},desc:{String}}
16252+ * @param version - { String} 版本信息
1625316253 */
1625416254 setContent: function setContent(version) {
1625516255 var content = _leaflet2.default.Util.extend({}, version);
@@ -16298,7 +16298,7 @@ var ChangeTileVersion = exports.ChangeTileVersion = _leaflet2.default.Control.ex
1629816298 /**
1629916299 * @function L.supermap.control.changeTileVersion.prototype.setLayer
1630016300 * @description 绑定图层
16301- * @param layer 报绑定的图层
16301+ * @param layer - {L.supermap.tiledMapLayer} 绑定的图层
1630216302 */
1630316303 setLayer: function setLayer(layer) {
1630416304 if (layer) {
@@ -16321,7 +16321,7 @@ var ChangeTileVersion = exports.ChangeTileVersion = _leaflet2.default.Control.ex
1632116321 /**
1632216322 * @function L.supermap.control.changeTileVersion.prototype.update
1632316323 * @description 更新缓存切片集及进度条长度
16324- * @param tileVersions 待更新的切片集
16324+ * @param tileVersions - {number} 待更新的切片版本
1632516325 */
1632616326 update: function update(tileVersions) {
1632716327 this.tileVersions = tileVersions;
@@ -16556,9 +16556,9 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
1655616556
1655716557/**
1655816558 * @class L.supermap.control.Logo
16559- * @description Logo控件。</br>
16560- * map初始化的配置项为logoControl,如果为true,则显示控件;否则不显示该控件。目前默认显示。
16561- * @constructor
16559+ * @classdesc Logo控件。</br>
16560+ * map初始化的配置项为logoControl,如果为true,则显示控件;否则不显示该控件。目前默认显示。
16561+ * @extends L.Control
1656216562 * @example
1656316563 * (start code)
1656416564 * L.supermap.control.Logo({
@@ -17105,7 +17105,7 @@ var WebMap = exports.WebMap = _leaflet2.default.LayerGroup.extend({
1710517105
1710617106 /**
1710717107 * @function L.supermap.webmap.prototype.load
17108- * @description
17108+ * @description 登陆窗口后添加地图图层
1710917109 */
1711017110 load: function load() {
1711117111 if (this.options.server.indexOf('http://') < 0 && this.options.server.indexOf('https://') < 0) {
@@ -17249,7 +17249,7 @@ var WebMap = exports.WebMap = _leaflet2.default.LayerGroup.extend({
1724917249 /**
1725017250 * @function L.supermap.webmap.prototype.getResolutionsFromScales
1725117251 * @description 通过比例尺获取分辨率
17252- * @param scales - {Array} 排序比例尺数组
17252+ * @param scales - {Array<number> } 排序比例尺数组
1725317253 * @param dpi - {number} 屏幕分辨率
1725417254 * @param units - {String} 地图的单位
1725517255 * @param datum - {SuperMap.Datum} 大地参照系类
@@ -18787,7 +18787,7 @@ var TileVectorLayer = exports.TileVectorLayer = _VectorGrid.VectorGrid.extend({
1878718787 /**
1878818788 * @function L.superMap.tiledVectorLayer.prototype.getScale
1878918789 * @description 通过空间范围获取比例尺
18790- * @param zoom - {String } 空间范围
18790+ * @param zoom - {number } 空间范围
1879118791 */
1879218792 getScale: function getScale(zoom) {
1879318793 var me = this;
@@ -57037,7 +57037,7 @@ var nonProjection = exports.nonProjection = function nonProjection(bounds) {
5703757037 * @class L.CRS.NonEarthCRS
5703857038 * @classdesc 非地球坐标对象
5703957039 * @extends L.Class
57040- * @param options - {} 构建非地球坐标对象参数
57040+ * @param options - {object } 构建非地球坐标对象参数
5704157041 */
5704257042var NonEarthCRS = exports.NonEarthCRS = _leaflet2.default.Class.extend({
5704357043
@@ -57060,7 +57060,7 @@ var NonEarthCRS = exports.NonEarthCRS = _leaflet2.default.Class.extend({
5706057060 /**
5706157061 * @function L.CRS.NonEarthCRS.prototype.scale
5706257062 * @description 通过空间范围计算比例尺
57063- * @param zoom - {} 空间范围
57063+ * @param zoom - {number } 空间范围
5706457064 * @return {number} 得到的比例尺
5706557065 */
5706657066 scale: function scale(zoom) {
@@ -57138,7 +57138,12 @@ _leaflet2.default.Proj._isProj4Obj = function (a) {
5713857138 return typeof a.inverse !== 'undefined' && typeof a.forward !== 'undefined';
5713957139};
5714057140
57141+ /**
57142+ * @class L.Proj.Projection
57143+ * @classdesc leaflet Proj投影类
57144+ */
5714157145_leaflet2.default.Proj.Projection = _leaflet2.default.Class.extend({
57146+
5714257147 initialize: function initialize(code, def, bounds) {
5714357148 var isP4 = _leaflet2.default.Proj._isProj4Obj(code);
5714457149 this._proj = isP4 ? code : this._projFromCodeDef(code, def);
@@ -57175,9 +57180,10 @@ _leaflet2.default.Proj.Projection = _leaflet2.default.Class.extend({
5717557180 return (0, _proj2.default)(code);
5717657181 }
5717757182});
57183+
5717857184/**
5717957185 * @class L.Proj.CRS
57180- * @description leaflet Proj投影定义类
57186+ * @classdesc leaflet Proj投影定义类
5718157187 * @extends L.CRS
5718257188 * @example
5718357189 * 用法:
@@ -57189,27 +57195,22 @@ _leaflet2.default.Proj.Projection = _leaflet2.default.Class.extend({
5718957195 * crs: crs
5719057196 * ...
5719157197 * })
57198+ * @param a -{String} proj srsCode。
57199+ * @param b -{String} proj def。
57200+ * @param c -{Object} options。可选参数:<br>
57201+ * origin -{Array|L.Point} 原点。必填<br>
57202+ * scales -{Array} 比例尺数组 <br>
57203+ * scaleDenominators -{Array} 比例尺分母数组 <br>
57204+ * resolutions -{Array} 分辨率数组 <br>
57205+ * bounds -{Array|L.Bounds} 范围 <br>
5719257206 */
57193-
5719457207_leaflet2.default.Proj.CRS = _leaflet2.default.Class.extend({
5719557208 includes: _leaflet2.default.CRS,
5719657209
5719757210 options: {
5719857211 transformation: new _leaflet2.default.Transformation(1, 0, -1, 0)
5719957212 },
5720057213
57201- /**
57202- * @function L.Proj.CRS.prototype.initialize
57203- * @description L.Proj.CRS 投影类构造函数
57204- * @param a -{String} proj srsCode。
57205- * @param b -{String} proj def。
57206- * @param c -{Object} options。可选参数:<br>
57207- * origin -{Array|L.Point} 原点。必填<br>
57208- * scales -{Array} 比例尺数组 <br>
57209- * scaleDenominators -{Array} 比例尺分母数组 <br>
57210- * resolutions -{Array} 分辨率数组 <br>
57211- * bounds -{Array|L.Bounds} 范围 <br>
57212- */
5721357214 initialize: function initialize(a, b, c) {
5721457215 var code, proj, def, options;
5721557216
@@ -57259,6 +57260,11 @@ _leaflet2.default.Proj.CRS = _leaflet2.default.Class.extend({
5725957260 this.infinite = !this.options.bounds;
5726057261 },
5726157262
57263+ /**
57264+ * @function L.Proj.CRS.prototype.scale
57265+ * @description 通过空间范围获取比例尺值
57266+ * @param zoom - {number} 空间范围
57267+ */
5726257268 scale: function scale(zoom) {
5726357269 var iZoom = Math.floor(zoom),
5726457270 baseScale,
@@ -57277,6 +57283,11 @@ _leaflet2.default.Proj.CRS = _leaflet2.default.Class.extend({
5727757283 }
5727857284 },
5727957285
57286+ /**
57287+ * @function L.Proj.CRS.prototype.zoom
57288+ * @description 通过比例尺获取当前空前范围
57289+ * @param scale - {number} 比例尺
57290+ */
5728057291 zoom: function zoom(scale) {
5728157292 // Find closest number in this._scales, down
5728257293 var downScale = this._closestElement(this._scales, scale),
@@ -57529,7 +57540,7 @@ _leaflet2.default.supermap.ServerStyleMap = {
5752957540
5753057541 /**
5753157542 * @member L.supermap.ServerStyleMap.prototype.fillForeColor
57532- * @description
57543+ * @description 填充前景色
5753357544 */
5753457545 fillForeColor: {
5753557546 leafletStyle: "fillColor",
@@ -57539,7 +57550,7 @@ _leaflet2.default.supermap.ServerStyleMap = {
5753957550
5754057551 /**
5754157552 * @member L.supermap.ServerStyleMap.prototype.foreColor
57542- * @description
57553+ * @description 前景色
5754357554 */
5754457555 foreColor: {
5754557556 leafletStyle: "color",
@@ -57549,7 +57560,7 @@ _leaflet2.default.supermap.ServerStyleMap = {
5754957560
5755057561 /**
5755157562 * @member L.supermap.ServerStyleMap.prototype.markerSize
57552- * @description
57563+ * @description 图标大小
5755357564 */
5755457565 markerSize: {
5755557566 leafletStyle: "markerSize",
@@ -57560,7 +57571,7 @@ _leaflet2.default.supermap.ServerStyleMap = {
5756057571
5756157572 /**
5756257573 * @member L.supermap.ServerStyleMap.prototype.lineColor
57563- * @description
57574+ * @description 线要素颜色
5756457575 */
5756557576 lineColor: {
5756657577 leafletStyle: "color",
@@ -64602,10 +64613,10 @@ module.exports = {
6460264613 "_requiredBy": [
6460364614 "/"
6460464615 ],
64605- "_resolved": "http ://registry.npm.taobao. org/proj4/download /proj4-2.4.3.tgz",
64616+ "_resolved": "https ://registry.npmjs. org/proj4/- /proj4-2.4.3.tgz",
6460664617 "_shasum": "f3bb7e631bffc047c36a1a3cc14533a03bbe9969",
6460764618 "_spec": "proj4@2.4.3",
64608- "_where": "F:\\dev \\iClient9",
64619+ "_where": "G: \\iClient9",
6460964620 "author": "",
6461064621 "bugs": {
6461164622 "url": "https://github.com/proj4js/proj4js/issues"
0 commit comments