Members
-
AggregationTypesstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.AggregationTypes.TAG; </script> // ES6 Import import { AggregationTypes } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.AlongLineDirection.NORMAL; </script> // ES6 Import import { AlongLineDirection } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.AnalystAreaUnit.SQUAREMETER; </script> // ES6 Import import { AnalystAreaUnit } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.AnalystSizeUnit.METER; </script> // ES6 Import import { AnalystSizeUnit } from '@supermap/iclient-leaflet'; const result = AnalystSizeUnit.METER; -
分布式分析单位
Properties:
Name Type Default Description METERstring Meter 米。
KILOMETERstring Kilometer 千米。
YARDstring Yard 码。
FOOTstring Foot 英尺。
MILEstring Mile 英里。
-
constant BrowserObject
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.Browser.name; </script> // ES6 Import import { Browser } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.BucketAggType.GEOHASH_GRID; </script> // ES6 Import import { BucketAggType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.BufferEndType.FLAT; </script> // ES6 Import import { BufferEndType } from '@supermap/iclient-leaflet'; const result = BufferEndType.FLAT; -
缓冲区分析BufferEnd类型。
Properties:
Name Type Default Description FLATstring FLAT FLAT
ROUNDstring ROUND ROUND
-
BufferRadiusUnitstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.BufferRadiusUnit.CENTIMETER; </script> // ES6 Import import { BufferRadiusUnit } from '@supermap/iclient-leaflet'; 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 码
-
ChartTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.ChartType.BAR; </script> // ES6 Import import { ChartType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.ClientType.IP; </script> // ES6 Import import { ClientType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.ClipAnalystMode.CLIP; </script> // ES6 Import import { ClipAnalystMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.ColorGradientType.BLACK_WHITE; </script> // ES6 Import import { ColorGradientType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.ColorSpaceType.CMYK; </script> // ES6 Import import { ColorSpaceType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.DataFormat.GEOJSON; </script> // ES6 Import import { DataFormat } from '@supermap/iclient-leaflet'; const result = DataFormat.GEOJSON; -
服务请求返回结果数据类型
Properties:
Name Type Default Description GEOJSONstring GEOJSON GEOJSON
ISERVERstring ISERVER ISERVER
-
DataItemOrderBy
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.DataItemOrderBy.FILENAME; </script> // ES6 Import import { DataItemOrderBy } from '@supermap/iclient-leaflet'; const result = DataItemOrderBy.FILENAME; -
数据排序字段。
Properties:
Name Type Default Description FILENAMEFILENAME FILENAME
IDID ID
LASTMODIFIEDTIMELASTMODIFIEDTIME LASTMODIFIEDTIME
NICKNAMENICKNAME NICKNAME
SERVICESTATUSSERVICESTATUS SERVICESTATUS
SIZESIZE SIZE
STATUSSTATUS STATUS
TYPETYPE TYPE
UPDATETIMEUPDATETIME UPDATETIME
USERNAMEUSERNAME USERNAME
-
DataItemTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.DataItemType.GEOJSON; </script> // ES6 Import import { DataItemType } from '@supermap/iclient-leaflet'; 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 AUDIO
COLORstring COLOR COLOR
COLORSCHEMEstring COLORSCHEME COLORSCHEME
CSVstring CSV CSV
EXCELstring EXCEL EXCEL
FILLSYMBOLstring FILLSYMBOL FILLSYMBOL
IMAGEstring IMAGE IMAGE
LAYERTEMPLATEstring LAYERTEMPLATE LAYERTEMPLATE
LAYOUTTEMPLATEstring LAYOUTTEMPLATE LAYOUTTEMPLATE
LINESYMBOLstring LINESYMBOL LINESYMBOL
MAPTEMPLATEstring MAPTEMPLATE MAPTEMPLATE
MARKERSYMBOLstring MARKERSYMBOL MARKERSYMBOL
MBTILESstring MBTILES MBTILES
PHOTOSstring PHOTOS PHOTOS
SHPstring SHP SHP
SMTILESstring SMTILES SMTILES
SVTILESstring SVTILES SVTILES
THEMETEMPLATEstring THEMETEMPLATE THEMETEMPLATE
TPKstring TPK TPK
UDBstring UDB UDB
UGCV5string UGCV5 UGCV5
UNKNOWNstring UNKNOWN UNKNOWN
VIDEOstring VIDEO VIDEO
WORKENVIRONMENTstring WORKENVIRONMENT WORKENVIRONMENT
WORKSPACEstring WORKSPACE WORKSPACE
-
DataReturnModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.DataReturnMode.DATASET_AND_RECORDSET; </script> // ES6 Import import { DataReturnMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.DirectionType.EAST; </script> // ES6 Import import { DirectionType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.EditType.ADD; </script> // ES6 Import import { EditType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.EngineType.IMAGEPLUGINS; </script> // ES6 Import import { EngineType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.EntityType.DEPARTMENT; </script> // ES6 Import import { EntityType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.Exponent.EXP1; </script> // ES6 Import import { Exponent } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.FillGradientMode.NONE; </script> // ES6 Import import { FillGradientMode } from '@supermap/iclient-leaflet'; const result = FillGradientMode.NONE; -
渐变填充风格的渐变类型枚举。
Properties:
Name Type Default Description NONEstring NONE 无渐变。
LINEARstring LINEAR 线性渐变填充。
RADIALstring RADIAL 辐射渐变填充。
CONICALstring CONICAL 圆锥渐变填充。
SQUAREstring SQUARE 四角渐变填充。
-
FilterFieldnumber
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.FilterField.LINKPAGE; </script> // ES6 Import import { FilterField } from '@supermap/iclient-leaflet'; const result = FilterField.LINKPAGE; -
关键字查询时的过滤字段。
Properties:
Name Type Default Description LINKPAGEnumber LINKPAGE LINKPAGE
MAPTITLEnumber MAPTITLE MAPTITLE
NICKNAMEnumber NICKNAME NICKNAME
RESTITLEnumber RESTITLE RESTITLE
USERNAMEnumber USERNAME USERNAME
-
GeometryTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.GeometryType.LINE; </script> // ES6 Import import { GeometryType } from '@supermap/iclient-leaflet'; const result = GeometryType.LINE; -
几何对象枚举,定义了一系列几何对象类型。
Properties:
Name Type Default Description LINEstring LINE LINE
LINEMstring LINEM LINEM
POINTstring POINT POINT
REGIONstring REGION REGION
POINTEPSstring POINTEPS POINTEPS
LINEEPSstring LINEEPS LINEEPS
REGIONEPSstring REGIONEPS REGIONEPS
ELLIPSEstring ELLIPSE ELLIPSE
CIRCLEstring CIRCLE CIRCLE
TEXTstring TEXT TEXT
RECTANGLEstring RECTANGLE RECTANGLE
UNKNOWNstring UNKNOWN UNKNOWN
GEOCOMPOUNDstring GEOCOMPOUND GEOCOMPOUND
-
GetFeatureModestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.GetFeatureMode.BOUNDS; </script> // ES6 Import import { GetFeatureMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.GraduatedMode.CONSTANT; </script> // ES6 Import import { GraduatedMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.GraphAxesTextDisplayMode.ALL; </script> // ES6 Import import { GraphAxesTextDisplayMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.GridType.CROSS; </script> // ES6 Import import { GridType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.InterpolationAlgorithmType.KRIGING; </script> // ES6 Import import { InterpolationAlgorithmType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.JoinType.INNERJOIN; </script> // ES6 Import import { JoinType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.LabelBackShape.DIAMOND; </script> // ES6 Import import { LabelBackShape } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.LabelOverLengthMode.NEWLINE; </script> // ES6 Import import { LabelOverLengthMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.LayerType.UGC; </script> // ES6 Import import { LayerType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.MeasureMode.DISTANCE; </script> // ES6 Import import { MeasureMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.MetricsAggType.AVG; </script> // ES6 Import import { MetricsAggType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.OrderBy.UPDATETIME; </script> // ES6 Import import { OrderBy } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.OrderType.ASC; </script> // ES6 Import import { OrderType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.OutputType.INDEXEDHDFS; </script> // ES6 Import import { OutputType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.OverlayOperationType.CLIP; </script> // ES6 Import import { OverlayOperationType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.PermissionType.SEARCH; </script> // ES6 Import import { PermissionType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.PixelFormat.BIT16; </script> // ES6 Import import { PixelFormat } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.QueryOption.ATTRIBUTE; </script> // ES6 Import import { QueryOption } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.RangeMode.CUSTOMINTERVAL; </script> // ES6 Import import { RangeMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.GetFeatureMode.NDVI; </script> // ES6 Import import { GetFeatureMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.GetFeatureMode.MAP; </script> // ES6 Import import { GetFeatureMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.SearchMode.KDTREE_FIXED_COUNT; </script> // ES6 Import import { SearchMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.SearchType.PUBLIC; </script> // ES6 Import import { SearchType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.ServerType.ISERVER; </script> // ES6 Import import { ServerType } from '@supermap/iclient-leaflet'; const result = ServerType.ISERVER; -
服务器类型
Properties:
Name Type Default Description ISERVERstring ISERVER ISERVER
IPORTALstring IPORTAL IPORTAL
ONLINEstring ONLINE ONLINE
-
ServiceStatus
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.ServiceStatus.DOES_NOT_INVOLVE; </script> // ES6 Import import { ServiceStatus } from '@supermap/iclient-leaflet'; const result = ServiceStatus.DOES_NOT_INVOLVE; -
服务发布状态。
Properties:
Name Type Default Description DOES_NOT_INVOLVEDOES_NOT_INVOLVE 不涉及,不可发布。
PUBLISH_FAILEDPUBLISH_FAILED 发布失败。
PUBLISHEDPUBLISHED 已发布。
PUBLISHINGPUBLISHING 正在发布。
UNPUBLISHEDUNPUBLISHED 未发布。
UNPUBLISHED_FAILEDUNPUBLISHED_FAILED 取消服务失败。
-
SideTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.SideType.LEFT; </script> // ES6 Import import { SideType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.SmoothMethod.BSPLINE; </script> // ES6 Import import { SmoothMethod } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.SpatialQueryMode.CONTAIN; </script> // ES6 Import import { SpatialQueryMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.SpatialRelationType.CONTAIN; </script> // ES6 Import import { SpatialRelationType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.StatisticAnalystMode.MAX; </script> // ES6 Import import { StatisticAnalystMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.StatisticMode.AVERAGE; </script> // ES6 Import import { StatisticMode } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.SummaryType.SUMMARYMESH; </script> // ES6 Import import { SummaryType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.SupplyCenterType.FIXEDCENTER; </script> // ES6 Import import { SupplyCenterType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.SurfaceAnalystMethod.ISOLINE; </script> // ES6 Import import { SurfaceAnalystMethod } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.TextAlignment.TOPLEFT; </script> // ES6 Import import { TextAlignment } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.ThemeGraphTextFormat.CAPTION; </script> // ES6 Import import { ThemeGraphTextFormat } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.ThemeGraphType.AREA; </script> // ES6 Import import { ThemeGraphType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.ThemeType.DOTDENSITY; </script> // ES6 Import import { ThemeType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.TopologyValidatorRule.REGIONNOOVERLAP; </script> // ES6 Import import { TopologyValidatorRule } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.TransferPreference.BUS; </script> // ES6 Import import { TransferPreference } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.TransferTactic.LESS_TIME; </script> // ES6 Import import { TransferTactic } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.TurnType.AHEAD; </script> // ES6 Import import { TurnType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.UGCLayerType.THEME; </script> // ES6 Import import { UGCLayerType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.Unit.METER; </script> // ES6 Import import { Unit } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.VariogramMode.EXPONENTIAL; </script> // ES6 Import import { VariogramMode } from '@supermap/iclient-leaflet'; const result = VariogramMode.EXPONENTIAL; -
克吕金(Kriging)插值时的半变函数类型枚举
Properties:
Name Type Default Description EXPONENTIALstring EXPONENTIAL 指数函数。
GAUSSIANstring GAUSSIAN 高斯函数。
SPHERICALstring SPHERICAL 球型函数。
-
VectorTileFormatstring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.VectorTileFormat.JSON; </script> // ES6 Import import { VectorTileFormat } from '@supermap/iclient-leaflet'; const result = VectorTileFormat.JSON; -
矢量瓦片格式
Properties:
Name Type Default Description JSONstring JSON JSON
MVTstring MVT MVT
PBFstring PBF PBF
-
WebExportFormatTypestring
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.WebExportFormatType.PNG; </script> // ES6 Import import { WebExportFormatType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.WebScaleOrientationType.HORIZONTALLABELSBELOW; </script> // ES6 Import import { WebScaleOrientationType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.WebScaleType.LINE; </script> // ES6 Import import { WebScaleType } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.WebScaleUnit.METER; </script> // ES6 Import import { WebScaleUnit } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.conversionDegree(degrees); </script> // ES6 Import import { conversionDegree } from '@supermap/iclient-leaflet'; const result = conversionDegree(degrees);common/util/MapCalculateUtil.js, line 85 -
转换经纬度。
Name Type Description degreesnumber 经度或纬度。
Returns:
Type Description string 返回度分秒。 -
crsFromMapJSON(mapJSONObj, mapOptions){CRS}
leaflet/mapping/initMap.js, line 64 -
通过iServer REST地图的配置信息,构建地图的CRS(非平面投影、EPSG:3857、EPSG:4326需要先注册投影)。
Name Type Description mapJSONObjObject 地图参数。
Name Type Description prjCoordSysObject 投影配置。
boundsObject 范围。
dpinumber dpi。
visibleScalesArray 自定义比例尺。
coordUnitArray 地图单位。
mapOptionsObject 可选 地图参数。
Name Type Default Description maxZoomObject 22 可选 地图最大缩放级别。没有设置固定比例尺时生效。
- Version:
- 11.0.1
Returns:
Type Description CRS 返回CRS。 -
getMeterPerMapUnit(mapUnit){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.getMeterPerMapUnit(mapUnit); </script> // ES6 Import import { getMeterPerMapUnit } from '@supermap/iclient-leaflet'; const result = getMeterPerMapUnit(mapUnit);common/util/MapCalculateUtil.js, line 3 -
单位换算,把米|度|千米|英寸|英尺换成米。
Name Type Description mapUnitstring 地图单位。
Returns:
Type Description number 返回地图的距离单位。 -
getResolutionFromScaleDpi(scale, dpi, coordUnit, datumAxis){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.Util.getResolutionFromScaleDpi(scale, dpi, coordUnit, datumAxis); // 弃用的写法 const result = L.supermap.Util.GetResolutionFromScaleDpi(scale, dpi, coordUnit, datumAxis); const result = L.Util.GetResolutionFromScaleDpi(scale, dpi, coordUnit, datumAxis); </script> // ES6 Import import { getResolutionFromScaleDpi } from '@supermap/iclient-leaflet'; const result = getResolutionFromScaleDpi(scale, dpi, coordUnit, datumAxis);leaflet/core/Util.js, line 181 -
根据比例尺和 dpi 计算屏幕分辨率。
Name Type Default Description scalenumber 比例尺。
dpinumber 图像分辨率,表示每英寸内的像素个数。
coordUnitstring 可选 投影坐标系统的地图单位。
datumAxisnumber 6378137 可选 地理坐标系统椭球体长半轴。用户自定义地图的 Options 时,若未指定该参数的值,则 DPI 默认按照 WGS84 参考系的椭球体长半轴 6378137 来计算。
Returns:
Type Description number 当前比例尺下的屏幕分辨率。 -
getWrapNum(x, includeMax, includeMin, range){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.getWrapNum(x, includeMax, includeMin, range); </script> // ES6 Import import { getWrapNum } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.getZoomByResolution(resolution, resolutions); </script> // ES6 Import import { getZoomByResolution } from '@supermap/iclient-leaflet'; 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){Promise}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const initMap = L.supermap.initMap; initMap(url, {mapOptions, layerOptions}); </script> // ES6 Import import { initMap } from "@supermap/iclient-leaflet"; initMap(url, {mapOptions, layerOptions});leaflet/mapping/initMap.js, line 12 -
根据 SuperMap iServer 服务参数,创建地图与图层。目前仅支持SuperMap iServer 地图服务,创建的图层为 TiledMapLayer。
Name Type Description urlstring 服务地址,例如: http://{ip}:{port}/iserver/services/map-world/rest/maps/World。
optionsObject 可选 参数。
Name Type Description mapOptionsL.MapOptions 可选 地图参数,未设置的情况下,默认使用 SuperMap iServer 服务参数进行设置。
layerOptionsObject 可选 图层参数,参考TiledMapLayer的参数。
- Version:
- 11.0.1
Returns:
Type Description Promise Promise 对象, 返回{ map, layer }。 Example
initMap(url, {mapOptions, layerOptions}); -
isCORS(){boolean}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.isCORS(); // 弃用的写法 const result = SuperMap.isCORS(); </script> // ES6 Import import { isCORS } from '@supermap/iclient-leaflet'; const result = isCORS();common/util/FetchRequest.js, line 203 -
是是否允许跨域请求。
Returns:
Type Description boolean 是否允许跨域请求。 -
normalizeScale(scale){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.Util.normalizeScale(scale); // 弃用的写法 const result = L.supermap.Util.NormalizeScale(scale); const result = L.Util.NormalizeScale(scale); </script> // ES6 Import import { normalizeScale } from '@supermap/iclient-leaflet'; const result = normalizeScale(scale);leaflet/core/Util.js, line 153 -
转换比例尺。
Name Type Description scalenumber 比例尺。
Returns:
Type Description number 正常的 scale 值。 -
resolutionToScale(resolution, dpi, mapUnit){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.Util.resolutionToScale(resolution, dpi, mapUnit); </script> // ES6 Import import { resolutionToScale } from '@supermap/iclient-leaflet'; const result = resolutionToScale(resolution, dpi, mapUnit);leaflet/core/Util.js, line 90 -
通过分辨率计算比例尺。
Name Type Description resolutionnumber 分辨率。
dpinumber 屏幕分辨率。
mapUnitstring 地图单位。
Returns:
Type Description number 比例尺。 -
scalesToResolutions(scales, bounds, dpi, mapUnit, level){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.scalesToResolutions(scales, bounds, dpi, mapUnit); </script> // ES6 Import import { scalesToResolutions } from '@supermap/iclient-leaflet'; 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/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.scaleToResolution(scale, dpi, mapUnit); </script> // ES6 Import import { scaleToResolution } from '@supermap/iclient-leaflet'; 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 分辨率。 -
scaleToResolution(scale, dpi, mapUnit){number}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.Util.scaleToResolution(scale, dpi, mapUnit); </script> // ES6 Import import { scaleToResolution } from '@supermap/iclient-leaflet'; const result = scaleToResolution(scale, dpi, mapUnit);leaflet/core/Util.js, line 122 -
通过比例尺计算分辨率。
Name Type Description scalenumber 比例尺。
dpinumber 屏幕分辨率。
mapUnitstring 地图单位。
Returns:
Type Description number 分辨率。 -
setCORS(cors)
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> L.supermap.setCORS(cors); // 弃用的写法 SuperMap.setCORS(cors); </script> // ES6 Import import { setCORS } from '@supermap/iclient-leaflet'; setCORS(cors);common/util/FetchRequest.js, line 177 -
设置是否允许跨域请求,全局配置,优先级低于 service 下的 crossOring 参数。
Name Type Description corsboolean 是否允许跨域请求。
-
toGeoJSON(feature)
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.Util.toGeoJSON(feature); </script> // ES6 Import import { toGeoJSON } from '@supermap/iclient-leaflet'; const result = toGeoJSON(feature);leaflet/core/Util.js, line 12 -
将传入对象转为 GeoJSON 格式。
Name Type Description featureObject 待转参数。
-
toSuperMapGeometry(geometry)
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.Util.toSuperMapGeometry(geometry); </script> // ES6 Import import { toSuperMapGeometry } from '@supermap/iclient-leaflet'; const result = toSuperMapGeometry(geometry);leaflet/core/Util.js, line 39 -
将 GeoJSON 对象转为 SuperMap 几何图形。
Name Type Description geometryGeoJSONObject GeoJSON 对象。
-
transform(feature, sourceCRS, targetCRS){GeoJSONObject}
Usage
// 浏览器 <script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script> <script> const result = L.supermap.Util.transform(feature, sourceCRS, targetCRS); // 弃用的写法: L.Util.transform(feature, sourceCRS, targetCRS); </script> // ES6 Import import { transform } from '@supermap/iclient-leaflet'; const result = transform(feature, sourceCRS, targetCRS);leaflet/core/Transform.js, line 7 -
转换要素坐标。
Name Type Default Description featureL.Marker | L.CircleMarker | L.Polyline | L.Polygon | L.Rectangle | L.LatLngBounds | L.Bounds | Object 待转换要素:Leaflet Vector Layers 。 的
L.Marker|L.CircleMarker|L.Polyline|L.Polygon|L.Rectangle|L.LatLngBounds|L.Bounds|GeoJSONObject类型。sourceCRSCRS L.CRS.EPSG4326 可选 转换要素的源坐标系。
targetCRSCRS 转换要素的目标坐标系。
Returns:
Type Description GeoJSONObject 返回 GeoJSON 规范的数据类型。
Type Definitions
-
RequestCallback(serviceResult)
common/iServer/CommonServiceBase.js, line 335 -
服务器请求回调函数
Name Type Description serviceResultObject Name Type Description resultObject 服务器返回结果。
objectObject 发布应用程序事件的对象。
typeObject 事件类型。
elementObject 接受浏览器事件的 DOM 节点。
Example
var requestCallback = function (serviceResult){ console.log(serviceResult.result); } new QueryService(url).queryByBounds(param, requestCallback);