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 '@supermapgis/iclient-mapboxgl'; const result = AggregationTypes.TAG; -
SuperMap 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 '@supermapgis/iclient-mapboxgl'; const result = AlongLineDirection.NORMAL; -
标签沿线标注方向枚举。路线与水平方向的锐角夹角在 60 度以上表示上下方向,60 度以下表示左右方向。
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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = BufferEndType.FLAT; -
缓冲区分析的缓冲端点类型。用以区分线对象缓冲区分析时的端点是圆头缓冲还是平头缓冲。
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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 服务端。
WEBstring 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 '@supermapgis/iclient-mapboxgl'; const result = ClipAnalystMode.CLIP; -
裁剪分析模式。
Properties:
Name Type Default Description CLIPstring clip 裁剪分析操作。
INTERSECTstring 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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = ColorSpaceType.CMYK; -
色彩空间枚举。 由于成色原理的不同,决定了显示器、投影仪这类靠色光直接合成颜色的颜色设备和打印机、 印刷机这类靠使用颜料的印刷设备在生成颜色方式上的区别。 针对上述不同成色方式,SuperMap 提供两种色彩空间, 分别为 RGB 和 CMYK。RGB 主要用于显示系统中,CMYK 主要用于印刷系统中。
Properties:
Name Type Default Description CMYKstring CMYK CMYK色彩模式,该类型主要在印刷系统使用。
RGBstring RGB RGB色彩模式,该类型主要在显示系统中使用。
-
ColourModeChartstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.ColourModeChart.DAY_BRIGHT; </script> // ES6 Import import { ColourModeChart } from '@supermapgis/iclient-mapboxgl'; const result = ColourModeChart.DAY_BRIGHT; -
颜色模式的类型。
- Version:
- 11.2.0
Properties:
Name Type Default Description DAY_BRIGHTstring DAY_BRIGHT 白昼模式。
DUSKstring DUSK 晨昏模式。
NIGHTstring NIGHT 夜晚模式。
-
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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = DataItemType.GEOJSON; -
SuperMap 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 ArcGIS 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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = DirectionType.EAST; -
网络分析中方向枚举。 在行驶引导子项中使用。
Properties:
Name Type Default Description EASTstring EAST 东。
NONEstring NONE 无方向。
NORTHstring NORTH 北。
SOURTHstring SOURTH 南。
WESTstring WEST 西。
-
DisplayModeChartstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.DisplayModeChart.STANDARD; </script> // ES6 Import import { DisplayModeChart } from '@supermapgis/iclient-mapboxgl'; const result = DisplayModeChart.STANDARD; -
海图显示模式的类型。
- Version:
- 11.2.0
Properties:
Name Type Default Description BASICstring BASIC 基本显示模式
STANDARDstring STANDARD 标准显示模式
OTHERstring OTHER 其他显示模式。
-
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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = EngineType.IMAGEPLUGINS; -
数据源引擎类型枚举。SuperMap SDX+ 是 SuperMap 的空间引擎技术, 它提供了一种通用的访问机制(或模式)来访问存储在不同引擎里的数据。引擎类型包括数据库引擎、文件引擎和 Web 引擎。
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 '@supermapgis/iclient-mapboxgl'; const result = EntityType.DEPARTMENT; -
SuperMap 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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = GetFeatureMode.BOUNDS; -
数据查询的模式(获取要素的方式)枚举。
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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = LabelBackShape.DIAMOND; -
标签专题图中标签背景的形状枚举。标签背景是 SuperMap iServer 支持的一种标签的显示风格, 使用一定颜色的各种形状作为各标签背景,从而可以突出显示标签或者使标签专题图更美观。
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 '@supermapgis/iclient-mapboxgl'; const result = LabelOverLengthMode.NEWLINE; -
标签专题图中超长标签的处理模式枚举。对于标签的长度超过设置的标签最大长度的标签称为超长标签, 标签的最大长度可以通过 ThemeLabel.maxLabelLength 来设置。 SuperMap 提供三种超长标签的处理方式来控制超长标签的显示行为,即换行显示、对超长标签不进行处理、省略超出部分。
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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = OrderBy.UPDATETIME; -
SuperMap 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 '@supermapgis/iclient-mapboxgl'; const result = OrderType.ASC; -
SuperMap 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 '@supermapgis/iclient-mapboxgl'; const result = OutputType.INDEXEDHDFS; -
分布式分析输出类型枚举。
Properties:
Name Type Default Description INDEXEDHDFSstring INDEXEDHDFS HDFS 的索引文件。
UDBstring UDB 本地 UDB 文件。
MONGODBstring MONGODB MongoDB 数据库。
PGstring PG PostgreSQL 数据库。
-
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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = PermissionType.SEARCH; -
SuperMap 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 '@supermapgis/iclient-mapboxgl'; const result = PixelFormat.BIT16; -
定义栅格与影像数据存储的像素格式枚举。光栅数据结构实际上就是像元的阵列, 像元(或像素)是光栅数据的最基本信息存储单位,本枚举类包含了表示一个像元(或像素)的字节长度。 在 SuperMap 中有两种类型的光栅数据:栅格数据集和影像数据集(参见 DatasetGridInfo和DatasetImageInfo)。 栅格数据集多用来进行栅格分析,因而其像元值为地物的属性值,如高程,降水量等; 而影像数据集一般用来进行显示或作为底图,因而其像元值为颜色值或颜色的索引值。
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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = GetFeatureMode.MAP; -
SuperMap 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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = SearchType.PUBLIC; -
对 SuperMap 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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = SpatialQueryMode.CONTAIN; -
空间查询模式枚举。该类定义了空间查询操作模式常量。空间查询是通过几何对象之间的空间位置关系来构建过滤条件的一种查询方式。 例如:通过空间查询可以找到被包含在面中的空间对象,相离或者相邻的空间对象等。
注意:当前版本提供对点、线、面、网络和文本类型数据的空间查询,其中文本类型仅支持 Intersect 和 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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = WebScaleOrientationType.HORIZONTALLABELSBELOW; -
Web 比例尺的方位样式。
- Version:
- 10.0.1
Properties:
Name Type Default Description HORIZONTALLABELSBELOWstring HORIZONTALLABELSBELOW 位于地图上侧的水平方向标签。
HORIZONTALLABELSABOVEstring HORIZONTALLABELSABOVE 位于地图下侧的水平方向标签。
VERTICALLABELSLEFTstring VERTICALLABELSLEFT 位于地图左侧的垂直方向标签。
VERTICALLABELSRIGHTstring VERTICALLABELSRIGHT 位于地图右侧的垂直方向标签。
-
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 '@supermapgis/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 '@supermapgis/iclient-mapboxgl'; const result = WebScaleUnit.METER; -
Web 打印中地图比例尺的单位制。
- Version:
- 10.0.1
Properties:
Name Type Default Description METERstring METER 米。
FOOTstring FOOT 英尺。
DEGREESstring DEGREES 度。
Methods
-
createMapService(){MapService}
common/iServer/InitMapServiceBase.js, line 32 -
初始化地图服务。
Returns:
Type Description MapService -
decrypt(options){string}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.decrypt(options); </script> // ES6 Import import { decrypt } from '@supermapgis/iclient-mapboxgl'; const result = decrypt(options);common/security/decrypt.js, line 6 -
隧道解密ArrayBuffer数据。
Name Type Description optionsObject 参数。
Name Type Default Description arrayBufferArrayBuffer 解密数据,数据格式为ArrayBuffer。
keystring 秘钥
algorithmstring 加密算法, 可选值: "AES"、"AES/CTR"、"SM4"、"SM4/CTR"。
decodeSizenumber 256 可选 需要解密的数据大小。
ivKeyArray.<number> 可选 当algorithm为'AES'或者"AES/CTR", 默认值为:[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16];当algorithm为'SM4'或者"SM4/CTR", 默认值为:[48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 97, 98, 99, 100, 101, 102]。
Returns:
Type Description string 解密后的数据。 -
getEpsgCode(prjCoordSys){string}
common/iServer/InitMapServiceBase.js, line 102 -
获取 EPSG Code。
Name Type Description prjCoordSysObject Returns:
Type Description string -
getL7Scene(){Promise}
mapboxgl/overlay/L7Layer.js, line 96 -
扩展mapboxgl.Map, 获取@antv/L7的scene实例。使用方法: map.getL7Scene().then(scene => { console.log(scene) });
- Version:
- 11.2.0
Returns:
Type Description Promise @antv/L7的scene实例。 -
getMapInfo(){Promise}
common/iServer/InitMapServiceBase.js, line 50 -
获取地图信息。
Returns:
Type Description Promise -
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 '@supermapgis/iclient-mapboxgl'; getRequestTimeout();common/util/FetchRequest.js, line 256 -
获取请求超时的时间。
Returns:
Type Description number 请求超时时间。 -
getServiceKey(serviceUrl){Promise}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const result = mapboxgl.supermap.getServiceKey(serviceUrl); </script> // ES6 Import import { getServiceKey } from '@supermapgis/iclient-mapboxgl'; const result = getServiceKey(serviceUrl);common/util/EncryptRequest.js, line 144 -
获取矢量瓦片解密密钥
Name Type Description serviceUrlstring iServer 服务地址。例如:http://127.0.0.1:8090/iserver/services/xxx、http://127.0.0.1:8090/iserver/services/xxx/rest/maps、http://127.0.0.1:8090/iserver/services/xxx/restjsr/v1/vectortile。
- Version:
- 11.2.0
Returns:
Type Description Promise options - 矢量瓦片密钥和加密算法类型。例如 { serviceKey, algorithm }。 -
getWKT(){Promise}
common/iServer/InitMapServiceBase.js, line 72 -
获取坐标投影的 WKT。
Returns:
Type Description Promise -
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 '@supermapgis/iclient-mapboxgl'; initMap(url, { mapOptions })mapboxgl/mapping/InitMap.js, line 9 -
根据 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 实例对象。对象包括地图实例。 -
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 '@supermapgis/iclient-mapboxgl'; const result = isCORS();common/util/FetchRequest.js, line 201 -
是是否允许跨域请求。
Returns:
Type Description boolean 是否允许跨域请求。 -
isPlaneProjection(type){boolean}
common/iServer/InitMapServiceBase.js, line 92 -
是否是平面坐标系。
Name Type Description typestring 投影坐标系类型。
Returns:
Type Description boolean -
listLayers(){Array}
common/util/MapExtend.js, line 32 -
扩展mapboxgl.Map, 获取所有叠加图层;
- Version:
- 11.2.0
Returns:
Type Description Array 图层数组。 -
refreshDragedNodePosition()
common/overlay/knowledge-graph/G6Render.js, line 971 -
更新拖拽后节点的x ,y
-
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 '@supermapgis/iclient-mapboxgl'; setCORS(cors);common/util/FetchRequest.js, line 175 -
设置是否允许跨域请求,全局配置,优先级低于 service 下的 crossOring 参数。
Name Type Description corsboolean 是否允许跨域请求。
-
setRequestHeaders(func)
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/mapboxgl/iclient-mapboxgl.js"></script> <script> const headers = function (url) { return { token: !!url }; }; mapboxgl.supermap.setRequestHeaders(headers); </script> // ES6 Import import { setRequestHeaders } from '@supermapgis/iclient-mapboxgl'; const headers = function (url) { return { token: !!url }; }; setRequestHeaders(headers);common/util/FetchRequest.js, line 283 -
设置请求自定义 request headers。
Name Type Description funcfunction 请求自定义 request headers 回调函数。
- Version:
- 12.0.0-r
-
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 '@supermapgis/iclient-mapboxgl'; setRequestTimeout(timeout);common/util/FetchRequest.js, line 230 -
设置请求超时时间。
Name Type Default Description timeoutnumber 45 可选 请求超时时间,单位为秒。
Type Definitions
-
BaseLayerConfigObject
-
切换底图
- Version:
- 12.0.1
Properties:
Name Type Description idstring 唯一标识
titlestring 显示名称
layersArray.<Object> 上图的图层
sourcesObject 图层对应的source
-
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);