成员变量
# constant @private
Whether the browser is IE9 or earlier, which needs special handling for deferred modules.
# readonly ArcGISLayerType
ArcGIS地图资源类型
属性:
Name | Type | Description |
---|---|---|
ImageryWorld2D |
String | |
StreetMapWorld2D |
String | |
TopoUS2D |
String | |
WorldImagery |
String | |
WorldPhysical |
String | |
WorldShadedRelief |
String | |
WorldStreet |
String | |
WorldTerrainBase |
String | |
WorldTopo |
String | |
NatGeoWorldMap |
String | |
OceanBasemap |
String | |
USATopoMaps |
String |
# readonly CItemType
统计分段类型
属性:
Name | Type | Description |
---|---|---|
Unknown |
Number | 未知类型 |
UniqueTheme |
Number | 唯一值 |
RangeTheme |
Number | 范围 |
# readonly CLinAdjustType
线型调整方法枚举
属性:
Name | Type | Description |
---|---|---|
Adjust |
Number | 调整 |
NoAdjust |
Number | 不调整 |
# readonly CLinHeadType
线头类型枚举定义
属性:
Name | Type | Description |
---|---|---|
Round |
Number | 圆头 |
Square |
Number | 平头 |
Butt |
Number | 尖头 |
# readonly CLinJointType
线拐角类型枚举
属性:
Name | Type | Description |
---|---|---|
Round |
Number | 圆角 |
Square |
Number | 平角 |
Butt |
Number | 尖角 |
# readonly CLinStyleMakeType
线型生成方法
属性:
Name | Type | Description |
---|---|---|
Byrule |
Number | 规律性生成线型 |
Bypoint |
Number | 按控制点生成线型 |
# constant DEBUG
is provided as a convenience so that debugging code that should not be included in a production js_binary can be easily stripped by specifying --define goog.DEBUG=false to the JSCompiler. For example, most toString() methods should be declared inside an "if (goog.DEBUG)" conditional because they are generally used for debugging purposes and it is difficult for the JSCompiler to statically determine whether they are used.
# readonly EightDirType
点八方位注记类型
属性:
Name | Type | Description |
---|---|---|
East |
Number | 东 |
North |
Number | 北 |
NorthEast |
Number | 东北 |
NorthWest |
Number | 西北 |
South |
Number | 南 |
SouthEast |
Number | 东南 |
SouthWest |
Number | 西南 |
West |
Number | 西 |
NoDir |
Number | 无方位 |
# readonly EsCatlogName
ElasticSearch数据库名称
属性:
Name | Type | Description |
---|---|---|
SpaceTime |
String | 时空库 |
Addredd |
String | 地址库 |
# readonly EsCatlogType
ElasticSearch数据库类型
属性:
Name | Type | Description |
---|---|---|
SpaceTime |
String | 时空库 |
Addredd |
String | 地址库 |
# readonly EsGeoHashType
ElasticSearch-GeoHash聚合返回类型
属性:
Name | Type | Description |
---|---|---|
Point |
String | 点类型 |
Polygon |
String | 区类型 |
# readonly FeatureType
要素几何类型
属性:
Name | Type | Description |
---|---|---|
Unknown |
Number | 未知类型 |
Pnt |
Number | 点 |
Lin |
Number | 线 |
Reg |
Number | 区 |
# filters
用户指定的图层过滤条件,它由多个键值对组成,值为您所要设定的过滤条件。eg:'1:ID>4,3:ID>1'中文请使用UTF-8编码后再传入参数javascitpt中请使用encodeURI()函数编码后再代入filters参数中注意,在此函数中“:”和“,”是保留字符,用于表示键值对概念和分隔不同图层的条件,请不要将这2个字符用于自定义条件中
# filters
用户指定的图层过滤条件,它由多个键值对组成,值为您所要设定的过滤条件。eg:'1:ID>4,3:ID>1'中文请使用UTF-8编码后再传入参数javascitpt中请使用encodeURI()函数编码后再代入filters参数中注意,在此函数中“:”和“,”是保留字符,用于表示键值对概念和分隔不同图层的条件,请不要将这2个字符用于自定义条件中
# filters
用户指定的图层过滤条件,它由多个键值对组成,值为您所要设定的过滤条件。eg:'1:ID>4,3:ID>1'中文请使用UTF-8编码后再传入参数javascitpt中请使用encodeURI()函数编码后再代入filters参数中注意,在此函数中“:”和“,”是保留字符,用于表示键值对概念和分隔不同图层的条件,请不要将这2个字符用于自定义条件中
# filters
用户指定的图层过滤条件,它由多个键值对组成,值为您所要设定的过滤条件。eg:'1:ID>4,3:ID>1'中文请使用UTF-8编码后再传入参数javascitpt中请使用encodeURI()函数编码后再代入filters参数中注意,在此函数中“:”和“,”是保留字符,用于表示键值对概念和分隔不同图层的条件,请不要将这2个字符用于自定义条件中
# readonly FontShape
动态注记字形的类型
属性:
Name | Type | Description |
---|---|---|
Positive |
Number | 正体 |
LeftOblique |
Number | 左斜 |
RightOblique |
Number | 右斜 |
LeftTowering |
Number | 左耸 |
RightTowering |
Number | 右耸 |
# constant goog
Base namespace for the Closure library. Checks to see goog is already defined in the current scope before assigning to prevent clobbering if base.js is loaded more than once.
# readonly GoogleLayerType
谷歌地图资源类型
属性:
Name | Type | Description |
---|---|---|
VEC |
String | Google矢量数据 |
RASTER |
String | Google影像数据 |
ROAD |
String | Google道路数据 |
TERRAIN |
String | Google地形数据 |
VEC_IGS |
String | Google矢量数据(通过IGS) |
RASTER_IGS |
String | Google影像数据(通过IGS) |
ROAD_IGS |
String | Google道路数据(通过IGS) |
TERRAIN_IGS |
String | Google地形数据(通过IGS) |
# headHeightFactor
Property: headHeightFactor {Number} 箭头头部高度因子
# headWidthFactor
Property: headHeightFactor {Number} 箭头头部宽度因子
# constant How
to decide whether to transpile. Valid values are 'always', 'never', and 'detect'. The default ('detect') is to use feature detection to determine which language levels need transpilation.
# constant IgsServiceType
服务协议类别,保证稳定性,注意不要重构枚举名和枚举值
# readonly ISShowArc
是否显示弧段
属性:
Name | Type | Description |
---|---|---|
Reg |
Number | 只显示填充区域 |
Arc |
Number | 只显示弧段 |
All |
Number | 两者都显示 |
# readonly LabelLinType
线的动态注记的线方位类型
属性:
Name | Type | Description |
---|---|---|
Curved |
Number | 弯曲注记 |
Forward |
Number | 笔直注记 |
Horizontal |
Number | 水平注记 |
Tangent |
Number | 正交注记 |
# readonly LabelPntType
点的动态注记的方位类型
属性:
Name | Type | Description |
---|---|---|
PntAnyDir |
Number | 任意方位 |
PntEightDir |
Number | 八方位 |
PntOnFea |
Number | 压点 |
# readonly LabelRegType
区的动态注记的区方位类型
属性:
Name | Type | Description |
---|---|---|
Curved |
Number | 沿骨架线弯曲注记 |
Forward |
Number | 沿骨架线笔直注记 |
Horizontal |
Number | 水平注记 |
Boundray |
Number | 边界线注记 |
Outside |
Number | 区域外注记 |
# readonly LabelSpreadType
注记分布的策略
属性:
Name | Type | Description |
---|---|---|
AutoSpread |
Number | 自动分布策略(全是数字或字符采用集中注记方式,注记中带有汉字采用分散分布注记) |
Centralization |
Number | 字符集中分布 |
Decentralization |
Number | 字符分散分布 |
# layers
指示需要显示的地图图层号show,hide,include,exclude 4种形式eg: 'layers=show:1,2,3','layers=include:4,5,7'
# layers
指示需要显示的地图图层号show,hide,include,exclude 4种形式eg: 'layers=show:1,2,3','layers=include:4,5,7'
# readonly LayerStatusType
图层状态类型
属性:
Name | Type | Description |
---|---|---|
Show |
Zondy.Enum.Map.LayerStatusType | 仅仅显示指定了图层序号的图层 |
Hide |
Zondy.Enum.Map.LayerStatusType | 显示除hide参数指定图层外所有的图层 |
Include |
Zondy.Enum.Map.LayerStatusType | 除显示默认图层(地图文档内图层状态为可见的图层)外,另追加这些被指定的图层显示,追加的这些图层必须为地图中包含的图层。 |
Exclude |
Zondy.Enum.Map.LayerStatusType | 从默认图层列表里删除这些被指定的图层后,进行显示 |
# readonly LineConstrain
偏离线约束
属性:
Name | Type | Description |
---|---|---|
Left |
Number | 注记在线的左边 |
Right |
Number | 注记在线的右边 |
Above |
Number | 注记在线的上方 |
Below |
Number | 注记在线的下方 |
Both |
Number | 注记在线的两边 |
NoRes |
Number | 没有约束 |
# constant LOCALE
defines the locale being used for compilation. It is used to select locale specific data to be compiled in js binary. BUILD rule can specify this value by "--define goog.LOCALE=<locale_name>" as JSCompiler option.
Take into account that the locale code format is important. You should use the canonical Unicode format with hyphen as a delimiter. Language must be lowercase, Language Script - Capitalized, Region - UPPERCASE. There are few examples: pt-BR, en, en-US, sr-Latin-BO, zh-Hans-CN.
See more info about locale codes here: http://www.unicode.org/reports/tr35/#Unicode_Language_and_Locale_Identifiers
For language codes you should use values defined by ISO 693-1. See it here http://www.w3.org/WAI/ER/IG/ert/iso639.htm. There is only one exception from this rule: the Hebrew language. For legacy reasons the old code (iw) should be used instead of the new code (he), see http://wiki/Main/IIISynonyms.
# neckHeightFactor
Property: headHeightFactor {Number} 箭头腰部高度因子
# neckWidthFactor
Property: headHeightFactor {Number} 箭头腰部宽度因子
# readonly NetAnalyType
网络分析类型
属性:
Name | Type | Description |
---|---|---|
UserMode |
String | 用户模式 |
SysModeCommwayPrefer |
String | 系统模式--普通公路优先 |
SysModeHighWayPrefer |
String | 系统模式--高速公路优先 |
SysModeMinCost |
String | 系统模式--最少花费 |
SysModeMinDis |
String | 系统模式--最短路径 |
SysModeMinDis |
String | 系统模式--最短时间 |
SysModeSysRecommend |
String | 系统模式--系统推荐 |
# readonly NetElemType
网络元素类型
属性:
Name | Type | Description |
---|---|---|
Node |
Number | 节点元素 |
Edge |
Number | 边元素 |
CNode |
Number | 复杂结点元素 |
Chain |
Number | 链元素 |
Center |
Number | 中心元素 |
Source |
Number | 源 |
Sink |
Number | 汇 |
# readonly OpenStreetLayerType
OpenStreet地图资源类型
属性:
Name | Type | Description |
---|---|---|
LandScape |
String | |
CYCLE |
String | |
CycleTransport |
String | |
OSM |
String | |
OSM_HYB |
String | |
OSM_Quest |
String | |
OSM_Q_SAT |
String |
# readonly PARAM_COMMA
ElasticSearch的默认查询租佃参数
- Default Value:
- queryField=
查看源代码 service/datastore/elasticsearch/BaseDefine.js, line 15
# readonly PARAM_SPLIT
ElasticSearch的默认分号
- Default Value:
- ;
查看源代码 service/datastore/elasticsearch/BaseDefine.js, line 41
# constant Path
to the transpiler. Executing the script at this path (relative to base.js) should define a function $jscomp.transpile.
# readonly RepeatType
线重复注记策略
属性:
Name | Type | Description |
---|---|---|
Auto |
Number | 自动重复注记(当线长度超过注记长度的2倍时重复注记,否则不重复注记) |
NoRep |
Number | 从不重复注记 |
OnStep |
Number | 分段注记 |
# readonly SPACE_ENUM_POLYGON
ElasticSearch的空间-区类型
- Default Value:
- polygon
查看源代码 service/datastore/elasticsearch/BaseDefine.js, line 49
# style
显示参数[Zondy.Object.CDisplayStyle,Zondy.Object.CDisplayStyle]
# tailWidthFactor
Property: headHeightFactor {Number} 箭头尾部宽度因子
# readonly TiandituType
天地图资源类型
属性:
Name | Type | Description |
---|---|---|
VEC |
String | 天地图矢量数据 |
IMG |
String | 天地图影像数据 |
CVA |
String | 天地图矢量注记数据 |
CIA |
String | 天地图影像注记数据 |
VEC_IGS |
String | 天地图矢量数据(通过IGS) |
IMG_IGS |
String | 天地图影像数据(通过IGS) |
CVA_IGS |
String | 天地图矢量注记数据(通过IGS) |
CIA_IGS |
String | 天地图影像注记数据(通过IGS) |
# tileOriginType
瓦片裁剪方式,是左上还是左下的方式,即是新瓦片裁剪的方式还是旧瓦片一般无需设置此参数,直接由原点和中心点进行判断,只有在某些特殊的裁剪的瓦片中需要用到例如若裁剪瓦片时以左下角为原点,方式却是新瓦片的方式则需要设置此参数为newTile参数:eg:若需要强制以新瓦片的方式进行显示,则赋值为oldTile即可
# readonly VectClsType
矢量数据类型
属性:
Name | Type | Description |
---|---|---|
Unknown |
Number | String | 未知类型 |
SFCls |
Number | String | 简单要素类 |
AnnoCls |
Number | String | 注记类 |
# constant Whether
this code is running on trusted sites.
On untrusted sites, several native functions can be defined or overridden by external libraries like Prototype, Datejs, and JQuery and setting this flag to false forces closure to use its own implementations when possible.
If your JavaScript can be loaded by a third party site and you are wary about relying on non-standard implementations, specify "--define goog.TRUSTED_SITE=false" to the JSCompiler.
# constant Whether
a project is expected to be running in strict mode.
This define can be used to trigger alternate implementations compatible with running in EcmaScript Strict mode or warn about unavailable functionality.
# constant Whether
code that calls goog.setTestOnly
should
be disallowed in the compilation unit.
# constant Whether
to use a Chrome app CSP-compliant method for loading scripts via goog.require. @see appendScriptSrcNode_.
# constant Whether
to enable the debug loader.
If enabled, a call to goog.require() will attempt to load the namespace by appending a script tag to the DOM (if the namespace has been registered).
If disabled, goog.require() will simply assert that the namespace has been provided (and depend on the fact that some outside tool correctly ordered the script).
# constant Whether
to load goog.modules using {@code eval} when using the debug loader. This provides a better debugging experience as the source is unmodified and can be edited using Chrome Workspaces or similar. However in some environments the use of {@code eval} is banned so we provide an alternative.
# constant Whether
the instances returned by goog.defineClass should be sealed when possible.
When sealing is disabled the constructor function will not be wrapped by goog.defineClass, making it incompatible with ES6 class methods.
# readonly XClsType
数据类型
属性:
Name | Type | Description |
---|---|---|
SFCls |
String | 简单要素类 |
OCls |
String | 对象类 |
ACls |
String | 注记类 |
GnetCls |
String | 网络类 |
RDS |
String | 栅格数据集 |
SFClsInfo |
String | 简单要素类详细信息 |
方法
# getClassBreakInfo(info) → {Object}
获取分段信息
参数:
名称 | 类型 | 描述 |
---|---|---|
info |
Object | 分段信息的实例化对象 |
根据info查询到的分段信息
# getUniqueValueInfo(info) → {Object}
获取单值信息
参数:
名称 | 类型 | 描述 |
---|---|---|
info |
Object | 单值信息的实例化对象 |
根据info查询到的单值信息
# interpolateLagrange(points)
参数:
名称 | 类型 | 描述 |
---|---|---|
points |
* | 已有数据坐标集合 |
- See:
-
- 请注意,返回的是个函数需要再主动传递一次X来进行求值
预测的下一个未来时间点/坐标系X下的的Y值的函数
Example
var trues = [
[2011, 12131], // 当前年份的产值
[2012, 13345],
[2013, 14532],
[2014, 15472],
[2015, 16945],
];
f = interpolatingPolynomial(trues);
// 预测未来的
let futures2016 = f(2016); // 预测未来的产值
let futures2017 = f(2017);
let futures2018 = f(2018);
let futures2019 = f(2019);
console.log(2016, futures2016);
console.log(2017, futures2017);
console.log(2018, futures2018);
console.log(2019, futures2019);
# mix(…mixins)
参数:
名称 | 类型 | 属性 | 描述 |
---|---|---|---|
mixins |
any |
<repeatable> |
混合的对象 |
Example
class DistributedEdit extends mix(Loggable, Serializable) {
// ...
}
# toMapboxStyle(highlightopt)
参数:
名称 | 类型 | 属性 | 默认值 | 描述 |
---|---|---|---|---|
highlight |
Boolean |
<optional> |
false | 是否激活高亮样式 |
MapboxGL线格式的样式
# toMapboxStyle(highlightopt)
参数:
名称 | 类型 | 属性 | 默认值 | 描述 |
---|---|---|---|---|
highlight |
Boolean |
<optional> |
false | 是否激活高亮样式 |
MapboxGL线格式的样式
# toMapboxStyle(highlightopt)
参数:
名称 | 类型 | 属性 | 默认值 | 描述 |
---|---|---|---|---|
highlight |
Boolean |
<optional> |
false | 是否激活高亮样式 |
MapboxGL线格式的样式
# toMapboxStyle(highlightopt)
参数:
名称 | 类型 | 属性 | 默认值 | 描述 |
---|---|---|---|---|
highlight |
Boolean |
<optional> |
false | 是否激活高亮样式 |
MapboxGL点格式的样式
# toMapboxStyle(highlightopt)
参数:
名称 | 类型 | 属性 | 默认值 | 描述 |
---|---|---|---|---|
highlight |
Boolean |
<optional> |
false | 是否激活高亮样式 |
MapboxGL点格式的样式
# toMapboxStyle(highlightopt)
参数:
名称 | 类型 | 属性 | 默认值 | 描述 |
---|---|---|---|---|
highlight |
Boolean |
<optional> |
false | 是否激活高亮样式 |
MapboxGL点格式的样式
# v2Equal(a, b) → {Boolean}
compare if two arrays of length 2 are equal
参数:
名称 | 类型 | 描述 |
---|---|---|
a |
Array | array of length 2 |
b |
Array | array of length 2 |