Members
-
AggregationTypesstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.AggregationTypes.TAG; </script> // ES6 Import import { AggregationTypes } from '@supermap/iclient-mapboxgl'; const result = AggregationTypes.TAG; -
iportal资源聚合查询的类型。
- Version:
- 10.0.1
Properties:
Name Type Default Description TAGstring TAG 标签。
TYPEstring TYPE 资源类型。
-
AlongLineDirectionstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.AlongLineDirection.NORMAL; </script> // ES6 Import import { AlongLineDirection } from '@supermap/iclient-mapboxgl'; const result = AlongLineDirection.NORMAL; -
标签沿线标注方向枚举。
Properties:
Name Type Default Description NORMALstring ALONG_LINE_NORMAL 沿线的法线方向放置标签。
LB_TO_RTstring LEFT_BOTTOM_TO_RIGHT_TOP 从下到上,从左到右放置。
LT_TO_RBstring LEFT_TOP_TO_RIGHT_BOTTOM 从上到下,从左到右放置。
RB_TO_LTstring RIGHT_BOTTOM_TO_LEFT_TOP 从下到上,从右到左放置。
RT_TO_LBstring RIGHT_TOP_TO_LEFT_BOTTOM 从上到下,从右到左放置。
-
AnalystAreaUnitstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.AnalystAreaUnit.SQUAREMETER; </script> // ES6 Import import { AnalystAreaUnit } from '@supermap/iclient-mapboxgl'; const result = AnalystAreaUnit.SQUAREMETER; -
分布式分析面积单位。
Properties:
Name Type Default Description SQUAREMETERstring SquareMeter 平方米。
SQUAREKILOMETERstring SquareKiloMeter 平方千米。
HECTAREstring Hectare 公顷。
AREstring Are 公亩。
ACREstring Acre 英亩。
SQUAREFOOTstring SquareFoot 平方英尺。
SQUAREYARDstring SquareYard 平方码。
SQUAREMILEstring SquareMile 平方英里。
-
AnalystSizeUnitstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.AnalystSizeUnit.METER; </script> // ES6 Import import { AnalystSizeUnit } from '@supermap/iclient-mapboxgl'; const result = AnalystSizeUnit.METER; -
分布式分析单位。
Properties:
Name Type Default Description METERstring Meter 米。
KILOMETERstring Kilometer 千米。
YARDstring Yard 码。
FOOTstring Foot 英尺。
MILEstring Mile 英里。
-
BoundsTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.BoundsType.UNION; </script> // ES6 Import import { BoundsType } from '@supermap/iclient-mapboxgl'; const result = BoundsType.UNION; -
范围类型。
- Version:
- 11.1.1
Properties:
Name Type Default Description CUSTOMstring CUSTOM 自定义范围。
INTERSECTIONstring INTERSECTION 输入栅格数据集范围的交集。
UNIONstring UNION 输入栅格数据集范围的并集。
-
constant BrowserObject
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.Browser.name; </script> // ES6 Import import { Browser } from '@supermap/iclient-mapboxgl'; const result = Browser.name; -
浏览器名称,依赖于 userAgent 属性,BROWSER_NAME 可以是空,或者以下浏览器: * "opera" -- Opera * "msie" -- Internet Explorer * "safari" -- Safari * "firefox" -- Firefox * "mozilla" -- Mozilla
-
BucketAggTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.BucketAggType.GEOHASH_GRID; </script> // ES6 Import import { BucketAggType } from '@supermap/iclient-mapboxgl'; const result = BucketAggType.GEOHASH_GRID; -
格网聚合查询枚举类,该类定义了Elasticsearch数据服务中聚合查询模式常量
Properties:
Name Type Default Description GEOHASH_GRIDstring geohash_grid 格网聚合类型。
-
BufferEndTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.BufferEndType.FLAT; </script> // ES6 Import import { BufferEndType } from '@supermap/iclient-mapboxgl'; const result = BufferEndType.FLAT; -
缓冲区分析BufferEnd类型。
Properties:
Name Type Default Description FLATstring FLAT 平头缓冲。
ROUNDstring ROUND 圆头缓冲。
-
BufferRadiusUnitstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.BufferRadiusUnit.CENTIMETER; </script> // ES6 Import import { BufferRadiusUnit } from '@supermap/iclient-mapboxgl'; const result = BufferRadiusUnit.CENTIMETER; -
缓冲区距离单位枚举。该类定义了一系列缓冲距离单位类型。
Properties:
Name Type Default Description CENTIMETERstring CENTIMETER 厘米。
DECIMETERstring DECIMETER 分米。
FOOTstring FOOT 英尺。
INCHstring INCH 英寸。
KILOMETERstring KILOMETER 千米。
METERstring METER 米。
MILEstring MILE 英里。
MILLIMETERstring MILLIMETER 毫米。
YARDstring YARD 码。
-
CellSizeTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.CellSizeType.MAX; </script> // ES6 Import import { CellSizeType } from '@supermap/iclient-mapboxgl'; const result = CellSizeType.MAX; -
单元格类型。
- Version:
- 11.1.1
Properties:
Name Type Default Description CUSTOMstring CUSTOM 用户自己输入的单元格值大小作为单元格大小类型。
MAXstring MAX 输入栅格数据集中单元格最大值作为单元格大小类型。
MINstring MIN 输入栅格数据集中单元格最小值作为单元格大小类型。
-
ChartTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.ChartType.BAR; </script> // ES6 Import import { ChartType } from '@supermap/iclient-mapboxgl'; const result = ChartType.BAR; -
客户端专题图图表类型。
Properties:
Name Type Default Description BARstring Bar 柱状图。
BAR3Dstring Bar3D 三维柱状图。
CIRCLEstring Circle 圆形图。
PIEstring Pie 饼图。
POINTstring Point 散点图。
LINEstring Line 折线图。
RINGstring Ring 环状图。
-
ClientTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.ClientType.IP; </script> // ES6 Import import { ClientType } from '@supermap/iclient-mapboxgl'; const result = ClientType.IP; -
token申请的客户端标识类型。
Properties:
Name Type Default Description IPstring IP 指定的 IP 地址。
REFERERstring Referer 指定的 URL。
REQUESTIPstring RequestIP 发送申请令牌请求的客户端 IP。
NONEstring NONE 不做任何验证。
SERVERstring SERVER SERVER。
WEBstring WEB WEB。
-
ClipAnalystModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.ClipAnalystMode.CLIP; </script> // ES6 Import import { ClipAnalystMode } from '@supermap/iclient-mapboxgl'; const result = ClipAnalystMode.CLIP; -
裁剪分析模式
Properties:
Name Type Default Description CLIPstring clip CLIP。
INTERSECTstring intersect INTERSECT。
-
ColorGradientTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.ColorGradientType.BLACK_WHITE; </script> // ES6 Import import { ColorGradientType } from '@supermap/iclient-mapboxgl'; const result = ColorGradientType.BLACK_WHITE; -
渐变颜色枚举。
Properties:
Name Type Default Description BLACK_WHITEstring BLACKWHITE 黑白渐变色。
BLUE_BLACKstring BLUEBLACK 蓝黑渐变色。
BLUE_REDstring BLUERED 蓝红渐变色。
BLUE_WHITEstring BLUEWHITE 蓝白渐变色。
CYAN_BLACKstring CYANBLACK 青黑渐变色。
CYAN_BLUEstring CYANBLUE 青蓝渐变色。
CYAN_GREENstring CYANGREEN 青绿渐变色。
CYAN_WHITEstring CYANWHITE 青白渐变色。
GREEN_BLACKstring GREENBLACK 绿黑渐变色。
GREEN_BLUEstring GREENBLUE 绿蓝渐变色。
GREEN_ORANGE_VIOLETstring GREENORANGEVIOLET 绿橙紫渐变色。
GREEN_REDstring GREENRED 绿红渐变色。
GREEN_WHITEstring GREENWHITE 蓝红渐变色。
PINK_BLACKstring PINKBLACK 粉黑渐变色。
PINK_BLUEstring PINKBLUE 粉蓝渐变色。
PINK_REDstring PINKRED 粉红渐变色。
PINK_WHITEstring PINKWHITE 粉白渐变色。
RAIN_BOWstring RAINBOW 彩虹色。
RED_BLACKstring REDBLACK 红黑渐变色。
RED_WHITEstring REDWHITE 红白渐变色。
SPECTRUMstring SPECTRUM 光谱渐变。
TERRAINstring TERRAIN 地形渐变,用于三维显示效果较好。
YELLOW_BLACKstring YELLOWBLACK 黄黑渐变色。
YELLOW_BLUEstring YELLOWBLUE 黄蓝渐变色。
YELLOW_GREENstring YELLOWGREEN 黄绿渐变色。
YELLOW_REDstring YELLOWRED 黄红渐变色。
YELLOW_WHITEstring YELLOWWHITE 黄白渐变色。
-
ColorSpaceTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.ColorSpaceType.CMYK; </script> // ES6 Import import { ColorSpaceType } from '@supermap/iclient-mapboxgl'; const result = ColorSpaceType.CMYK; -
色彩空间枚举。 由于成色原理的不同,决定了显示器、投影仪这类靠色光直接合成颜色的颜色设备和打印机、 印刷机这类靠使用颜料的印刷设备在生成颜色方式上的区别。 针对上述不同成色方式,SuperMap 提供两种色彩空间, 分别为 RGB 和 CMYK。RGB 主要用于显示系统中,CMYK 主要用于印刷系统中。
Properties:
Name Type Default Description CMYKstring CMYK 该类型主要在印刷系统使用。
RGBstring RGB 该类型主要在显示系统中使用。
-
DataFormatstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.DataFormat.GEOJSON; </script> // ES6 Import import { DataFormat } from '@supermap/iclient-mapboxgl'; const result = DataFormat.GEOJSON; -
服务请求返回结果数据类型
Properties:
Name Type Default Description GEOJSONstring GEOJSON GEOJSON
ISERVERstring ISERVER ISERVER
FGBstring FGB FGB
-
DataItemTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.DataItemType.GEOJSON; </script> // ES6 Import import { DataItemType } from '@supermap/iclient-mapboxgl'; const result = DataItemType.GEOJSON; -
iportal数据类型。
- Version:
- 10.0.1
Properties:
Name Type Default Description GEOJSONstring GEOJSON geojson 数据。
UGCV5_MVTstring UGCV5_MVT UGCV5_MVT。
JSONstring JSON json数据。
AUDIOstring AUDIO 音频文件。
COLORstring COLOR Color 颜色。
COLORSCHEMEstring COLORSCHEME ColorScheme 颜色方案。
CSVstring CSV CSV 数据。
EXCELstring EXCEL EXCEL 数据。
FILLSYMBOLstring FILLSYMBOL FillSymbol 填充符号库。
IMAGEstring IMAGE 图片类型。
LAYERTEMPLATEstring LAYERTEMPLATE LayerTemplate 图层模板。
LAYOUTTEMPLATEstring LAYOUTTEMPLATE LayoutTemplate 布局模板。
LINESYMBOLstring LINESYMBOL LineSymbol 线符号库。
MAPTEMPLATEstring MAPTEMPLATE MapTemplate 地图模板。
MARKERSYMBOLstring MARKERSYMBOL MarkerSymbol 点符号库。
MBTILESstring MBTILES MBTILES。
PHOTOSstring PHOTOS 照片。
SHPstring SHP SHP 空间数据。
SMTILESstring SMTILES SMTILES。
SVTILESstring SVTILES SVTILES。
THEMETEMPLATEstring THEMETEMPLATE ThemeTemplate 专题图模板。
TPKstring TPK TPK。
UDBstring UDB UDB 数据源。
UGCV5string UGCV5 UGCV5。
UNKNOWNstring UNKNOWN 其他类型(普通文件)。
VIDEOstring VIDEO 视频文件。
WORKENVIRONMENTstring WORKENVIRONMENT WorkEnviroment 工作环境。
WORKSPACEstring WORKSPACE 工作空间。
-
DataReturnModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.DataReturnMode.DATASET_AND_RECORDSET; </script> // ES6 Import import { DataReturnMode } from '@supermap/iclient-mapboxgl'; const result = DataReturnMode.DATASET_AND_RECORDSET; -
数据返回模式枚举。 该枚举用于指定空间分析返回结果模式,包含返回数据集标识和记录集、只返回数据集标识(数据集名称@数据源名称)及只返回记录集三种模式。
Properties:
Name Type Default Description DATASET_AND_RECORDSETstring DATASET_AND_RECORDSET 返回结果数据集标识(数据集名称@数据源名称)和记录集(RecordSet)。
DATASET_ONLYstring DATASET_ONLY 只返回数据集标识(数据集名称@数据源名称)。
RECORDSET_ONLYstring RECORDSET_ONLY 只返回记录集(RecordSet)。
-
DirectionTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.DirectionType.EAST; </script> // ES6 Import import { DirectionType } from '@supermap/iclient-mapboxgl'; const result = DirectionType.EAST; -
网络分析中方向枚举。 在行驶引导子项中使用。
Properties:
Name Type Default Description EASTstring EAST 东。
NONEstring NONE 无方向。
NORTHstring NORTH 北。
SOURTHstring SOURTH 南。
WESTstring WEST 西。
-
EditTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.EditType.ADD; </script> // ES6 Import import { EditType } from '@supermap/iclient-mapboxgl'; const result = {namespace}.EditType.ADD; -
要素集更新模式枚举。 该枚举用于指定数据服务中要素集更新模式,包含添加要素集、更新要素集和删除要素集。
Properties:
Name Type Default Description ADDstring add 增加操作。
UPDATEstring update 修改操作。
DELETEstring delete 删除操作。
-
EngineTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.EngineType.IMAGEPLUGINS; </script> // ES6 Import import { EngineType } from '@supermap/iclient-mapboxgl'; const result = EngineType.IMAGEPLUGINS; -
数据源引擎类型枚举。
Properties:
Name Type Default Description IMAGEPLUGINSstring IMAGEPLUGINS 影像只读引擎类型,文件引擎,针对通用影像格式如 BMP,JPG,TIFF 以及超图自定义影像格式 SIT 等。
OGCstring OGC OGC 引擎类型,针对于 Web 数据源,Web 引擎,目前支持的类型有 WMS,WFS,WCS。
ORACLEPLUSstring ORACLEPLUS Oracle 引擎类型,针对 Oracle 数据源,数据库引擎。
SDBPLUSstring SDBPLUS SDB 引擎类型,文件引擎,即 SDB 数据源。
SQLPLUSstring SQLPLUS SQL Server 引擎类型,针对 SQL Server 数据源,数据库引擎。
UDBstring UDB UDB 引擎类型,文件引擎。
-
EntityTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.EntityType.DEPARTMENT; </script> // ES6 Import import { EntityType } from '@supermap/iclient-mapboxgl'; const result = EntityType.DEPARTMENT; -
iportal资源实体类型。
- Version:
- 10.0.1
Properties:
Name Type Default Description DEPARTMENTstring DEPARTMENT 部门。
GROUPstring GROUP 用户组。
IPORTALGROUPstring IPORTALGROUP 群组。
ROLEstring ROLE 角色。
USERstring USER 用户。
-
Exponentstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.Exponent.EXP1; </script> // ES6 Import import { Exponent } from '@supermap/iclient-mapboxgl'; const result = Exponent.EXP1; -
定义了泛克吕金(UniversalKriging)插值时样点数据中趋势面方程的阶数。
Properties:
Name Type Default Description EXP1string EXP1 阶数为1。
EXP2string EXP2 阶数为2。
-
FillGradientModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.FillGradientMode.NONE; </script> // ES6 Import import { FillGradientMode } from '@supermap/iclient-mapboxgl'; const result = FillGradientMode.NONE; -
渐变填充风格的渐变类型枚举。
Properties:
Name Type Default Description NONEstring NONE 无渐变。
LINEARstring LINEAR 线性渐变填充。
RADIALstring RADIAL 辐射渐变填充。
CONICALstring CONICAL 圆锥渐变填充。
SQUAREstring SQUARE 四角渐变填充。
-
GeometryTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.GeometryType.LINE; </script> // ES6 Import import { GeometryType } from '@supermap/iclient-mapboxgl'; const result = GeometryType.LINE; -
几何对象枚举,定义了一系列几何对象类型。
Properties:
Name Type Default Description LINEstring LINE 线几何对象类型。
LINEMstring LINEM 路由对象。
POINTstring POINT 点几何对象类型。
REGIONstring REGION 面几何对象类型。
POINTEPSstring POINTEPS EPS点几何对象。
LINEEPSstring LINEEPS EPS线几何对象。
REGIONEPSstring REGIONEPS EPS面几何对象。
ELLIPSEstring ELLIPSE 椭圆。
CIRCLEstring CIRCLE 圆。
TEXTstring TEXT 文本几何对象类型。
RECTANGLEstring RECTANGLE 矩形。
UNKNOWNstring UNKNOWN 未定义。
GEOCOMPOUNDstring GEOCOMPOUND 复合几何对象类型。
-
GetFeatureModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.GetFeatureMode.BOUNDS; </script> // ES6 Import import { GetFeatureMode } from '@supermap/iclient-mapboxgl'; const result = GetFeatureMode.BOUNDS; -
feature 查询方式。
Properties:
Name Type Default Description BOUNDSstring BOUNDS 通过范围查询来获取要素。
BUFFERstring BUFFER 通过几何对象的缓冲区来获取要素。
IDstring ID 通过 ID 来获取要素。
SPATIALstring SPATIAL 通过空间查询模式来获取要素。
SQLstring SQL 通过 SQL 查询来获取要素。
-
GraduatedModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.GraduatedMode.CONSTANT; </script> // ES6 Import import { GraduatedMode } from '@supermap/iclient-mapboxgl'; const result = GraduatedMode.CONSTANT; -
专题图分级模式枚举。
Properties:
Name Type Default Description CONSTANTstring CONSTANT 常量分级模式。
LOGARITHMstring LOGARITHM 对数分级模式。
SQUAREROOTstring SQUAREROOT 平方根分级模式。
-
GraphAxesTextDisplayModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.GraphAxesTextDisplayMode.ALL; </script> // ES6 Import import { GraphAxesTextDisplayMode } from '@supermap/iclient-mapboxgl'; const result = GraphAxesTextDisplayMode.ALL; -
统计专题图坐标轴文本显示模式。
Properties:
Name Type Default Description ALLstring ALL 显示全部文本。
NONEstring NONE 不显示。
YAXESstring YAXES 显示Y轴的文本。
-
GridTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.GridType.CROSS; </script> // ES6 Import import { GridType } from '@supermap/iclient-mapboxgl'; const result = GridType.CROSS; -
地图背景格网类型枚举。
Properties:
Name Type Default Description CROSSstring CROSS 十字叉丝。
GRIDstring GRID 网格线。
POINTstring POINT 点。
-
InterpolationAlgorithmTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.InterpolationAlgorithmType.KRIGING; </script> // ES6 Import import { InterpolationAlgorithmType } from '@supermap/iclient-mapboxgl'; const result = InterpolationAlgorithmType.KRIGING; -
插值分析的算法的类型。
Properties:
Name Type Default Description KRIGINGstring KRIGING 普通克吕金插值法。
SimpleKrigingstring SimpleKriging 简单克吕金插值法。
UniversalKrigingstring UniversalKriging 泛克吕金插值法。
-
JoinTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.JoinType.INNERJOIN; </script> // ES6 Import import { JoinType } from '@supermap/iclient-mapboxgl'; const result = JoinType.INNERJOIN; -
关联查询时的关联类型常量。 该类定义了两个表之间的连接类型常量,决定了对两个表之间进行连接查询时,查询结果中得到的记录的情况。
Properties:
Name Type Default Description INNERJOINstring INNERJOIN 内连接。
LEFTJOINstring LEFTJOIN 左连接。
-
LabelBackShapestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.LabelBackShape.DIAMOND; </script> // ES6 Import import { LabelBackShape } from '@supermap/iclient-mapboxgl'; const result = LabelBackShape.DIAMOND; -
标签专题图中标签背景的形状枚举。
Properties:
Name Type Default Description DIAMONDstring DIAMOND 菱形背景,即标签背景的形状为菱形。
ELLIPSEstring ELLIPSE 椭圆形背景,即标签背景的行状为椭圆形。
MARKERstring MARKER 符号背景,即标签背景的形状为设定的符号。
NONEstring NONE 空背景,即不使用任何形状作为标签的背景。
RECTstring RECT 矩形背景,即标签背景的形状为矩形。
ROUNDRECTstring ROUNDRECT 圆角矩形背景,即标签背景的形状为圆角矩形。
TRIANGLEstring TRIANGLE 三角形背景,即标签背景的形状为三角形。
-
LabelOverLengthModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.LabelOverLengthMode.NEWLINE; </script> // ES6 Import import { LabelOverLengthMode } from '@supermap/iclient-mapboxgl'; const result = LabelOverLengthMode.NEWLINE; -
标签专题图中超长标签的处理模式枚举。
Properties:
Name Type Default Description NEWLINEstring NEWLINE 换行显示。
NONEstring NONE 对超长标签不进行处理。
OMITstring OMIT 省略超出部分。
-
LayerTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.LayerType.UGC; </script> // ES6 Import import { LayerType } from '@supermap/iclient-mapboxgl'; const result = LayerType.UGC; -
图层类型。
Properties:
Name Type Default Description UGCstring UGC SuperMap UGC 类型图层。如矢量图层、栅格(Grid)图层、影像图层。
WMSstring WMS WMS 图层。
WFSstring WFS WFS 图层。
CUSTOMstring CUSTOM 自定义图层。
-
MeasureModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.MeasureMode.DISTANCE; </script> // ES6 Import import { MeasureMode } from '@supermap/iclient-mapboxgl'; const result = MeasureMode.DISTANCE; -
量算模式枚举。
Properties:
Name Type Default Description DISTANCEstring DISTANCE 距离测量。
AREAstring AREA 面积测量。
-
MetricsAggTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.MetricsAggType.AVG; </script> // ES6 Import import { MetricsAggType } from '@supermap/iclient-mapboxgl'; const result = MetricsAggType.AVG; -
指标聚合类型枚举类,该类定义了Elasticsearch数据服务中聚合查询模式常量。
Properties:
Name Type Default Description AVGstring avg 平均值聚合类型。
MAXstring max 最大值聚合类型。
MINstring min 最小值聚合类型。
SUMstring sum 求和聚合类型。
-
OrderBystring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.OrderBy.UPDATETIME; </script> // ES6 Import import { OrderBy } from '@supermap/iclient-mapboxgl'; const result = OrderBy.UPDATETIME; -
iportal资源排序字段。
- Version:
- 10.0.1
Properties:
Name Type Default Description UPDATETIMEstring UPDATETIME 按更新时间排序。
HEATLEVELstring HEATLEVEL 按热度(可能是访问量、下载量)排序。
RELEVANCEstring RELEVANCE 按相关性排序。
-
OrderTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.OrderType.ASC; </script> // ES6 Import import { OrderType } from '@supermap/iclient-mapboxgl'; const result = OrderType.ASC; -
iportal资源升序还是降序过滤。
- Version:
- 10.0.1
Properties:
Name Type Default Description ASCstring ASC 升序。
DESCstring DESC 降序。
-
OutputTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.OutputType.INDEXEDHDFS; </script> // ES6 Import import { OutputType } from '@supermap/iclient-mapboxgl'; const result = OutputType.INDEXEDHDFS; -
分布式分析输出类型枚举。
Properties:
Name Type Default Description INDEXEDHDFSstring INDEXEDHDFS INDEXEDHDFS
UDBstring UDB UDB
MONGODBstring MONGODB MONGODB
PGstring PG PG
-
OverlayOperationTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.OverlayOperationType.CLIP; </script> // ES6 Import import { OverlayOperationType } from '@supermap/iclient-mapboxgl'; const result = OverlayOperationType.CLIP; -
叠加分析类型枚举。
Properties:
Name Type Default Description CLIPstring CLIP 操作数据集(几何对象)裁剪被操作数据集(几何对象)。
ERASEstring ERASE 在被操作数据集(几何对象)上擦除掉与操作数据集(几何对象)相重合的部分。
IDENTITYstring IDENTITY 对被操作数据集(几何对象)进行同一操作,即操作执行后,被操作数据集(几何对象)包含来自操作数据集(几何对象)的几何形状。
INTERSECTstring INTERSECT 对两个数据集(几何对象)求交,返回两个数据集(几何对象)的交集。
UNIONstring UNION 对两个面数据集(几何对象)进行合并操作。
UPDATEstring UPDATE 对两个面数据集(几何对象)进行更新操作。
XORstring XOR 对两个面数据集(几何对象)进行对称差操作。
-
PermissionTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.PermissionType.SEARCH; </script> // ES6 Import import { PermissionType } from '@supermap/iclient-mapboxgl'; const result = PermissionType.SEARCH; -
iportal资源权限类型。
- Version:
- 10.0.1
Properties:
Name Type Default Description SEARCHstring SEARCH 可检索。
READstring READ 可查看。
READWRITEstring READWRITE 可编辑。
DELETEstring DELETE 可删除。
DOWNLOADstring DOWNLOAD 可下载,包括可读、可检索。
-
PixelFormatstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.PixelFormat.BIT16; </script> // ES6 Import import { PixelFormat } from '@supermap/iclient-mapboxgl'; const result = PixelFormat.BIT16; -
栅格与影像数据存储的像素格式枚举。
Properties:
Name Type Default Description BIT16string BIT16 每个像元用16个比特(即2个字节)表示。
BIT32string BIT32 每个像元用32个比特(即4个字节)表示。
BIT64string BIT64 每个像元用64个比特(即8个字节)表示,只提供给栅格数据集使用。
SINGLEstring SINGLE 每个像元用4个字节来表示,只提供给栅格数据集使用。
DOUBLEstring DOUBLE 每个像元用8个字节来表示,只提供给栅格数据集使用。
UBIT1string UBIT1 每个像元用1个比特表示。
UBIT4string UBIT4 每个像元用4个比特来表示。
UBIT8string UBIT8 每个像元用8个比特(即1个字节)来表示。
UBIT24string UBIT24 每个像元用24个比特(即3个字节)来表示。
UBIT32string UBIT32 每个像元用32个比特(即4个字节)来表示。
-
QueryOptionstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.QueryOption.ATTRIBUTE; </script> // ES6 Import import { QueryOption } from '@supermap/iclient-mapboxgl'; const result = QueryOption.ATTRIBUTE; -
查询结果类型枚举,描述查询结果返回类型,包括只返回属性、只返回几何实体以及返回属性和几何实体。
Properties:
Name Type Default Description ATTRIBUTEstring ATTRIBUTE 属性。
ATTRIBUTEANDGEOMETRYstring ATTRIBUTEANDGEOMETRY 属性和几何对象。
GEOMETRYstring GEOMETRY 几何对象。
-
RangeModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.RangeMode.CUSTOMINTERVAL; </script> // ES6 Import import { RangeMode } from '@supermap/iclient-mapboxgl'; const result = RangeMode.CUSTOMINTERVAL; -
范围分段专题图分段方式枚举。
Properties:
Name Type Default Description CUSTOMINTERVALstring CUSTOMINTERVAL 自定义分段法。
EQUALINTERVALstring EQUALINTERVAL 等距离分段法。
LOGARITHMstring LOGARITHM 对数分段法。
QUANTILEstring QUANTILE 等计数分段法。
SQUAREROOTstring SQUAREROOT 平方根分段法。
STDDEVIATIONstring STDDEVIATION 标准差分段法。
-
RasterFunctionTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.GetFeatureMode.NDVI; </script> // ES6 Import import { GetFeatureMode } from '@supermap/iclient-mapboxgl'; const result = GetFeatureMode.NDVI; -
栅格分析方法。
Properties:
Name Type Default Description NDVIstring NDVI 归一化植被指数。
HILLSHADEstring HILLSHADE 阴影面分析。
-
ResourceTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.GetFeatureMode.MAP; </script> // ES6 Import import { GetFeatureMode } from '@supermap/iclient-mapboxgl'; const result = GetFeatureMode.MAP; -
iportal资源类型。
- Version:
- 10.0.1
Properties:
Name Type Default Description MAPstring MAP 地图。
SERVICEstring SERVICE 服务。
SCENEstring SCENE 场景。
DATAstring DATA 数据。
INSIGHTS_WORKSPACEstring INSIGHTS_WORKSPACE 洞察。
MAP_DASHBOARDstring MAP_DASHBOARD 大屏。
-
SearchModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.SearchMode.KDTREE_FIXED_COUNT; </script> // ES6 Import import { SearchMode } from '@supermap/iclient-mapboxgl'; const result = SearchMode.KDTREE_FIXED_COUNT; -
内插时使用的样本点的查找方式枚举。
Properties:
Name Type Default Description KDTREE_FIXED_COUNTstring KDTREE_FIXED_COUNT 使用 KDTREE 的固定点数方式查找参与内插分析的点。
KDTREE_FIXED_RADIUSstring KDTREE_FIXED_RADIUS 使用 KDTREE 的定长方式查找参与内插分析的点。
NONEstring NONE 不进行查找,使用所有的输入点进行内插分析。
QUADTREEstring QUADTREE 使用 QUADTREE 方式查找参与内插分析的点,仅对样条(RBF)插值和普通克吕金(Kriging)有用。
-
SearchTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.SearchType.PUBLIC; </script> // ES6 Import import { SearchType } from '@supermap/iclient-mapboxgl'; const result = SearchType.PUBLIC; -
iportal资源查询的范围进行过滤。
- Version:
- 10.0.1
Properties:
Name Type Default Description PUBLICstring PUBLIC 公开资源。
MY_RESstring MY_RES 我的资源。
MYGROUP_RESstring MYGROUP_RES 我的群组资源。
MYDEPARTMENT_RESstring MYDEPARTMENT_RES 我的部门资源。
SHARETOME_RESstring SHARETOME_RES 分享给我的资源。
-
ServerTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.ServerType.ISERVER; </script> // ES6 Import import { ServerType } from '@supermap/iclient-mapboxgl'; const result = ServerType.ISERVER; -
服务器类型
Properties:
Name Type Default Description ISERVERstring ISERVER ISERVER
IPORTALstring IPORTAL IPORTAL
ONLINEstring ONLINE ONLINE
-
SideTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.SideType.LEFT; </script> // ES6 Import import { SideType } from '@supermap/iclient-mapboxgl'; const result = SideType.LEFT; -
行驶位置枚举。 表示在行驶在路的左边、右边或者路上的枚举,该类用在行驶导引子项类中。
Properties:
Name Type Default Description LEFTstring LEFT 路的左侧。
MIDDLEstring MIDDLE 在路上(即路的中间)。
NONEstring NONE 无效值。
RIGHTstring RIGHT 路的右侧。
-
SmoothMethodstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.SmoothMethod.BSPLINE; </script> // ES6 Import import { SmoothMethod } from '@supermap/iclient-mapboxgl'; const result = SmoothMethod.BSPLINE; -
光滑方法枚举。 用于从Grid 或DEM数据生成等值线或等值面时对等值线或者等值面的边界线进行平滑处理的方法。
Properties:
Name Type Default Description BSPLINEstring BSPLINE B 样条法。
POLISHstring POLISH 磨角法。
-
SpatialQueryModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.SpatialQueryMode.CONTAIN; </script> // ES6 Import import { SpatialQueryMode } from '@supermap/iclient-mapboxgl'; const result = SpatialQueryMode.CONTAIN; -
空间查询模式枚举。该类定义了空间查询操作模式常量。
Properties:
Name Type Default Description CONTAINstring CONTAIN 包含空间查询模式。
CROSSstring CROSS 交叉空间查询模式。
DISJOINTstring DISJOINT 分离空间查询模式。
IDENTITYstring IDENTITY 重合空间查询模式。
INTERSECTstring INTERSECT 相交空间查询模式。
NONEstring NONE 无空间查询。
OVERLAPstring OVERLAP 叠加空间查询模式。
TOUCHstring TOUCH 邻接空间查询模式。
WITHINstring WITHIN 被包含空间查询模式。
-
SpatialRelationTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.SpatialRelationType.CONTAIN; </script> // ES6 Import import { SpatialRelationType } from '@supermap/iclient-mapboxgl'; const result = {namespace}.SpatialRelationType.CONTAIN; -
数据集对象间的空间关系枚举。 该类定义了数据集对象间的空间关系类型常量。
Properties:
Name Type Default Description CONTAINstring CONTAIN 包含关系。
INTERSECTstring INTERSECT 相交关系。
WITHINstring WITHIN 被包含关系。
-
StatisticAnalystModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.StatisticAnalystMode.MAX; </script> // ES6 Import import { StatisticAnalystMode } from '@supermap/iclient-mapboxgl'; const result = StatisticAnalystMode.MAX; -
分布式分析统计模式。
Properties:
Name Type Default Description MAXstring max 统计所选字段的最大值。
MINstring min 统计所选字段的最小值。
AVERAGEstring average 统计所选字段的平均值。
SUMstring sum 统计所选字段的总和。
VARIANCEstring variance 统计所选字段的方差。
STDDEVIATIONstring stdDeviation 统计所选字段的标准差。
-
StatisticModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.StatisticMode.AVERAGE; </script> // ES6 Import import { StatisticMode } from '@supermap/iclient-mapboxgl'; const result = StatisticMode.AVERAGE; -
字段统计方法类型。
Properties:
Name Type Default Description AVERAGEstring AVERAGE 统计所选字段的平均值。
MAXstring MAX 统计所选字段的最大值。
MINstring MIN 统计所选字段的最小值。
STDDEVIATIONstring STDDEVIATION 统计所选字段的标准差
SUMstring SUM 统计所选字段的总和。
VARIANCEstring VARIANCE 统计所选字段的方差。
-
SummaryTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.SummaryType.SUMMARYMESH; </script> // ES6 Import import { SummaryType } from '@supermap/iclient-mapboxgl'; const result = SummaryType.SUMMARYMESH; -
分布式分析聚合类型。
Properties:
Name Type Default Description SUMMARYMESHstring SUMMARYMESH 格网聚合。
SUMMARYREGIONstring SUMMARYREGION 多边形聚合。
-
SupplyCenterTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.SupplyCenterType.FIXEDCENTER; </script> // ES6 Import import { SupplyCenterType } from '@supermap/iclient-mapboxgl'; const result = SupplyCenterType.FIXEDCENTER; -
资源供给中心类型枚举。 该枚举定义了网络分析中资源中心点的类型,主要用于资源分配和选址分区。 资源供给中心点的类型包括非中心,固定中心和可选中心。固定中心用于资源分配分析;固定中心和可选中心用于选址分析;非中心在两种网络分析时都不予考虑。
Properties:
Name Type Default Description FIXEDCENTERstring FIXEDCENTER 固定中心点。
NULLstring NULL 非中心点。
OPTIONALCENTERstring OPTIONALCENTER 可选中心点。
-
SurfaceAnalystMethodstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.SurfaceAnalystMethod.ISOLINE; </script> // ES6 Import import { SurfaceAnalystMethod } from '@supermap/iclient-mapboxgl'; const result = SurfaceAnalystMethod.ISOLINE; -
表面分析方法枚举。 通过对数据进行表面分析,能够挖掘原始数据所包含的信息,使某些细节明显化,易于分析。
Properties:
Name Type Default Description ISOLINEstring ISOLINE 等值线提取。
ISOREGIONstring ISOREGION 等值面提取。
-
TextAlignmentstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.TextAlignment.TOPLEFT; </script> // ES6 Import import { TextAlignment } from '@supermap/iclient-mapboxgl'; const result = TextAlignment.TOPLEFT; -
文本对齐枚举。
Properties:
Name Type Default Description TOPLEFTstring TOPLEFT 左上角对齐。
TOPCENTERstring TOPCENTER 顶部居中对齐。
TOPRIGHTstring TOPRIGHT 右上角对齐。
BASELINELEFTstring BASELINELEFT 基准线左对齐。
BASELINECENTERstring BASELINECENTER 基准线居中对齐。
BASELINERIGHTstring BASELINERIGHT 基准线右对齐。
BOTTOMLEFTstring BOTTOMLEFT 左下角对齐。
BOTTOMCENTERstring BOTTOMCENTER 底部居中对齐。
BOTTOMRIGHTstring BOTTOMRIGHT 右下角对齐。
MIDDLELEFTstring MIDDLELEFT 左中对齐。
MIDDLECENTERstring MIDDLECENTER 中心对齐。
MIDDLERIGHTstring MIDDLERIGHT 右中对齐。
-
ThemeGraphTextFormatstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.ThemeGraphTextFormat.CAPTION; </script> // ES6 Import import { ThemeGraphTextFormat } from '@supermap/iclient-mapboxgl'; const result = ThemeGraphTextFormat.CAPTION; -
统计专题图文本显示格式枚举。
Properties:
Name Type Default Description CAPTIONstring CAPTION 标题。以各子项的标题来进行标注。
CAPTION_PERCENTstring CAPTION_PERCENT 标题 + 百分数。以各子项的标题和所占的百分比来进行标注。
CAPTION_VALUEstring CAPTION_VALUE 标题 + 实际数值。以各子项的标题和真实数值来进行标注。
PERCENTstring PERCENT 百分数。以各子项所占的百分比来进行标注。
VALUEstring VALUE 实际数值。以各子项的真实数值来进行标注。
-
ThemeGraphTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.ThemeGraphType.AREA; </script> // ES6 Import import { ThemeGraphType } from '@supermap/iclient-mapboxgl'; const result = ThemeGraphType.AREA; -
统计专题图类型枚举。
Properties:
Name Type Default Description AREAstring AREA 面积图。
BARstring BAR 柱状图。
BAR3Dstring BAR3D 三维柱状图。
LINEstring LINE 折线图。
PIEstring PIE 饼图。
PIE3Dstring PIE3D 三维饼图。
POINTstring POINT 点状图。
RINGstring RING 环状图。
ROSEstring ROSE 玫瑰图。
ROSE3Dstring ROSE3D 三维玫瑰图。
STACK_BARstring STACK_BAR 堆叠柱状图。
STACK_BAR3Dstring STACK_BAR3D 三维堆叠柱状图。
STEPstring STEP 阶梯图。
-
ThemeTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.ThemeType.DOTDENSITY; </script> // ES6 Import import { ThemeType } from '@supermap/iclient-mapboxgl'; const result = ThemeType.DOTDENSITY; -
专题图类型枚举。
Properties:
Name Type Default Description DOTDENSITYstring DOTDENSITY 点密度专题图。
GRADUATEDSYMBOLstring GRADUATEDSYMBOL 等级符号专题图。
GRAPHstring GRAPH 统计专题图。
LABELstring LABEL 标签专题图。
RANGEstring RANGE 分段专题图。
UNIQUEstring UNIQUE 単值专题图。
-
TopologyValidatorRulestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.TopologyValidatorRule.REGIONNOOVERLAP; </script> // ES6 Import import { TopologyValidatorRule } from '@supermap/iclient-mapboxgl'; const result = TopologyValidatorRule.REGIONNOOVERLAP; -
拓扑检查模式枚举。该类定义了拓扑检查操作模式常量。
Properties:
Name Type Default Description REGIONNOOVERLAPstring REGIONNOOVERLAP 面内无重叠,用于对面数据进行拓扑检查。
REGIONNOOVERLAPWITHstring REGIONNOOVERLAPWITH 面与面无重叠,用于对面数据进行拓扑检查。
REGIONCONTAINEDBYREGIONstring REGIONCONTAINEDBYREGION 面被面包含,用于对面数据进行拓扑检查。
REGIONCOVEREDBYREGIONstring REGIONCOVEREDBYREGION 面被面覆盖,用于对面数据进行拓扑检查。
LINENOOVERLAPstring LINENOOVERLAP 线与线无重叠,用于对线数据进行拓扑检查。
LINENOOVERLAPWITHstring LINENOOVERLAPWITH 线内无重叠,用于对线数据进行拓扑检查。
POINTNOIDENTICALstring POINTNOIDENTICAL 点不相同,用于对点数据进行拓扑检查。
-
TransferPreferencestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.TransferPreference.BUS; </script> // ES6 Import import { TransferPreference } from '@supermap/iclient-mapboxgl'; const result = TransferPreference.BUS; -
公交换乘策略枚举。 该枚举用于指定交通换乘服务中设置地铁优先、公交优先、不乘地铁、无偏好等偏好设置。
Properties:
Name Type Default Description BUSstring BUS 公交汽车优先。
SUBWAYstring SUBWAY 地铁优先。
NO_SUBWAYstring NO_SUBWAY 不乘坐地铁。
NONEstring NONE 无乘车偏好。
-
TransferTacticstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.TransferTactic.LESS_TIME; </script> // ES6 Import import { TransferTactic } from '@supermap/iclient-mapboxgl'; const result = TransferTactic.LESS_TIME; -
公交换乘策略枚举。 该枚举用于指定公交服务中要素集更新模式,包含添加要素集、更新要素集和删除要素集。
Properties:
Name Type Default Description LESS_TIMEstring LESS_TIME 时间短。
LESS_TRANSFERstring LESS_TRANSFER 少换乘。
LESS_WALKstring LESS_WALK 少步行。
MIN_DISTANCEstring MIN_DISTANCE 距离最短。
-
TurnTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.TurnType.AHEAD; </script> // ES6 Import import { TurnType } from '@supermap/iclient-mapboxgl'; const result = TurnType.AHEAD; -
转弯方向枚举。 用在行驶引导子项类中,表示转弯的方向。
Properties:
Name Type Default Description AHEADstring AHEAD 向前直行。
BACKstring BACK 掉头。
ENDstring END 终点,不拐弯。
LEFTstring LEFT 左转弯。
NONEstring NONE 无效值。
RIGHTstring RIGHT 右转弯。
-
UGCLayerTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.UGCLayerType.THEME; </script> // ES6 Import import { UGCLayerType } from '@supermap/iclient-mapboxgl'; const result = UGCLayerType.THEME; -
SuperMap 图层类型。
Properties:
Name Type Default Description THEMEstring THEME 专题图层。
VECTORstring VECTOR 矢量图层。
GRIDstring GRID 栅格图层。
IMAGEstring IMAGE 影像图层。
-
Unitstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.Unit.METER; </script> // ES6 Import import { Unit } from '@supermap/iclient-mapboxgl'; const result = Unit.METER; -
距离单位枚举。 该类定义了一系列距离单位类型。
Properties:
Name Type Default Description METERstring METER 米。
KILOMETERstring KILOMETER 千米。
MILEstring MILE 英里。
YARDstring YARD 码。
DEGREEstring DEGREE 度。
MILLIMETERstring MILLIMETER 毫米。
CENTIMETERstring CENTIMETER 厘米。
INCHstring INCH 英寸。
DECIMETERstring DECIMETER 分米。
FOOTstring FOOT 英尺。
SECONDstring SECOND 秒。
MINUTEstring MINUTE 分。
RADIANstring RADIAN 弧度。
-
VariogramModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.VariogramMode.EXPONENTIAL; </script> // ES6 Import import { VariogramMode } from '@supermap/iclient-mapboxgl'; const result = VariogramMode.EXPONENTIAL; -
克吕金(Kriging)插值时的半变函数类型枚举。
Properties:
Name Type Default Description EXPONENTIALstring EXPONENTIAL 指数函数。
GAUSSIANstring GAUSSIAN 高斯函数。
SPHERICALstring SPHERICAL 球型函数。
-
WebExportFormatTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.WebExportFormatType.PNG; </script> // ES6 Import import { WebExportFormatType } from '@supermap/iclient-mapboxgl'; const result = WebExportFormatType.PNG; -
Web 打印输出的格式。
- Version:
- 10.0.1
Properties:
Name Type Default Description PNGstring PNG PNG
PDFstring PDF PDF
-
WebScaleOrientationTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.WebScaleOrientationType.HORIZONTALLABELSBELOW; </script> // ES6 Import import { WebScaleOrientationType } from '@supermap/iclient-mapboxgl'; const result = WebScaleOrientationType.HORIZONTALLABELSBELOW; -
Web 比例尺的方位样式。
- Version:
- 10.0.1
Properties:
Name Type Default Description HORIZONTALLABELSBELOWstring HORIZONTALLABELSBELOW horizontal labels below.
HORIZONTALLABELSABOVEstring HORIZONTALLABELSABOVE horizontal labels above.
VERTICALLABELSLEFTstring VERTICALLABELSLEFT vertical labels left.
VERTICALLABELSRIGHTstring VERTICALLABELSRIGHT vertical labels right.
-
WebScaleTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.WebScaleType.LINE; </script> // ES6 Import import { WebScaleType } from '@supermap/iclient-mapboxgl'; const result = WebScaleType.LINE; -
Web 比例尺的样式。
- Version:
- 10.0.1
Properties:
Name Type Default Description LINEstring LINE line.
BARstring BAR bar.
BAR_SUBstring BAR_SUB bar sub.
-
WebScaleUnitstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.WebScaleUnit.METER; </script> // ES6 Import import { WebScaleUnit } from '@supermap/iclient-mapboxgl'; const result = WebScaleUnit.METER; -
Web 比例尺的单位制。
- Version:
- 10.0.1
Properties:
Name Type Default Description METERstring METER 米。
FOOTstring FOOT 英尺。
DEGREESstring DEGREES 度。
Methods
-
conversionDegree(degrees){string}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.conversionDegree(degrees); </script> // ES6 Import import { conversionDegree } from '@supermap/iclient-mapboxgl'; const result = conversionDegree(degrees);common/util/MapCalculateUtil.js, line 85 -
转换经纬度。
Name Type Description degreesnumber 经度或纬度。
Returns:
Type Description string 返回度分秒。 -
createMapService(){MapService}
common/iServer/InitMapServiceBase.js, line 32 -
初始化 MapService。
Returns:
Type Description MapService -
getEpsgCode(prjCoordSys){string}
common/iServer/InitMapServiceBase.js, line 94 -
获取 EPSG Code。
Name Type Description prjCoordSysObject Returns:
Type Description string -
getIntersection(extent1, extent2){Array}
common/util/MapCalculateUtil.js, line 245 -
获取两个范围的交集
Name Type Description extent1Array Extent 1
extent2Array Extent 2
Returns:
Type Description Array 相交范围数组. -
getMapInfo(){Promise}
common/iServer/InitMapServiceBase.js, line 50 -
获取地图信息。
Returns:
Type Description Promise -
getMapInfo(){Promise}
common/iServer/InitMapServiceBase.js, line 64 -
获取坐标投影 WKT。
Returns:
Type Description Promise -
getMeterPerMapUnit(mapUnit){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.getMeterPerMapUnit(mapUnit); </script> // ES6 Import import { getMeterPerMapUnit } from '@supermap/iclient-mapboxgl'; const result = getMeterPerMapUnit(mapUnit);common/util/MapCalculateUtil.js, line 3 -
单位换算,把米|度|千米|英寸|英尺换成米。
Name Type Description mapUnitstring 地图单位。
Returns:
Type Description number 返回地图的距离单位。 -
getRequestTimeout(){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> mapboxgl.supermap.getRequestTimeout(); // 弃用的写法 SuperMap.getRequestTimeout(); </script> // ES6 Import import { getRequestTimeout } from '@supermap/iclient-mapboxgl'; getRequestTimeout();common/util/FetchRequest.js, line 255 -
获取请求超时时间。
Returns:
Type Description number 请求超时时间。 -
getWrapNum(x, includeMax, includeMin, range){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.getWrapNum(x, includeMax, includeMin, range); </script> // ES6 Import import { getWrapNum } from '@supermap/iclient-mapboxgl'; const result = getWrapNum(x, includeMax, includeMin, range);common/util/MapCalculateUtil.js, line 44 -
获取该坐标系的经纬度范围的经度或纬度。
Name Type Description xnumber 经度或纬度。
includeMaxboolean 是否获取经度或纬度的最大值。
includeMinboolean 是否获取经度或纬度的最小值。
rangenumber 坐标系的经纬度范围。
Returns:
Type Description number 返回经度或纬度的值。 -
getZoomByResolution(resolution, resolutions){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.getZoomByResolution(resolution, resolutions); </script> // ES6 Import import { getZoomByResolution } from '@supermap/iclient-mapboxgl'; const result = getZoomByResolution(resolution, resolutions);common/util/MapCalculateUtil.js, line 156 -
通过分辨率获取地图级别。
Name Type Description resolutionnumber 分辨率。
resolutionsArray 分辨率数组。
- Version:
- 11.0.1
Returns:
Type Description number 地图级别。 -
initMap(url, options){Object}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const initMap = mapboxgl.supermap.initMap(url, { mapOptions }); </script> // ES6 Import import { initMap } from '@supermap/iclient-mapboxgl'; initMap(url, { mapOptions })mapboxgl/mapping/InitMap.js, line 7 -
根据 SuperMap iServer 服务参数,创建地图与图层。目前仅支持SuperMap iServer 地图服务。
Name Type Description urlnumber rest 地图服务地址。例如: http://{ip}:{port}/iserver/services/map-world/rest/maps/World。
optionsObject 参数。
Name Type Default Description typeObject 可选 地图类型。可选值 'raster' | 'vector-tile'。默认 'raster'。
mapOptionsObject 可选 地图配置,参数设置参考 https://docs.mapbox.com/mapbox-gl-js/api/map/。
proxystring 可选 服务代理地址。
withCredentialsboolean false 可选 请求是否携带 cookie。
crossOriginboolean 可选 是否允许跨域请求。
headersObject 可选 请求头。
- Version:
- 11.1.1
Returns:
Type Description Object 实例对象。对象包括地图实例。 -
intersects(extent1, extent2){boolean}
common/util/MapCalculateUtil.js, line 229 -
范围是否相交
Name Type Description extent1Array 范围1
extent2Array 范围2
Returns:
Type Description boolean 范围是否相交。 -
isCORS(){boolean}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.isCORS(); // 弃用的写法 const result = SuperMap.isCORS(); </script> // ES6 Import import { isCORS } from '@supermap/iclient-mapboxgl'; const result = isCORS();common/util/FetchRequest.js, line 200 -
是是否允许跨域请求。
Returns:
Type Description boolean 是否允许跨域请求。 -
isPlaneProjection(type){boolean}
common/iServer/InitMapServiceBase.js, line 84 -
是否是平面坐标系。
Name Type Description typestring 投影坐标系类型
Returns:
Type Description boolean -
refreshDragedNodePosition()
common/overlay/knowledge-graph/G6Render.js, line 953 -
更新拖拽后节点的x ,y
-
scalesToResolutions(scales, bounds, dpi, mapUnit, level){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.scalesToResolutions(scales, bounds, dpi, mapUnit); </script> // ES6 Import import { scalesToResolutions } from '@supermap/iclient-mapboxgl'; const result = scalesToResolutions(scales, bounds, dpi, mapUnit);common/util/MapCalculateUtil.js, line 115 -
通过比例尺数组计算分辨率数组,没有传入比例尺数组时通过地图范围与地图最大级别进行计算。
Name Type Default Description scalesArray 比例尺数组。
boundsObject 地图范围。
dpinumber 屏幕分辨率。
mapUnitstring 地图单位。
levelnumber 22 可选 地图最大级别。
- Version:
- 11.0.1
Returns:
Type Description number 分辨率。 -
scaleToResolution(scale, dpi, mapUnit){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.scaleToResolution(scale, dpi, mapUnit); </script> // ES6 Import import { scaleToResolution } from '@supermap/iclient-mapboxgl'; const result = scaleToResolution(scale, dpi, mapUnit);common/util/MapCalculateUtil.js, line 193 -
通过比例尺计算分辨率。
Name Type Description scalenumber 比例尺。
dpinumber 屏幕分辨率。
mapUnitstring 地图单位。
- Version:
- 11.0.1
Returns:
Type Description number 分辨率。 -
setCORS(cors)
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> mapboxgl.supermap.setCORS(cors); // 弃用的写法 SuperMap.setCORS(cors); </script> // ES6 Import import { setCORS } from '@supermap/iclient-mapboxgl'; setCORS(cors);common/util/FetchRequest.js, line 174 -
设置是否允许跨域请求,全局配置,优先级低于 service 下的 crossOring 参数。
Name Type Description corsboolean 是否允许跨域请求。
-
setRequestTimeout(timeout)
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> mapboxgl.supermap.setRequestTimeout(timeout); // 弃用的写法 SuperMap.setRequestTimeout(timeout); </script> // ES6 Import import { setRequestTimeout } from '@supermap/iclient-mapboxgl'; setRequestTimeout(timeout);common/util/FetchRequest.js, line 229 -
设置请求超时时间。
Name Type Default Description timeoutnumber 45 可选 请求超时时间,单位秒。
Type Definitions
-
RequestCallback(serviceResult)
common/iServer/CommonServiceBase.js, line 391 -
服务器请求回调函数。
Name Type Description serviceResultObject Name Type Description resultObject 服务器返回结果。
objectObject 发布应用程序事件的对象。
typeObject 事件类型。
optionsObject 请求参数。
Example
var requestCallback = function (serviceResult){ console.log(serviceResult.result); } new QueryService(url).queryByBounds(param, requestCallback);