Skip to content

Commit 4f70180

Browse files
committed
增加 专题图相关options注释。review by zhurc.
1 parent c93992e commit 4f70180

30 files changed

+443
-75
lines changed

dist/iclient9-leaflet.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-leaflet.js

Lines changed: 29 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -30638,18 +30638,18 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
3063830638
* @param chartsType - {string} 图表类型。目前可用:"Bar", "Bar3D", "Line","Point","Pie","Ring"。
3063930639
* @param options - {Object} 待设置得参数。如:<br>
3064030640
* isOverLay - {boolean} 是否进行压盖处理,如果设为 true,图表绘制过程中将隐藏对已在图层中绘制的图表产生压盖的图表,默认值:true。<br>
30641-
* chartsType :图表类型。目前可用:"Bar", "Line", "Pie"。<br>
30642-
* chartsSetting:各类型图表的 chartsSetting 对象可设属性请参考具体图表模型类的注释中对 chartsSetting 对象可设属性的描述。<br>
30643-
* * chartsSetting 对象通常都具有以下 5 个基础可设属性
30644-
* * width - {number}专题要素(图表)宽度,必设参数。
30645-
* * height - {number}专题要素(图表)高度,必设参数
30646-
* * codomain - {Array<number>} 值域,长度为 2 的一维数组,第一个元素表示值域下限,第二个元素表示值域上限,必设参数
30647-
* * XOffset - {Number} 专题要素(图表)在 X 方向上的偏移值,单位像素
30648-
* * YOffset - {Number} 专题要素(图表)在 Y 方向上的偏移值,单位像素
30649-
* * dataViewBoxParameter - {Array{Number}} 数据视图框 dataViewBox 参数,
30650-
* 它是指图表框 chartBox (由图表位置、图表宽度、图表高度构成的图表范围框)在左、下,右,上四个方向上的内偏距值,长度为 4 的一维数组
30651-
* * decimalNumber - {number}数据值数组 dataValues 元素值小数位数,数据的小数位处理参数,取值范围:[0, 16]
30652-
* 如果不设置此参数,在取数据值时不对数据做小数位处理
30641+
* chartsType - {string}图表类型。目前可用:"Bar", "Line", "Pie"。<br>
30642+
* symbolSetting - {Object} 符号 Circle 配置对象 symbolSetting(<SuperMap.Layer.RankSymbol::setting>) 可设属性如下:
30643+
* * Symbolizer properties:
30644+
* * codomain - {Array{Number}} 图表允许展示的数据值域,长度为 2 的一维数组,第一个元素表示值域下限,第二个元素表示值域上限,必设参数。
30645+
* * maxR - {Number} 圆形的最大半径
30646+
* * minR - {Number} 圆形的最小半径
30647+
* * fillColor - {String} 圆形的填充色,如:fillColor: "#FFB980"
30648+
* * circleStyle - {Object} 圆形的基础 style,此参数控制圆形基础样式,优先级低于 circleStyleByFields 和 circleStyleByCodomain
30649+
* * decimalNumber - {Number} 数据值数组 dataValues 元素值小数位数,数据的小数位处理参数,取值范围:[0, 16]。如果不设置此参数,在取数据值时不对数据做小数位处理。
30650+
* * circleHoverStyle - {Object} 圆 形 hover 状态时的样式,circleHoverAble 为 true 时有效
30651+
* * circleHoverAble - {Object} 是否允许圆形使用 hover 状态,默认允许。同时设置 circleHoverAble 和 circleClickAble 为 false,可以直接屏蔽图形对专题图层事件的响应
30652+
* * circleClickAble - {Object} 是否允许圆形被点击,默认允许。同时设置 circleHoverAble 和 circleClickAble 为 false,可以直接屏蔽图形对专题图层事件的响应
3065330653
*/
3065430654
var GraphThemeLayer = exports.GraphThemeLayer = _ThemeLayer.ThemeLayer.extend({
3065530655

@@ -31669,8 +31669,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
3166931669
* @extends L.supermap.GeoFeatureThemeLayer
3167031670
* @param name - {string} 图层名
3167131671
* @param options - {Object} 图层参数<br>
31672-
* isOverLay -{boolean} 是否进行压盖处理,默认true<br>
31673-
* isAvoid -{boolean} 是否进行地图边缘的避让处理,默认true
31672+
* isOverLay -{boolean} 是否进行压盖处理,默认true<br>
31673+
* isAvoid -{boolean} 是否进行地图边缘的避让处理,默认true
3167431674
*/
3167531675
var LabelThemeLayer = exports.LabelThemeLayer = _GeoFeatureThemeLayer.GeoFeatureThemeLayer.extend({
3167631676

@@ -53108,6 +53108,7 @@ var GenerateSpatialDataParameters = exports.GenerateSpatialDataParameters = func
5310853108
/**
5310953109
* @member SuperMap.GenerateSpatialDataParameters.prototype.attributeFilter - {string}
5311053110
* @description 属性过滤条件。
53111+
* 当 {@link SuperMap.GenerateSpatialDataParameters.prototype.dataReturnOption.dataReturnMode} 为 {@link DataReturnMode.DATASET_AND_RECORDSET} 或 {@link DataReturnMode.RECORDSET_ONLY} 时有效。
5311153112
*/
5311253113
this.attributeFilter = null;
5311353114
/**
@@ -62551,6 +62552,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
6255162552
* @param options - {Object} 构造参数,如下:<br>
6255262553
* map - [L.Map]{@linkdoc-leaflet/#map} leaflet 的 map对象。必传。</br>
6255362554
* id - {string} 专题图层ID。</br>
62555+
* featureWeight - {string} 对应 feature 属性中的热点权重字段名称,权重值类型为float。<br>
6255462556
* radius - {number} 热点渲染的最大半径(热点像素半径),默认为 50,单位为 px,当 useGeoUnit参数 为 true 时,单位使用当前图层地理坐标单位。热点显示的时候以精确点为中心点开始往四周辐射衰减,其衰减半径和权重值成比列。</br>
6255562557
* loadWhileAnimating - {boolean} 是否实时重绘,默认为true。(当绘制大数据量要素的情况下会出现卡顿,建议把该参数设为false)。</br>
6255662558
* opacity - {number} 图层透明度。</br>
@@ -62586,6 +62588,16 @@ var HeatMapLayer = exports.HeatMapLayer = _leaflet2["default"].Layer.extend({
6258662588

6258762589
//热力图参数:
6258862590
this.id = this.options.id;
62591+
/*
62592+
* options.featureWeight对应 feature 属性中的热点权重字段名称,权重值类型为float
62593+
* //例如:
62594+
* //feature.attributes中表示权重的字段为height,则在HeatMapLayer的featureWeight参数赋值为"height"
62595+
* feature1.attributes.height = 7.0;
62596+
* feature2.attributes.height = 6.0;
62597+
* var heatMapLayer = new mapboxgl.supermap.HeatMapLayer("heatmaplayer",{"featureWeight":"height"});
62598+
* heatMapLayer.addFeatures([feature1,feature2]);
62599+
* @type {null}
62600+
*/
6258962601
this.featureWeight = this.options.featureWeight;
6259062602
this.colors = this.options.colors;
6259162603
this.useGeoUnit = this.options.useGeoUnit;
@@ -65395,7 +65407,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "d
6539565407
* @category Visualization Graphic
6539665408
* @extends L.Path{@linkdoc-leaflet/#path}
6539765409
* @param graphics - {Array<L.supermap.Graphic>} 图形对象
65398-
* @param options - {Object} 图层参数,暂时为空
65410+
* @param options - {Object} 图层参数。<br>
65411+
* handleClick - {function} 图层点击响应事件函数。
6539965412
*/
6540065413
var GraphicLayer = exports.GraphicLayer = _leaflet2["default"].Path.extend({
6540165414

@@ -71067,7 +71080,7 @@ module.exports = function (proj4) {
7106771080
/* 377 */
7106871081
/***/ (function(module) {
7106971082

71070-
module.exports = {"_args":[["proj4@2.3.15","E:\\git\\iClient9"]],"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz","_spec":"2.3.15","_where":"E:\\git\\iClient9","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"};
71083+
module.exports = {"_args":[["proj4@2.3.15","G:\\iClient9"]],"_from":"proj4@2.3.15","_id":"proj4@2.3.15","_inBundle":false,"_integrity":"sha1-WtBui8owvg/6OJpJ5FZfUfBtCJ4=","_location":"/proj4","_phantomChildren":{},"_requested":{"type":"version","registry":true,"raw":"proj4@2.3.15","name":"proj4","escapedName":"proj4","rawSpec":"2.3.15","saveSpec":null,"fetchSpec":"2.3.15"},"_requiredBy":["/"],"_resolved":"http://registry.npm.taobao.org/proj4/download/proj4-2.3.15.tgz","_spec":"2.3.15","_where":"G:\\iClient9","author":"","bugs":{"url":"https://github.com/proj4js/proj4js/issues"},"contributors":[{"name":"Mike Adair","email":"madair@dmsolutions.ca"},{"name":"Richard Greenwood","email":"rich@greenwoodmap.com"},{"name":"Calvin Metcalf","email":"calvin.metcalf@gmail.com"},{"name":"Richard Marsden","url":"http://www.winwaed.com"},{"name":"T. Mittan"},{"name":"D. Steinwand"},{"name":"S. Nelson"}],"dependencies":{"mgrs":"~0.0.2"},"description":"Proj4js is a JavaScript library to transform point coordinates from one coordinate system to another, including datum transformations.","devDependencies":{"browserify":"~12.0.1","chai":"~1.8.1","curl":"git://github.com/cujojs/curl.git","grunt":"~0.4.2","grunt-browserify":"~4.0.1","grunt-cli":"~0.1.13","grunt-contrib-connect":"~0.6.0","grunt-contrib-jshint":"~0.8.0","grunt-contrib-uglify":"~0.11.1","grunt-mocha-phantomjs":"~0.4.0","istanbul":"~0.2.4","mocha":"~1.17.1","tin":"~0.4.0"},"directories":{"test":"test","doc":"docs"},"homepage":"https://github.com/proj4js/proj4js#readme","jam":{"main":"dist/proj4.js","include":["dist/proj4.js","README.md","AUTHORS","LICENSE.md"]},"license":"MIT","main":"lib/index.js","name":"proj4","repository":{"type":"git","url":"git://github.com/proj4js/proj4js.git"},"scripts":{"test":"./node_modules/istanbul/lib/cli.js test ./node_modules/mocha/bin/_mocha test/test.js"},"version":"2.3.15"};
7107171084

7107271085
/***/ }),
7107371086
/* 378 */

dist/iclient9-leaflet.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-leaflet.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/iclient9-mapboxgl.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy