---
title: Namespace: default
source: https://vjmap.com/doc/Namespace_default.html
---

# Namespace: default

### Table of contents

#### Namespaces

- [Dom](#modulesdefaultdommd)
- [Math2D](#modulesdefaultmath2dmd)
- [MathUtils](#modulesdefaultmathutilsmd)
- [mat2](#modulesdefaultmat2md)
- [mat2d](#modulesdefaultmat2dmd)
- [mat3](#modulesdefaultmat3md)
- [mat4](#modulesdefaultmat4md)
- [quat](#modulesdefaultquatmd)
- [spring](#modulesdefaultspringmd)
- [vec2](#modulesdefaultvec2md)
- [vec3](#modulesdefaultvec3md)
- [vec4](#modulesdefaultvec4md)

#### Enumerations

- [DbTextHorzMode](#enumsdefaultdbtexthorzmodemd)
- [DbTextVertMode](#enumsdefaultdbtextvertmodemd)
- [FrameAnimationStatus](#enumsdefaultframeanimationstatusmd)
- [IDbLinetypeStyleMethod](#enumsdefaultidblinetypestylemethodmd)
- [IDbMatrixOpName](#enumsdefaultidbmatrixopnamemd)
- [MTextAttachmentPoint](#enumsdefaultmtextattachmentpointmd)
- [MapOpenWay](#enumsdefaultmapopenwaymd)
- [Poly2dType](#enumsdefaultpoly2dtypemd)
- [Poly3dType](#enumsdefaultpoly3dtypemd)
- [RasterImageUnits](#enumsdefaultrasterimageunitsmd)
- [TableCellAlignment](#enumsdefaulttablecellalignmentmd)

#### Classes

- [AnimateMarkerLayer](#classesdefaultanimatemarkerlayermd)
- [BackgroundLayer](#classesdefaultbackgroundlayermd)
- [BreathingApertureMarker](#classesdefaultbreathingaperturemarkermd)
- [ButtonGroupControl](#classesdefaultbuttongroupcontrolmd)
- [Circle](#classesdefaultcirclemd)
- [CircleEdge](#classesdefaultcircleedgemd)
- [CircleFill](#classesdefaultcirclefillmd)
- [Compare](#classesdefaultcomparemd)
- [ContextMenu](#classesdefaultcontextmenumd)
- [Db2LineAngularDimension](#classesdefaultdb2lineangulardimensionmd)
- [Db2dPolyline](#classesdefaultdb2dpolylinemd)
- [Db3PointAngularDimension](#classesdefaultdb3pointangulardimensionmd)
- [Db3dPolyline](#classesdefaultdb3dpolylinemd)
- [DbAlignedDimension](#classesdefaultdbaligneddimensionmd)
- [DbArc](#classesdefaultdbarcmd)
- [DbArcDimension](#classesdefaultdbarcdimensionmd)
- [DbAttributeDefinition](#classesdefaultdbattributedefinitionmd)
- [DbBlock](#classesdefaultdbblockmd)
- [DbBlockReference](#classesdefaultdbblockreferencemd)
- [DbCircle](#classesdefaultdbcirclemd)
- [DbCurve](#classesdefaultdbcurvemd)
- [DbDiametricDimension](#classesdefaultdbdiametricdimensionmd)
- [DbDimension](#classesdefaultdbdimensionmd)
- [DbDocument](#classesdefaultdbdocumentmd)
- [DbEllipse](#classesdefaultdbellipsemd)
- [DbEntity](#classesdefaultdbentitymd)
- [DbHatch](#classesdefaultdbhatchmd)
- [DbLayer](#classesdefaultdblayermd)
- [DbLine](#classesdefaultdblinemd)
- [DbLineType](#classesdefaultdblinetypemd)
- [DbMLeader](#classesdefaultdbmleadermd)
- [DbMText](#classesdefaultdbmtextmd)
- [DbOrdinateDimension](#classesdefaultdbordinatedimensionmd)
- [DbPolyline](#classesdefaultdbpolylinemd)
- [DbRadialDimension](#classesdefaultdbradialdimensionmd)
- [DbRadialDimensionLarge](#classesdefaultdbradialdimensionlargemd)
- [DbRasterImage](#classesdefaultdbrasterimagemd)
- [DbRotatedDimension](#classesdefaultdbrotateddimensionmd)
- [DbShape](#classesdefaultdbshapemd)
- [DbSpline](#classesdefaultdbsplinemd)
- [DbTable](#classesdefaultdbtablemd)
- [DbText](#classesdefaultdbtextmd)
- [DbTextStyle](#classesdefaultdbtextstylemd)
- [DbWipeout](#classesdefaultdbwipeoutmd)
- [DeckLayer](#classesdefaultdecklayermd)
- [DiffusedApertureMarker](#classesdefaultdiffusedaperturemarkermd)
- [DivOverlay](#classesdefaultdivoverlaymd)
- [EllipseEdge](#classesdefaultellipseedgemd)
- [EllipseFill](#classesdefaultellipsefillmd)
- [FillExtrusion](#classesdefaultfillextrusionmd)
- [FluorescenceMarker](#classesdefaultfluorescencemarkermd)
- [GeoBounds](#classesdefaultgeoboundsmd)
- [GeoPoint](#classesdefaultgeopointmd)
- [GeoProjection](#classesdefaultgeoprojectionmd)
- [HaloRingMarker](#classesdefaulthaloringmarkermd)
- [Heatmap](#classesdefaultheatmapmd)
- [LnglatProjection](#classesdefaultlnglatprojectionmd)
- [MapGlUtils](#classesdefaultmapglutilsmd)
- [MarkerCluster](#classesdefaultmarkerclustermd)
- [MiniMapControl](#classesdefaultminimapcontrolmd)
- [MousePositionControl](#classesdefaultmousepositioncontrolmd)
- [OverlayLayerBase](#classesdefaultoverlaylayerbasemd)
- [Polygon](#classesdefaultpolygonmd)
- [Polyline](#classesdefaultpolylinemd)
- [PolylineArrow](#classesdefaultpolylinearrowmd)
- [Projection](#classesdefaultprojectionmd)
- [ReglBaseLayer](#classesdefaultreglbaselayermd)
- [RotatingApertureMarker](#classesdefaultrotatingaperturemarkermd)
- [RotatingTextBorderMarker](#classesdefaultrotatingtextbordermarkermd)
- [Service](#classesdefaultservicemd)
- [SkyLayer](#classesdefaultskylayermd)
- [SvgOverlay](#classesdefaultsvgoverlaymd)
- [Symbol](#classesdefaultsymbolmd)
- [Text](#classesdefaulttextmd)
- [ThreeLayer](#classesdefaultthreelayermd)

#### Interfaces

- [AnimateMarkerLayerOption](#interfacesdefaultanimatemarkerlayeroptionmd)
- [Animation](#interfacesdefaultanimationmd)
- [AnimationState](#interfacesdefaultanimationstatemd)
- [BackgroundLayerOptions](#interfacesdefaultbackgroundlayeroptionsmd)
- [CircleEdgeOptions](#interfacesdefaultcircleedgeoptionsmd)
- [CircleFillOptions](#interfacesdefaultcirclefilloptionsmd)
- [CircleOptions](#interfacesdefaultcircleoptionsmd)
- [Config](#interfacesdefaultconfigmd)
- [ContextMenuOptions](#interfacesdefaultcontextmenuoptionsmd)
- [ContextMenuSubItemOptions](#interfacesdefaultcontextmenusubitemoptionsmd)
- [DecayOptions](#interfacesdefaultdecayoptionsmd)
- [DivOverlayOptions](#interfacesdefaultdivoverlayoptionsmd)
- [DriverControls](#interfacesdefaultdrivercontrolsmd)
- [EllipseEdgeOptions](#interfacesdefaultellipseedgeoptionsmd)
- [EllipseFillOptions](#interfacesdefaultellipsefilloptionsmd)
- [Events](#interfacesdefaulteventsmd)
- [FillExtrusionOptions](#interfacesdefaultfillextrusionoptionsmd)
- [FrameAnimation](#interfacesdefaultframeanimationmd)
- [HeatmapOptions](#interfacesdefaultheatmapoptionsmd)
- [IAnimateFillLayerOptions](#interfacesdefaultianimatefilllayeroptionsmd)
- [IAnimateLineLayerOptions](#interfacesdefaultianimatelinelayeroptionsmd)
- [IAnimateSymbolLayerOptions](#interfacesdefaultianimatesymbollayeroptionsmd)
- [IAnimateVectorLayerOptions](#interfacesdefaultianimatevectorlayeroptionsmd)
- [IAnimateVectorLayerResult](#interfacesdefaultianimatevectorlayerresultmd)
- [IComposeNewMap](#interfacesdefaulticomposenewmapmd)
- [IConditionQueryFeatures](#interfacesdefaulticonditionqueryfeaturesmd)
- [ICreateAnimateImagesOptions](#interfacesdefaulticreateanimateimagesoptionsmd)
- [ICreateAnimateLayerResult](#interfacesdefaulticreateanimatelayerresultmd)
- [ICreateAntPathAnimateLineLayerOptions](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd)
- [ICreateArrowAnimateLineLayerOptions](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd)
- [ICreateEntitiesGeomData](#interfacesdefaulticreateentitiesgeomdatamd)
- [ICreateFillAnimateLayerResult](#interfacesdefaulticreatefillanimatelayerresultmd)
- [ICreateLineAnimateLayerResult](#interfacesdefaulticreatelineanimatelayerresultmd)
- [ICreateSymbolAnimateLayerResult](#interfacesdefaulticreatesymbolanimatelayerresultmd)
- [IDb2LineAngularDimension](#interfacesdefaultidb2lineangulardimensionmd)
- [IDb2dPolyline](#interfacesdefaultidb2dpolylinemd)
- [IDb3PointAngularDimension](#interfacesdefaultidb3pointangulardimensionmd)
- [IDb3dPolyline](#interfacesdefaultidb3dpolylinemd)
- [IDbAlignedDimension](#interfacesdefaultidbaligneddimensionmd)
- [IDbArc](#interfacesdefaultidbarcmd)
- [IDbArcDimension](#interfacesdefaultidbarcdimensionmd)
- [IDbBlock](#interfacesdefaultidbblockmd)
- [IDbBlockReference](#interfacesdefaultidbblockreferencemd)
- [IDbCircle](#interfacesdefaultidbcirclemd)
- [IDbCurve](#interfacesdefaultidbcurvemd)
- [IDbDiametricDimension](#interfacesdefaultidbdiametricdimensionmd)
- [IDbDimStyle](#interfacesdefaultidbdimstylemd)
- [IDbDimension](#interfacesdefaultidbdimensionmd)
- [IDbDocument](#interfacesdefaultidbdocumentmd)
- [IDbEllipse](#interfacesdefaultidbellipsemd)
- [IDbEntity](#interfacesdefaultidbentitymd)
- [IDbHatch](#interfacesdefaultidbhatchmd)
- [IDbLayer](#interfacesdefaultidblayermd)
- [IDbLine](#interfacesdefaultidblinemd)
- [IDbLinetype](#interfacesdefaultidblinetypemd)
- [IDbLinetypeStyle](#interfacesdefaultidblinetypestylemd)
- [IDbMText](#interfacesdefaultidbmtextmd)
- [IDbMatrixOp](#interfacesdefaultidbmatrixopmd)
- [IDbOrdinateDimension](#interfacesdefaultidbordinatedimensionmd)
- [IDbPolyline](#interfacesdefaultidbpolylinemd)
- [IDbRadialDimension](#interfacesdefaultidbradialdimensionmd)
- [IDbRadialDimensionLarge](#interfacesdefaultidbradialdimensionlargemd)
- [IDbRasterImage](#interfacesdefaultidbrasterimagemd)
- [IDbRotatedDimension](#interfacesdefaultidbrotateddimensionmd)
- [IDbShape](#interfacesdefaultidbshapemd)
- [IDbSpline](#interfacesdefaultidbsplinemd)
- [IDbTable](#interfacesdefaultidbtablemd)
- [IDbText](#interfacesdefaultidbtextmd)
- [IDbTextStyle](#interfacesdefaultidbtextstylemd)
- [IDbWipeout](#interfacesdefaultidbwipeoutmd)
- [IDeleteCache](#interfacesdefaultideletecachemd)
- [IDeleteStyle](#interfacesdefaultideletestylemd)
- [IDraw](#interfacesdefaultidrawmd)
- [IDrawOptions](#interfacesdefaultidrawoptionsmd)
- [IDrawTool](#interfacesdefaultidrawtoolmd)
- [IExportLayout](#interfacesdefaultiexportlayoutmd)
- [IExprQueryFeatures](#interfacesdefaultiexprqueryfeaturesmd)
- [IMapDiff](#interfacesdefaultimapdiffmd)
- [IMapLayer](#interfacesdefaultimaplayermd)
- [IMapStyleParam](#interfacesdefaultimapstyleparammd)
- [IMatchObject](#interfacesdefaultimatchobjectmd)
- [IOpenMapBaseParam](#interfacesdefaultiopenmapbaseparammd)
- [IOpenMapParam](#interfacesdefaultiopenmapparammd)
- [IOpenMapResponse](#interfacesdefaultiopenmapresponsemd)
- [IPointQueryFeatures](#interfacesdefaultipointqueryfeaturesmd)
- [IQueryBaseFeatures](#interfacesdefaultiquerybasefeaturesmd)
- [IRectQueryFeatures](#interfacesdefaultirectqueryfeaturesmd)
- [IRequest](#interfacesdefaultirequestmd)
- [ISliceCacheZoom](#interfacesdefaultislicecachezoommd)
- [ISliceLayer](#interfacesdefaultislicelayermd)
- [ITileUrlParam](#interfacesdefaultitileurlparammd)
- [IUpdateMapParam](#interfacesdefaultiupdatemapparammd)
- [IUpdateStyle](#interfacesdefaultiupdatestylemd)
- [IWmsTileUrl](#interfacesdefaultiwmstileurlmd)
- [IWorkspace](#interfacesdefaultiworkspacemd)
- [InertiaOptions](#interfacesdefaultinertiaoptionsmd)
- [KeyframeOptions](#interfacesdefaultkeyframeoptionsmd)
- [LineGeoJsonInput](#interfacesdefaultlinegeojsoninputmd)
- [MarkerClusterData](#interfacesdefaultmarkerclusterdatamd)
- [MarkerClusterOptions](#interfacesdefaultmarkerclusteroptionsmd)
- [Methods](#interfacesdefaultmethodsmd)
- [MiniMapControlOption](#interfacesdefaultminimapcontroloptionmd)
- [MousePositionControlOption](#interfacesdefaultmousepositioncontroloptionmd)
- [OverlayLayerBaseOptions](#interfacesdefaultoverlaylayerbaseoptionsmd)
- [PhysicsSpringOptions](#interfacesdefaultphysicsspringoptionsmd)
- [PlaybackControls](#interfacesdefaultplaybackcontrolsmd)
- [PlaybackOptions](#interfacesdefaultplaybackoptionsmd)
- [PointGeoJsonInput](#interfacesdefaultpointgeojsoninputmd)
- [PolygonOptions](#interfacesdefaultpolygonoptionsmd)
- [PolylineArrowOptions](#interfacesdefaultpolylinearrowoptionsmd)
- [PolylineOptions](#interfacesdefaultpolylineoptionsmd)
- [Response](#interfacesdefaultresponsemd)
- [ScriptDefaultOptions](#interfacesdefaultscriptdefaultoptionsmd)
- [SkyLayerOptions](#interfacesdefaultskylayeroptionsmd)
- [SpringOptions](#interfacesdefaultspringoptionsmd)
- [SvgElementOptions](#interfacesdefaultsvgelementoptionsmd)
- [SvgOverlayOptions](#interfacesdefaultsvgoverlayoptionsmd)
- [SymbolOptions](#interfacesdefaultsymboloptionsmd)
- [TextOptions](#interfacesdefaulttextoptionsmd)
- [ThreeJsContext](#interfacesdefaultthreejscontextmd)
- [ThreeJsContextOptions](#interfacesdefaultthreejscontextoptionsmd)
- [ThreeLayerOptions](#interfacesdefaultthreelayeroptionsmd)
- [createMarkerOptions](#interfacesdefaultcreatemarkeroptionsmd)

#### Type aliases

- [AnimateMarkerType](#animatemarkertype)
- [AnimationOps](#animationops)
- [BackgroundLayerSpecification](#backgroundlayerspecification)
- [CameraFunctionSpecificationEx](#camerafunctionspecificationex)
- [CircleLayerSpecification](#circlelayerspecification)
- [CircleLayerStyleProp](#circlelayerstyleprop)
- [ColorSpecification](#colorspecification)
- [CompositeFunctionSpecification](#compositefunctionspecification)
- [DataDrivenPropertyValueSpecification](#datadrivenpropertyvaluespecification)
- [Driver](#driver)
- [Easing](#easing)
- [EasingModifier](#easingmodifier)
- [ExpressionSpecificationEx](#expressionspecificationex)
- [FillExtrusionLayerSpecification](#fillextrusionlayerspecification)
- [FillExtrusionLayerStyleProp](#fillextrusionlayerstyleprop)
- [FillLayerSpecification](#filllayerspecification)
- [FillLayerStyleProp](#filllayerstyleprop)
- [FilterSpecification](#filterspecification)
- [FogSpecification](#fogspecification)
- [FormattedSpecification](#formattedspecification)
- [GeoJSONSourceSpecification](#geojsonsourcespecification)
- [GeoPointLike](#geopointlike)
- [HeatmapLayerSpecification](#heatmaplayerspecification)
- [HeatmapLayerStyleProp](#heatmaplayerstyleprop)
- [HillshadeLayerSpecification](#hillshadelayerspecification)
- [HillshadeLayerStyleProp](#hillshadelayerstyleprop)
- [IDbPoint](#idbpoint)
- [ImageSourceSpecification](#imagesourcespecification)
- [LayerCallback](#layercallback)
- [LayerRef](#layerref)
- [LayerRefFunc](#layerreffunc)
- [LayerRefFunc0](#layerreffunc0)
- [LayerRefFunc1](#layerreffunc1)
- [LayerRefFunc2](#layerreffunc2)
- [LayerRefFunc3](#layerreffunc3)
- [LayerSpecification](#layerspecification)
- [LightSpecification](#lightspecification)
- [LineLayerSpecification](#linelayerspecification)
- [LineLayerStyleProp](#linelayerstyleprop)
- [OffHandler](#offhandler)
- [PromoteIdSpecificationEx](#promoteidspecificationex)
- [PropName](#propname)
- [PropValue](#propvalue)
- [PropertyValueSpecificationEx](#propertyvaluespecificationex)
- [RasterDEMSourceSpecification](#rasterdemsourcespecification)
- [RasterLayerSpecification](#rasterlayerspecification)
- [RasterLayerStyleProp](#rasterlayerstyleprop)
- [RasterSourceSpecification](#rastersourcespecification)
- [ResolvedImageSpecification](#resolvedimagespecification)
- [SkyLayerSpecification](#skylayerspecification)
- [SourceBoundUtils](#sourceboundutils)
- [SourceFunctionSpecification](#sourcefunctionspecification)
- [SourceOrData](#sourceordata)
- [SourceRef](#sourceref)
- [SourceRefFunc0](#sourcereffunc0)
- [SourceRefFunc1](#sourcereffunc1)
- [SourceRefFunc2](#sourcereffunc2)
- [SourceRefFunc3](#sourcereffunc3)
- [SourceSpecification](#sourcespecification)
- [StyleSpecification](#stylespecification)
- [SymbolLayerSpecification](#symbollayerspecification)
- [SymbolLayerStyleProp](#symbollayerstyleprop)
- [TerrainSpecificationEx](#terrainspecificationex)
- [TransitionSpecification](#transitionspecification)
- [VectorSourceSpecification](#vectorsourcespecification)
- [VideoSourceSpecification](#videosourcespecification)
- [mat2dtype](#mat2dtype)
- [mat2type](#mat2type)
- [mat3type](#mat3type)
- [mat4type](#mat4type)
- [quattype](#quattype)
- [vec2type](#vec2type)
- [vec3type](#vec3type)
- [vec4type](#vec4type)

#### Variables

- [Draw](#draw)
- [EPSILON](#epsilon)
- [EVENTS](#events)
- [METHODS](#methods)
- [httpHelper](#httphelper)
- [transform](#transform)

#### Functions

- [Graph](#graph)
- [RandomID](#randomid)
- [Scene](#scene)
- [WorkerExpose](#workerexpose)
- [WorkerLink](#workerlink)
- [WorkerProxy](#workerproxy)
- [\_getEdgeIntersection](#_getedgeintersection)
- [addScript](#addscript)
- [angle](#angle)
- [animateVectorLayer](#animatevectorlayer)
- [anticipate](#anticipate)
- [applyMixins](#applymixins)
- [applyMixinsWithoutProperties](#applymixinswithoutproperties)
- [applyOffset](#applyoffset)
- [attract](#attract)
- [attractExpo](#attractexpo)
- [backIn](#backin)
- [backInOut](#backinout)
- [backOut](#backout)
- [bezierCurveToPolyline](#beziercurvetopolyline)
- [bounceIn](#bouncein)
- [bounceInOut](#bounceinout)
- [bounceOut](#bounceout)
- [bufferConvexPolygon](#bufferconvexpolygon)
- [buildTopoGraph](#buildtopograph)
- [buildTransformer](#buildtransformer)
- [buildTransformerMatrix3d](#buildtransformermatrix3d)
- [calcPolygonArea](#calcpolygonarea)
- [calculateSignedArea](#calculatesignedarea)
- [circIn](#circin)
- [circInOut](#circinout)
- [circOut](#circout)
- [clamp](#clamp)
- [clipPolygon](#clippolygon)
- [clipSegment](#clipsegment)
- [cloneDeep](#clonedeep)
- [closePolygon](#closepolygon)
- [closestPointOnPolyline](#closestpointonpolyline)
- [closestPointOnPolylines](#closestpointonpolylines)
- [closestPointOnSegment](#closestpointonsegment)
- [coordTransfromByFourParamter](#coordtransfrombyfourparamter)
- [coordTransfromByInvFourParamter](#coordtransfrombyinvfourparamter)
- [coordTransfromGetFourParamter](#coordtransfromgetfourparamter)
- [createAnimateFillLayer](#createanimatefilllayer)
- [createAnimateImages](#createanimateimages)
- [createAnimateLineLayer](#createanimatelinelayer)
- [createAnimateSymbolLayer](#createanimatesymbollayer)
- [createAnimation](#createanimation)
- [createAntPathAnimateImages](#createantpathanimateimages)
- [createAntPathAnimateLineLayer](#createantpathanimatelinelayer)
- [createAnticipate](#createanticipate)
- [createArrowAnimateImages](#createarrowanimateimages)
- [createArrowAnimateLineLayer](#createarrowanimatelinelayer)
- [createAttractor](#createattractor)
- [createBackIn](#createbackin)
- [createExpoIn](#createexpoin)
- [createFrameAnimation](#createframeanimation)
- [createLineGeoJson](#createlinegeojson)
- [createMarker](#createmarker)
- [createObjectOffset](#createobjectoffset)
- [createObjectPolygonUtil](#createobjectpolygonutil)
- [createPointGeoJson](#createpointgeojson)
- [createPolygonGeoJson](#createpolygongeojson)
- [cubicBezier](#cubicbezier)
- [decay](#decay)
- [degToRad](#degtorad)
- [degreesToRadians](#degreestoradians)
- [distance](#distance)
- [easeIn](#easein)
- [easeInOut](#easeinout)
- [easeOut](#easeout)
- [entColorToHtmlColor](#entcolortohtmlcolor)
- [equals](#equals)
- [findShortestPath](#findshortestpath)
- [geoBounds](#geobounds)
- [geoPoint](#geopoint)
- [getBezierCurveLength](#getbeziercurvelength)
- [getCircleFeature](#getcirclefeature)
- [getCirclePolygonCoordinates](#getcirclepolygoncoordinates)
- [getEllipseFeature](#getellipsefeature)
- [getEllipsePolygonCoordinates](#getellipsepolygoncoordinates)
- [getEnvelopBounds](#getenvelopbounds)
- [getGeoBounds](#getgeobounds)
- [getOptionValue](#getoptionvalue)
- [getTempMapId](#gettempmapid)
- [hexToBinStr](#hextobinstr)
- [htmlColorToEntColor](#htmlcolortoentcolor)
- [inertia](#inertia)
- [interpolate](#interpolate)
- [interpolateLineRange](#interpolatelinerange)
- [interpolatePointsByRatio](#interpolatepointsbyratio)
- [isClosedPolygon](#isclosedpolygon)
- [isCounterClockwise](#iscounterclockwise)
- [isGeoPointLike](#isgeopointlike)
- [isPoint](#ispoint)
- [isPoint3D](#ispoint3d)
- [isPointInPolygon](#ispointinpolygon)
- [isZero](#iszero)
- [kebabCase](#kebabcase)
- [keyframes](#keyframes)
- [lineSplit](#linesplit)
- [linear](#linear)
- [metersPerPixel](#metersperpixel)
- [mirrorEasing](#mirroreasing)
- [mix](#mix)
- [mixColor](#mixcolor)
- [mixComplex](#mixcomplex)
- [multiLineSplit](#multilinesplit)
- [offsetPointLine](#offsetpointline)
- [offsetPoints](#offsetpoints)
- [openMapDarkStyle](#openmapdarkstyle)
- [openMapLightStyle](#openmaplightstyle)
- [pick](#pick)
- [pipe](#pipe)
- [pixelValue](#pixelvalue)
- [pointFromVector](#pointfromvector)
- [pointToSegmentDistance](#pointtosegmentdistance)
- [polygonCentroid](#polygoncentroid)
- [polygonIsClockwise](#polygonisclockwise)
- [polylineMarginToPolygon](#polylinemargintopolygon)
- [polylineToBezierCurve](#polylinetobeziercurve)
- [progress](#progress)
- [radToDeg](#radtodeg)
- [radiansToDegrees](#radianstodegrees)
- [randInt](#randint)
- [randomColor](#randomcolor)
- [reverseEasing](#reverseeasing)
- [segmentIntersect](#segmentintersect)
- [simplify](#simplify)
- [smooth](#smooth)
- [smoothFrame](#smoothframe)
- [snap](#snap)
- [spring](#spring)
- [steps](#steps)
- [syncMaps](#syncmaps)
- [toDecimal](#todecimal)
- [toRadian](#toradian)
- [upperCamelCase](#uppercamelcase)
- [utf8ToUnicode](#utf8tounicode)
- [vectorContour](#vectorcontour)
- [velocityPerFrame](#velocityperframe)
- [velocityPerSecond](#velocitypersecond)
- [wrap](#wrap)

### Type aliases

#### AnimateMarkerType

Ƭ **AnimateMarkerType**: ``"breathingAperture"`` \| ``"rotatingAperture"`` \| ``"haloRing"`` \| ``"diffusedAperture"`` \| ``"rotatingTextBorder"`` \| ``"fluorescence"``

breathingAperture 呼吸的光圈.
rotatingAperture 旋转的光环
haloRing 发光的光环
diffusedAperture 扩散的点
rotatingTextBorder 旋转的文本框
fluorescence 荧光点

___

#### AnimationOps

Ƭ **AnimationOps**<V\>: [*PlaybackOptions*](#interfacesdefaultplaybackoptionsmd)<V\> & [*DecayOptions*](#interfacesdefaultdecayoptionsmd) \| [*KeyframeOptions*](#interfacesdefaultkeyframeoptionsmd)<V\> \| [*SpringOptions*](#interfacesdefaultspringoptionsmd)

##### Type parameters

| Name |
| :------ |
| `V` |

___

#### BackgroundLayerSpecification

Ƭ **BackgroundLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.background-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `paint.background-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.background-pattern?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `type` | ``"background"`` |

___

#### CameraFunctionSpecificationEx

Ƭ **CameraFunctionSpecificationEx**<T\>: { `stops`: [*number*, T][] ; `type`: ``"exponential"``  } \| { `stops`: [*number*, T][] ; `type`: ``"interval"``  }

##### Type parameters

| Name |
| :------ |
| `T` |

___

#### CircleLayerSpecification

Ƭ **CircleLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.circle-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.circle-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.circle-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-pitch-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.circle-pitch-scale?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.circle-radius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-stroke-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.circle-stroke-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-stroke-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.circle-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.circle-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"circle"`` |

___

#### CircleLayerStyleProp

Ƭ **CircleLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `circleBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `circleOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circlePitchAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `circlePitchScale?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `circleRadius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleStrokeColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `circleStrokeOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleStrokeWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `circleTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `circleTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### ColorSpecification

Ƭ **ColorSpecification**: *string*

___

#### CompositeFunctionSpecification

Ƭ **CompositeFunctionSpecification**<T\>: { `default?`: T ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, T][] ; `type`: ``"exponential"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [{ `value`: *number* ; `zoom`: *number*  }, T][] ; `type`: ``"interval"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [{ `value`: *string* \| *number* \| *boolean* ; `zoom`: *number*  }, T][] ; `type`: ``"categorical"``  }

##### Type parameters

| Name |
| :------ |
| `T` |

___

#### DataDrivenPropertyValueSpecification

Ƭ **DataDrivenPropertyValueSpecification**<T\>: T \| [*CameraFunctionSpecificationEx*](#camerafunctionspecificationex)<T\> \| [*SourceFunctionSpecification*](#sourcefunctionspecification)<T\> \| [*CompositeFunctionSpecification*](#compositefunctionspecification)<T\> \| [*ExpressionSpecificationEx*](#expressionspecificationex)

##### Type parameters

| Name |
| :------ |
| `T` |

___

#### Driver

Ƭ **Driver**: (`update`: Update) => [*DriverControls*](#interfacesdefaultdrivercontrolsmd)

##### Type declaration

▸ (`update`: Update): [*DriverControls*](#interfacesdefaultdrivercontrolsmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `update` | Update |

**Returns:** [*DriverControls*](#interfacesdefaultdrivercontrolsmd)

___

#### Easing

Ƭ **Easing**: (`v`: *number*) => *number*

##### Type declaration

▸ (`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### EasingModifier

Ƭ **EasingModifier**: (`easing`: [*Easing*](#easing)) => [*Easing*](#easing)

##### Type declaration

▸ (`easing`: [*Easing*](#easing)): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `easing` | [*Easing*](#easing) |

**Returns:** [*Easing*](#easing)

___

#### ExpressionSpecificationEx

Ƭ **ExpressionSpecificationEx**: *unknown*[]

___

#### FillExtrusionLayerSpecification

Ƭ **FillExtrusionLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.fill-extrusion-base?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.fill-extrusion-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.fill-extrusion-height?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.fill-extrusion-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.fill-extrusion-pattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `paint.fill-extrusion-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.fill-extrusion-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.fill-extrusion-vertical-gradient?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"fill-extrusion"`` |

___

#### FillExtrusionLayerStyleProp

Ƭ **FillExtrusionLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `fillExtrusionBase?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillExtrusionColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `fillExtrusionHeight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillExtrusionOpacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `fillExtrusionPattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `fillExtrusionTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `fillExtrusionTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `fillExtrusionVerticalGradient?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### FillLayerSpecification

Ƭ **FillLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.fill-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.fill-antialias?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `paint.fill-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.fill-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.fill-outline-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.fill-pattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `paint.fill-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.fill-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"fill"`` |

___

#### FillLayerStyleProp

Ƭ **FillLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `fillAntialias?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `fillColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `fillOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillOutlineColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `fillPattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `fillSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `fillTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `fillTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### FilterSpecification

Ƭ **FilterSpecification**: [``"has"``, *string*] \| [``"!has"``, *string*] \| [``"=="``, *string*, *string* \| *number* \| *boolean*] \| [``"!="``, *string*, *string* \| *number* \| *boolean*] \| [``">"``, *string*, *string* \| *number* \| *boolean*] \| [``">="``, *string*, *string* \| *number* \| *boolean*] \| [``"<"``, *string*, *string* \| *number* \| *boolean*] \| [``"<="``, *string*, *string* \| *number* \| *boolean*] \| (*string* \| [*FilterSpecification*](#filterspecification))[]

___

#### FogSpecification

Ƭ **FogSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `horizon-blend?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `range?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |

___

#### FormattedSpecification

Ƭ **FormattedSpecification**: *string*

___

#### GeoJSONSourceSpecification

Ƭ **GeoJSONSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `buffer?` | *number* |
| `cluster?` | *boolean* |
| `clusterMaxZoom?` | *number* |
| `clusterMinPoints?` | *number* |
| `clusterProperties?` | *unknown* |
| `clusterRadius?` | *number* |
| `data?` | *unknown* |
| `filter?` | *unknown* |
| `generateId?` | *boolean* |
| `lineMetrics?` | *boolean* |
| `maxzoom?` | *number* |
| `promoteId?` | [*PromoteIdSpecificationEx*](#promoteidspecificationex) |
| `tolerance?` | *number* |
| `type` | ``"geojson"`` |

___

#### GeoPointLike

Ƭ **GeoPointLike**: [*number*, *number*] \| [*number*, *number*, *number*] \| [*GeoPoint*](#classesdefaultgeopointmd) \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  }

___

#### HeatmapLayerSpecification

Ƭ **HeatmapLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.heatmap-color?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `paint.heatmap-intensity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.heatmap-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.heatmap-radius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.heatmap-weight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"heatmap"`` |

___

#### HeatmapLayerStyleProp

Ƭ **HeatmapLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `heatmapColor?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `heatmapIntensity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `heatmapOpacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `heatmapRadius?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `heatmapWeight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### HillshadeLayerSpecification

Ƭ **HillshadeLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.hillshade-accent-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `paint.hillshade-exaggeration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.hillshade-highlight-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `paint.hillshade-illumination-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.hillshade-illumination-direction?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.hillshade-shadow-color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"hillshade"`` |

___

#### HillshadeLayerStyleProp

Ƭ **HillshadeLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `hillshadeAccentColor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `hillshadeExaggeration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `hillshadeHighlightColor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `hillshadeIlluminationAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `hillshadeIlluminationDirection?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `hillshadeShadowColor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### IDbPoint

Ƭ **IDbPoint**: [*number*, *number*, number?]

坐标类型接口

___

#### ImageSourceSpecification

Ƭ **ImageSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `coordinates` | [[*number*, *number*], [*number*, *number*], [*number*, *number*], [*number*, *number*]] |
| `type` | ``"image"`` |
| `url` | *string* |

___

#### LayerCallback

Ƭ **LayerCallback**: (`arg0`: {}) => *void*

##### Type declaration

▸ (`arg0`: {}): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | *object* |

**Returns:** *void*

___

#### LayerRef

Ƭ **LayerRef**: *string* \| *string*[] \| RegExp \| (`arg0`: [*LayerSpecification*](#layerspecification)) => *boolean*

___

#### LayerRefFunc

Ƭ **LayerRefFunc**: (`arg0`: [*LayerRef*](#layerref), ...`args`: *any*[]) => *void*

##### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), ...`args`: *any*[]): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `...args` | *any*[] |

**Returns:** *void*

___

#### LayerRefFunc0

Ƭ **LayerRefFunc0**: (`arg0`: [*LayerRef*](#layerref)) => *void*

##### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |

**Returns:** *void*

___

#### LayerRefFunc1

Ƭ **LayerRefFunc1**<T1\>: (`arg0`: [*LayerRef*](#layerref), `arg1`: T1) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |

##### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), `arg1`: T1): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `arg1` | T1 |

**Returns:** *void*

___

#### LayerRefFunc2

Ƭ **LayerRefFunc2**<T1, T2\>: (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |

##### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `arg1` | T1 |
| `arg2` | T2 |

**Returns:** *void*

___

#### LayerRefFunc3

Ƭ **LayerRefFunc3**<T1, T2, T3\>: (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2, `arg3`: T3) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |
| `T3` |

##### Type declaration

▸ (`arg0`: [*LayerRef*](#layerref), `arg1`: T1, `arg2`: T2, `arg3`: T3): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*LayerRef*](#layerref) |
| `arg1` | T1 |
| `arg2` | T2 |
| `arg3` | T3 |

**Returns:** *void*

___

#### LayerSpecification

Ƭ **LayerSpecification**: [*FillLayerSpecification*](#filllayerspecification) \| [*LineLayerSpecification*](#linelayerspecification) \| [*SymbolLayerSpecification*](#symbollayerspecification) \| [*CircleLayerSpecification*](#circlelayerspecification) \| [*HeatmapLayerSpecification*](#heatmaplayerspecification) \| [*FillExtrusionLayerSpecification*](#fillextrusionlayerspecification) \| [*RasterLayerSpecification*](#rasterlayerspecification) \| [*HillshadeLayerSpecification*](#hillshadelayerspecification) \| [*BackgroundLayerSpecification*](#backgroundlayerspecification) \| [*SkyLayerSpecification*](#skylayerspecification)

___

#### LightSpecification

Ƭ **LightSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `color?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*ColorSpecification*](#colorspecification)\> |
| `intensity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `position?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*]\> |

___

#### LineLayerSpecification

Ƭ **LineLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.line-cap?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |
| `layout.line-join?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"bevel"`` \| ``"round"`` \| ``"miter"``\> |
| `layout.line-miter-limit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.line-round-limit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.line-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.line-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.line-dasharray?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |
| `paint.line-gap-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-gradient?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `paint.line-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.line-pattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `paint.line-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.line-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.line-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"line"`` |

___

#### LineLayerStyleProp

Ƭ **LineLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `lineBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineCap?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"butt"`` \| ``"round"`` \| ``"square"``\> |
| `lineColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `lineDasharray?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number[]\> |
| `lineGapWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineGradient?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `lineJoin?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"bevel"`` \| ``"round"`` \| ``"miter"``\> |
| `lineMiterMimit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `lineOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `linePattern?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `lineRoundLimit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `lineSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `lineTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `lineTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `lineWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### OffHandler

Ƭ **OffHandler**: () => *void*

##### Type declaration

▸ (): *void*

**Returns:** *void*

___

#### PromoteIdSpecificationEx

Ƭ **PromoteIdSpecificationEx**: *Record*<string, string\> \| *string*

___

#### PropName

Ƭ **PropName**: *string*

___

#### PropValue

Ƭ **PropValue**: *string* \| *any*[] \| ``null`` \| *number* \| {}

___

#### PropertyValueSpecificationEx

Ƭ **PropertyValueSpecificationEx**<T\>: T \| [*CameraFunctionSpecificationEx*](#camerafunctionspecificationex)<T\> \| [*ExpressionSpecificationEx*](#expressionspecificationex)

##### Type parameters

| Name |
| :------ |
| `T` |

___

#### RasterDEMSourceSpecification

Ƭ **RasterDEMSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `bounds?` | [*number*, *number*, *number*, *number*] |
| `encoding?` | ``"terrarium"`` \| ``"mapbox"`` |
| `maxzoom?` | *number* |
| `minzoom?` | *number* |
| `tileSize?` | *number* |
| `tiles?` | *string*[] |
| `type` | ``"raster-dem"`` |
| `url?` | *string* |
| `volatile?` | *boolean* |

___

#### RasterLayerSpecification

Ƭ **RasterLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.raster-brightness-max?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-brightness-min?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-contrast?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-fade-duration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-hue-rotate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.raster-resampling?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"linear"`` \| ``"nearest"``\> |
| `paint.raster-saturation?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"raster"`` |

___

#### RasterLayerStyleProp

Ƭ **RasterLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `rasterBrightnessMax?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterBrightnessMin?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterContrast?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterFadeDuration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterHueRotate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterOpacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `rasterResampling?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"linear"`` \| ``"nearest"``\> |
| `rasterSaturation?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### RasterSourceSpecification

Ƭ **RasterSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `bounds?` | [*number*, *number*, *number*, *number*] |
| `maxzoom?` | *number* |
| `minzoom?` | *number* |
| `scheme?` | ``"xyz"`` \| ``"tms"`` |
| `tileSize?` | *number* |
| `tiles?` | *string*[] |
| `type` | ``"raster"`` |
| `url?` | *string* |
| `volatile?` | *boolean* |

___

#### ResolvedImageSpecification

Ƭ **ResolvedImageSpecification**: *string*

___

#### SkyLayerSpecification

Ƭ **SkyLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `id` | *string* |
| `layout?` | *object* |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.sky-atmosphere-color?` | [*ColorSpecification*](#colorspecification) |
| `paint.sky-atmosphere-halo-color?` | [*ColorSpecification*](#colorspecification) |
| `paint.sky-atmosphere-sun?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.sky-atmosphere-sun-intensity?` | *number* |
| `paint.sky-gradient?` | [*ExpressionSpecificationEx*](#expressionspecificationex) |
| `paint.sky-gradient-center?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.sky-gradient-radius?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.sky-opacity?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `paint.sky-type?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"gradient"`` \| ``"atmosphere"``\> |
| `type` | ``"sky"`` |

___

#### SourceBoundUtils

Ƭ **SourceBoundUtils**: [*MapGlUtils*](#classesdefaultmapglutilsmd)

___

#### SourceFunctionSpecification

Ƭ **SourceFunctionSpecification**<T\>: { `default?`: T ; `property`: *string* ; `stops`: [*number*, T][] ; `type`: ``"exponential"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [*number*, T][] ; `type`: ``"interval"``  } \| { `default?`: T ; `property`: *string* ; `stops`: [*string* \| *number* \| *boolean*, T][] ; `type`: ``"categorical"``  } \| { `default?`: T ; `property`: *string* ; `type`: ``"identity"``  }

##### Type parameters

| Name |
| :------ |
| `T` |

___

#### SourceOrData

Ƭ **SourceOrData**: [*SourceSpecification*](#sourcespecification) \| *string* \| GeoJsonGeomertry

___

#### SourceRef

Ƭ **SourceRef**: [*LayerRef*](#layerref)

___

#### SourceRefFunc0

Ƭ **SourceRefFunc0**: (`arg0`: [*SourceRef*](#sourceref)) => *void*

##### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref)): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |

**Returns:** *void*

___

#### SourceRefFunc1

Ƭ **SourceRefFunc1**<T1\>: (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |

##### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |
| `arg1` | T1 |

**Returns:** *void*

___

#### SourceRefFunc2

Ƭ **SourceRefFunc2**<T1, T2\>: (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |

##### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |
| `arg1` | T1 |
| `arg2` | T2 |

**Returns:** *void*

___

#### SourceRefFunc3

Ƭ **SourceRefFunc3**<T1, T2, T3\>: (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2, `arg3`: T3) => *void*

##### Type parameters

| Name |
| :------ |
| `T1` |
| `T2` |
| `T3` |

##### Type declaration

▸ (`arg0`: [*SourceRef*](#sourceref), `arg1`: T1, `arg2`: T2, `arg3`: T3): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `arg0` | [*SourceRef*](#sourceref) |
| `arg1` | T1 |
| `arg2` | T2 |
| `arg3` | T3 |

**Returns:** *void*

___

#### SourceSpecification

Ƭ **SourceSpecification**: [*VectorSourceSpecification*](#vectorsourcespecification) \| [*RasterSourceSpecification*](#rastersourcespecification) \| [*RasterDEMSourceSpecification*](#rasterdemsourcespecification) \| [*GeoJSONSourceSpecification*](#geojsonsourcespecification) \| [*VideoSourceSpecification*](#videosourcespecification) \| [*ImageSourceSpecification*](#imagesourcespecification)

___

#### StyleSpecification

Ƭ **StyleSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `bearing?` | *number* |
| `center?` | *number*[] |
| `fog?` | [*FogSpecification*](#fogspecification) |
| `glyphs?` | *string* |
| `layers` | [*LayerSpecification*](#layerspecification)[] |
| `light?` | [*LightSpecification*](#lightspecification) |
| `metadata?` | *unknown* |
| `name?` | *string* |
| `pitch?` | *number* |
| `sources` | *Record*<string, [*SourceSpecification*](#sourcespecification)\> |
| `sprite?` | *string* |
| `terrain?` | [*TerrainSpecificationEx*](#terrainspecificationex) |
| `transition?` | [*TransitionSpecification*](#transitionspecification) |
| `version` | ``8`` |
| `zoom?` | *number* |

___

#### SymbolLayerSpecification

Ƭ **SymbolLayerSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `id` | *string* |
| `layout?` | *object* |
| `layout.icon-allow-overlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-anchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `layout.icon-ignore-placement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-image?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `layout.icon-keep-upright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `layout.icon-optional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.icon-padding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.icon-pitch-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.icon-rotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.icon-rotation-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.icon-size?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.icon-text-fit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\> |
| `layout.icon-text-fit-padding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\> |
| `layout.symbol-avoid-edges?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.symbol-placement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"point"`` \| ``"line"`` \| ``"line-center"``\> |
| `layout.symbol-sort-key?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.symbol-spacing?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.symbol-z-order?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"auto"`` \| ``"viewport-y"`` \| ``"source"``\> |
| `layout.text-allow-overlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-anchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `layout.text-field?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*FormattedSpecification*](#formattedspecification)\> |
| `layout.text-font?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\> |
| `layout.text-ignore-placement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-justify?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"auto"`` \| ``"left"`` \| ``"center"`` \| ``"right"``\> |
| `layout.text-keep-upright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-letter-spacing?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-line-height?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-max-angle?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.text-max-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `layout.text-optional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `layout.text-padding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `layout.text-pitch-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.text-radial-offset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-rotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-rotation-alignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `layout.text-size?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `layout.text-transform?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\> |
| `layout.text-variable-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``)[]\> |
| `layout.text-writing-mode?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"horizontal"`` \| ``"vertical"``)[]\> |
| `layout.visibility?` | ``"visible"`` \| ``"none"`` |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `paint?` | *object* |
| `paint.icon-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.icon-halo-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.icon-halo-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.icon-halo-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.icon-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.icon-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.icon-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `paint.text-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.text-halo-blur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.text-halo-color?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `paint.text-halo-width?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.text-opacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `paint.text-translate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `paint.text-translate-anchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `source` | *string* |
| `source-layer?` | *string* |
| `type` | ``"symbol"`` |

___

#### SymbolLayerStyleProp

Ƭ **SymbolLayerStyleProp**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `filter?` | [*FilterSpecification*](#filterspecification) |
| `iconAllowOverlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconAnchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `iconColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `iconHaloBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconHaloColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `iconHaloWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconIgnorePlacement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconImage?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ResolvedImageSpecification*](#resolvedimagespecification)\> |
| `iconKeepUpright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `iconOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconOptional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `iconPadding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `iconPitchAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `iconRotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconRotationAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `iconSize?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `iconTextFit?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"none"`` \| ``"width"`` \| ``"height"`` \| ``"both"``\> |
| `iconTextFitPadding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*, *number*, *number*]\> |
| `iconTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `iconTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `maxzoom?` | *number* |
| `metadata?` | *unknown* |
| `minzoom?` | *number* |
| `source?` | *string* |
| `sourceLayer?` | *string* |
| `symbolAvoidEdges?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `symbolPlacement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"point"`` \| ``"line"`` \| ``"line-center"``\> |
| `symbolSortKey?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `symbolSpacing?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `symbolZOrder?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"auto"`` \| ``"viewport-y"`` \| ``"source"``\> |
| `textAllowOverlap?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textAnchor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``\> |
| `textColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `textField?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*FormattedSpecification*](#formattedspecification)\> |
| `textFont?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<string[]\> |
| `textHaloBlur?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textHaloColor?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*ColorSpecification*](#colorspecification)\> |
| `textHaloWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textIgnorePlacement?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textJustify?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"auto"`` \| ``"left"`` \| ``"center"`` \| ``"right"``\> |
| `textKeepUpright?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textLetterSpacing?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textLineHeight?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textMaxAngle?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `textMaxWidth?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<[*number*, *number*]\> |
| `textOpacity?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textOptional?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<boolean\> |
| `textPadding?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `textPitchAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `textRadialOffset?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textRotate?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textRotationAlignment?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"`` \| ``"auto"``\> |
| `textSize?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<number\> |
| `textTransform?` | [*DataDrivenPropertyValueSpecification*](#datadrivenpropertyvaluespecification)<``"none"`` \| ``"uppercase"`` \| ``"lowercase"``\> |
| `textTranslate?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<[*number*, *number*]\> |
| `textTranslateAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<``"map"`` \| ``"viewport"``\> |
| `textVariableAnchor?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"center"`` \| ``"left"`` \| ``"right"`` \| ``"top"`` \| ``"bottom"`` \| ``"top-left"`` \| ``"top-right"`` \| ``"bottom-left"`` \| ``"bottom-right"``)[]\> |
| `textWritingMode?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<(``"horizontal"`` \| ``"vertical"``)[]\> |
| `visibility?` | ``"visible"`` \| ``"none"`` |

___

#### TerrainSpecificationEx

Ƭ **TerrainSpecificationEx**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `exaggeration?` | [*PropertyValueSpecificationEx*](#propertyvaluespecificationex)<number\> |
| `source` | *string* |

___

#### TransitionSpecification

Ƭ **TransitionSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `delay?` | *number* |
| `duration?` | *number* |

___

#### VectorSourceSpecification

Ƭ **VectorSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `attribution?` | *string* |
| `bounds?` | [*number*, *number*, *number*, *number*] |
| `maxzoom?` | *number* |
| `minzoom?` | *number* |
| `promoteId?` | [*PromoteIdSpecificationEx*](#promoteidspecificationex) |
| `scheme?` | ``"xyz"`` \| ``"tms"`` |
| `tiles?` | *string*[] |
| `type` | ``"vector"`` |
| `url?` | *string* |
| `volatile?` | *boolean* |

___

#### VideoSourceSpecification

Ƭ **VideoSourceSpecification**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `coordinates` | [[*number*, *number*], [*number*, *number*], [*number*, *number*], [*number*, *number*]] |
| `type` | ``"video"`` |
| `urls` | *string*[] |

___

#### mat2dtype

Ƭ **mat2dtype**: [*number*, *number*, *number*, *number*, *number*, *number*] \| Float32Array

___

#### mat2type

Ƭ **mat2type**: [*number*, *number*, *number*, *number*] \| Float32Array

___

#### mat3type

Ƭ **mat3type**: [*number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*] \| Float32Array

___

#### mat4type

Ƭ **mat4type**: [*number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*, *number*] \| Float32Array

___

#### quattype

Ƭ **quattype**: [*number*, *number*, *number*, *number*] \| Float32Array

___

#### vec2type

Ƭ **vec2type**: [*number*, *number*] \| Float32Array

___

#### vec3type

Ƭ **vec3type**: [*number*, *number*, *number*] \| Float32Array

___

#### vec4type

Ƭ **vec4type**: [*number*, *number*, *number*, *number*] \| Float32Array

### Variables

#### Draw

• `Const` **Draw**: *object*

##### Type declaration

| Name | Type | Description |
| :------ | :------ | :------ |
| `Tool` | (`options?`: [*IDrawOptions*](#interfacesdefaultidrawoptionsmd)) => [*IDrawTool*](#interfacesdefaultidrawtoolmd) | 工具类. |
| `actionDraw` | (`map`: *any*, `modename`: *string*, `options?`: *Record*<string, any\>) => *any* | 绘制动作. |
| `actionDrawCircle` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制圆动作. |
| `actionDrawLineSting` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制线动作. |
| `actionDrawPoint` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制点动作. |
| `actionDrawPolygon` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制多边形动作. |
| `actionDrawRectangle` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制矩形动作. |
| `actionDrawSlantRectangle` | (`map`: *any*, `options?`: *Record*<string, any\>) => *any* | 绘制斜矩形动作. |
| `actionSelect` | (`map`: *any*, `draw`: *any*, `options?`: *Record*<string, any\>) => *any* | 选择实体. 如果只能选择一个实体，options选项请输入selectSingle为true |
| `defaultOptions` | () => *any* | 缺省配置项. |
| `modes` | *Record*<string, any\> | 模式. |

___

#### EPSILON

• `Const` **EPSILON**: ``1e-8``= 0.00000001

___

#### EVENTS

• `Const` **EVENTS**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `ABORT` | *string* |
| `ERROR` | *string* |
| `LOAD` | *string* |
| `LOAD_END` | *string* |
| `LOAD_START` | *string* |
| `PROGRESS` | *string* |
| `READY_STATE_CHANGE` | *string* |
| `TIMEOUT` | *string* |

___

#### METHODS

• `Const` **METHODS**: [*Methods*](#interfacesdefaultmethodsmd)

___

#### httpHelper

• `Const` **httpHelper**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `configure` | (`opts`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *void* |
| `del` | (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `event` | *object* |
| `event.ABORT` | *string* |
| `event.ERROR` | *string* |
| `event.LOAD` | *string* |
| `event.LOAD_END` | *string* |
| `event.LOAD_START` | *string* |
| `event.PROGRESS` | *string* |
| `event.READY_STATE_CHANGE` | *string* |
| `event.TIMEOUT` | *string* |
| `get` | (`url`: *string*, `params?`: *Record*<string, any\>, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `methods` | [*Methods*](#interfacesdefaultmethodsmd) |
| `options` | (`url`: *string*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `patch` | (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `post` | (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `put` | (`url`: *string*, `data`: *any*, `args?`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |
| `rqeust` | (`args`: *Partial*<[*Config*](#interfacesdefaultconfigmd)<unknown\>\>) => *Promise*<any\> |

___

#### transform

• `Const` **transform**: *object*

##### Type declaration

| Name | Type |
| :------ | :------ |
| `CRSTypes` | *typeof* CRSTypes |
| `EpsgCrsTypes` | *typeof* EpsgCrsTypes |
| `convert` | <T\>(`input`: T \| *string*, `crsFrom`: (`pt`: [*GeoPoint*](#classesdefaultgeopointmd)) => [*GeoPoint*](#classesdefaultgeopointmd) \| CRSTypes, `crsTo?`: CRSTypes) => T |
| `getEpsgCode` | (`coordinate`: *number* \| [*number*, *number*], `crs?`: EpsgCrsTypes, `is3DegreeBelt?`: *boolean*) => { `crs`: *string* ; `epsg`: *string* ; `is3DegreeBelt`: *boolean* ; `proj`: *undefined* \| *string*  }[] |
| `getEpsgParam` | (`crs`: EpsgCrsTypes, `lon?`: *number*) => ``null`` \| { `epsg`: *string* ; `proj`: *string*  } |

### Functions

#### Graph

▸ **Graph**(`serialized?`: Serialized): *object*

具有深度优先搜索和拓扑排序的图数据结构。

**`example`**
var graph = Graph()
.addEdge("s", "t", 10)
.addEdge("s", "y", 5)
.addEdge("s", "y", 4)
.addEdge("t", "y", 2)
.addEdge("y", "t", 3)
.addEdge("t", "x", 1)
.addEdge("y", "x", 9)
.addEdge("y", "z", 2)
.addEdge("x", "z", 4)
.addEdge("z", "x", 6);
var res = graph.shortestPath("s", "z")

##### Parameters

| Name | Type |
| :------ | :------ |
| `serialized?` | Serialized |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `addEdge` | (`u`: NodeId, `v`: NodeId, `weight?`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `addNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `adjacent` | (`node`: NodeId) => NodeId[] |
| `depthFirstSearch` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*, `errorOnCycle`: *boolean*) => *string*[] |
| `deserialize` | (`serialized`: Serialized) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `getEdgeWeight` | (`u`: NodeId, `v`: NodeId) => EdgeWeight |
| `hasCycle` | () => *boolean* |
| `hasEdge` | (`u`: NodeId, `v`: NodeId) => *boolean* |
| `indegree` | (`node`: NodeId) => *number* |
| `lowestCommonAncestors` | (`node1`: NodeId, `node2`: NodeId) => *string*[] |
| `nodes` | () => NodeId[] |
| `outdegree` | (`node`: NodeId) => *number* |
| `removeEdge` | (`u`: NodeId, `v`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `removeNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `serialize` | () => Serialized |
| `setEdgeWeight` | (`u`: NodeId, `v`: NodeId, `weight`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `shortestPath` | (`source`: NodeId, `destination`: NodeId) => *string*[] & { `weight?`: *number*  } |
| `topologicalSort` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*) => *string*[] |

___

#### RandomID

▸ **RandomID**(`length?`: *number*): *string*

生成随机ID

##### Parameters

| Name | Type |
| :------ | :------ |
| `length?` | *number* |

**Returns:** *string*

___

#### Scene

▸ **Scene**(`L7`: *any*, `map`: Map, `option?`: *object*): *object*

L7图层，可参考https://l7.antv.vision/.
返回一个场景对象

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `L7` | *any* | L7命名空间 |
| `map` | Map |  |
| `option?` | *object* |  |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `addControl` | (`ctr`: *any*) => *void* |
| `addFontFace` | (`fontFamily`: *string*, `fontPath`: *string*) => *void* |
| `addIconFont` | (`name`: *string*, `fontUnicode`: *string*) => *void* |
| `addIconFontGlyphs` | (`fontFamily`: *string*, `glyphs`: *any*[]) => *void* |
| `addIconFonts` | (`options`: *string*[][]) => *void* |
| `addImage` | (`id`: *string*, `img`: *any*) => *void* |
| `addLayer` | (`layer`: *any*) => *void* |
| `addMarker` | (`marker`: *any*) => *void* |
| `addMarkerLayer` | (`layer`: *any*) => *void* |
| `addPopup` | (`popup`: *any*) => *void* |
| `containerToLngLat` | (`pixel`: *any*) => *any* |
| `destroy` | () => *void* |
| `diasbleShaderPick` | () => *void* |
| `enableShaderPick` | () => *void* |
| `exportMap` | (`type?`: ``"png"`` \| ``"jpg"``) => *string* |
| `exportPng` | (`type?`: ``"png"`` \| ``"jpg"``) => *string* |
| `fitBounds` | (`bound`: *any*, `options?`: *unknown*) => *void* |
| `getBounds` | () => *any* |
| `getCenter` | (`options?`: *any*) => *any* |
| `getContainer` | () => ``null`` \| HTMLElement |
| `getControlByName` | (`name`: *string*) => *any* |
| `getLayer` | (`id`: *string*) => *any* |
| `getLayerByName` | (`name`: *string*) => *any* |
| `getLayers` | () => *any*[] |
| `getMapCanvasContainer` | () => HTMLElement |
| `getMapContainer` | () => ``null`` \| HTMLElement |
| `getMapService` | () => *any* |
| `getMaxZoom` | () => *number* |
| `getMinZoom` | () => *number* |
| `getPitch` | () => *number* |
| `getPointSizeRange` | () => *Float32Array* |
| `getRotation` | () => *number* |
| `getServiceContainer` | () => *any* |
| `getSize` | () => [*number*, *number*] |
| `getType` | () => *string* |
| `getZoom` | () => *number* |
| `hasImage` | (`id`: *string*) => *boolean* |
| `lngLatToContainer` | (`lnglat`: *any*) => *any* |
| `lngLatToPixel` | (`lnglat`: *any*) => *any* |
| `off` | (`type`: *string*, `handle`: (...`args`: *any*[]) => *void*) => *void* |
| `on` | (`type`: *string*, `handle`: (...`args`: *any*[]) => *void*) => *void* |
| `once` | (`type`: *string*, `handle`: (...`args`: *any*[]) => *void*) => *void* |
| `panBy` | (`x`: *number*, `y`: *number*) => *void* |
| `panTo` | (`p`: *any*) => *void* |
| `pixelToLngLat` | (`pixel`: *any*) => *any* |
| `registerPostProcessingPass` | (`constructor`: (...`args`: *any*[]) => *any*, `name`: *string*) => *void* |
| `registerRenderService` | (`render`: *any*) => *void* |
| `removeAllLayer` | () => *void* |
| `removeAllMakers` | () => *void* |
| `removeControl` | (`ctr`: *any*) => *void* |
| `removeImage` | (`id`: *string*) => *void* |
| `removeLayer` | (`layer`: *any*, `parentLayer?`: *any*) => *void* |
| `removeMarkerLayer` | (`layer`: *any*) => *void* |
| `render` | () => *void* |
| `setBgColor` | (`color`: *string*) => *void* |
| `setCenter` | (`center`: [*number*, *number*], `options?`: *any*) => *void* |
| `setEnableRender` | (`flag`: *boolean*) => *void* |
| `setMapStatus` | (`options`: *Partial*<any\>) => *void* |
| `setMapStyle` | (`style`: *any*) => *void* |
| `setPitch` | (`pitch`: *number*) => *void* |
| `setRotation` | (`rotation`: *number*) => *void* |
| `setZoom` | (`zoom`: *number*) => *void* |
| `setZoomAndCenter` | (`zoom`: *number*, `center`: *any*) => *void* |
| `zoomIn` | () => *void* |
| `zoomOut` | () => *void* |

___

#### WorkerExpose

▸ **WorkerExpose**(`target`: *any*): *void*

##### Parameters

| Name | Type |
| :------ | :------ |
| `target` | *any* |

**Returns:** *void*

___

#### WorkerLink

▸ **WorkerLink**(`worker`: Worker): *any*

和一个Worker相关联

##### Parameters

| Name | Type |
| :------ | :------ |
| `worker` | Worker |

**Returns:** *any*

___

#### WorkerProxy

▸ **WorkerProxy**(`obj`: Function \| *string*, `funcContext?`: *Record*<string, Function \| string\>): Function

将独立函数/类移动到工作线程的一种非常简单的方法。 或者，将 worker 中的对象或函数暴露给主线程。 所有调用都是异步的。与 async/await 配合使用效果很好

Example:
```typescript
function busyAdd(a, b) {
 let st = Date.now();
 while (true) {
   if ((Date.now() - st) > 2000) break;
 }
 return a + b;
}

(async () => {
 let workerAdd = vjmap.WorkerProxy(busyAdd);
 console.log(await workerAdd(10, 20)); //30
 // the busyAdd is executed in a worker so
 // the UI does not get blocked
})();

class Adder {
constructor() {
  this.count = 0;
}
add(a, b) {
 this.count++;
  return a + b;
}
}

(async () => {
let WAdder = vjmap.WorkerProxy(Adder);
let a = await new WAdder(); // instance created/running in worker
console.log(await a.count); // 0
console.log(await a.add(10, 20)); // 30
console.log(await a.count); // 1
})();

// or:
// worker.js

importScripts('https://cdn.jsdelivr.net/npm/moment@2.20.1/moment.min.js', '../dist/workly.js');
function friendlyTime(value) {
return moment(value).calendar(null, {
  sameDay: function (now) {
   if (now - this < 1000 * 60) {
      return "[Just now]";
   } else if (now - this < 1000 * 60 * 60) {
      return "[" + Math.round((now - this) / (1000 * 60)) + " mins ago]";
   } else {
     return '[Today at] LT'
   }
 }
});
}
vjmap.WorkerExpose(friendlyTime);
main.js

(async () => {
let w = vjmap.WorkerProxy("./worker.js");
let now = Date.now();
console.log(now);
console.log(await w(now));
console.log(await w(now - (24 * 60 * 60 * 1000)));
console.log(await w(now - (4 * 24 * 60 * 60 * 1000)));
})();

 function randAdd(a, b) {
     return randInt(a, b)  + 1000; // randInt这个函数是上下文传递进来的
 }

let randAddFunc = vjmap.WorkerProxy(randAdd, {
   randInt: vjmap.randInt // 把主进程库的函数做为上下文传进去
});
console.log(await randAddFunc(100, 300));
```

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `obj` | Function \| *string* |  |
| `funcContext?` | *Record*<string, Function \| string\> | 函数上下文，如果传入的obj是函数的话，需要把obj中函数里调用的函数名称和函数方法传进来 |

**Returns:** Function

___

#### \_getEdgeIntersection

▸ **_getEdgeIntersection**(`a`: [*GeoPoint*](#classesdefaultgeopointmd), `b`: [*GeoPoint*](#classesdefaultgeopointmd), `code`: *number*, `bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoPoint*](#classesdefaultgeopointmd)

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `code` | *number* |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### addScript

▸ **addScript**(`scripts`: [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd) \| [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd)[]): *Promise*<unknown[]\>

将脚本注入.
脚本选项信息:
  `strategy`: 用于运行 JavaScript 的策略。可以是`inject`、`eval` 或`href`。默认自动检测.
  `injectLocation`: 用于注入资源的位置的 `document.querySelector` 参数。默认为 `head`.
  `async`: 异步加载脚本
  `src`: 脚本的来源

**`method`**

**`async`**

**`example`**
// you can add multiple loads
awit addScript([{
 src: "https://code.jquery.com/jquery-3.5.0.js"
}, {
 src: "https://code.jquery.com/jquery-3.2.0.js",
 async: true
}, {
 src: "https://code.jquery.com/jquery-3.3.0.js",
 async: true,
 injectLocation: '#main div.test',
}, {
 src: "https://code.jquery.com/jquery-3.4.0.js",
 strategy: 'eval',
}, {
// link tag
// css autodetected
 src: "https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.0.2/css/bootstrap-grid.min.css",
}])

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `scripts` | [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd) \| [*ScriptDefaultOptions*](#interfacesdefaultscriptdefaultoptionsmd)[] | Options for a script |

**Returns:** *Promise*<unknown[]\>

___

#### angle

▸ `Const` **angle**(`a`: Point23D, `b?`: Point23D): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | Point23D |
| `b` | Point23D |

**Returns:** *number*

___

#### animateVectorLayer

▸ `Const` **animateVectorLayer**(`map`: *Map*, `layerId`: *string*, `options?`: [*IAnimateVectorLayerOptions*](#interfacesdefaultianimatevectorlayeroptionsmd), `layerType?`: *number*): [*IAnimateVectorLayerResult*](#interfacesdefaultianimatevectorlayerresultmd)

创建矢量图层动画图层

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `map` | *Map* | - | 地图对象 |
| `layerId` | *string* | - | 矢量图层id |
| `options` | [*IAnimateVectorLayerOptions*](#interfacesdefaultianimatevectorlayeroptionsmd) | {} | 选项 |
| `layerType?` | *number* | - | 图层类型 0 线 1 填充 2 符号点 |

**Returns:** [*IAnimateVectorLayerResult*](#interfacesdefaultianimatevectorlayerresultmd)

___

#### anticipate

▸ `Const` **anticipate**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### applyMixins

▸ **applyMixins**(`derivedCtor`: *any*, `baseCtors`: *any*[]): *void*

Copy methods and properties from one prototype into another.

**`see`** https://www.typescriptlang.org/docs/handbook/mixins.html

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `derivedCtor` | *any* | Class to mix methods and properties into. |
| `baseCtors` | *any*[] | Class to take all methods and properties from. |

**Returns:** *void*

___

#### applyMixinsWithoutProperties

▸ **applyMixinsWithoutProperties**(`derivedCtor`: *any*, `baseCtors`: *any*[]): *void*

Copy methods from one prototype into another.

**`see`** https://www.typescriptlang.org/docs/handbook/mixins.html

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `derivedCtor` | *any* | Class to mix methods into. |
| `baseCtors` | *any*[] | Class to take all methods from. |

**Returns:** *void*

___

#### applyOffset

▸ `Const` **applyOffset**(`from`: *number*, `to?`: *number*): *function*

Apply offset
A function that, given a value, will get the offset from `from`
and apply it to `to`

##### Parameters

| Name | Type |
| :------ | :------ |
| `from` | *number* |
| `to?` | *number* |

**Returns:** (`v`: *number*) => *undefined* \| *number*

___

#### attract

▸ `Const` **attract**(`constant`: *number*, `origin`: *number*, `v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `constant` | *number* |
| `origin` | *number* |
| `v` | *number* |

**Returns:** *number*

___

#### attractExpo

▸ `Const` **attractExpo**(`constant`: *number*, `origin`: *number*, `v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `constant` | *number* |
| `origin` | *number* |
| `v` | *number* |

**Returns:** *number*

___

#### backIn

▸ `Const` **backIn**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### backInOut

▸ `Const` **backInOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### backOut

▸ `Const` **backOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### bezierCurveToPolyline

▸ **bezierCurveToPolyline**(`bezierCurve`: BezierCurve, `precision?`: *number*, `recursiveCount?`: *number*): CurvePoint[]

**`description`** 将 bezierCurve 转换为折线 [理想情况下，计算结果中相邻的两个点的距离等于设置的精度（单位 px）]

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `bezierCurve` | BezierCurve | - | 贝塞尔曲线 |
| `precision` | *number* | 5 | 想要的精度（并非总是可以实现）[建议精度 5-10。设置的精度通常是达不到的，除非设置较高的迭代次数，计算成本较高。] |
| `recursiveCount` | *number* | 0 | 递归计数 |

**Returns:** CurvePoint[]

___

#### bounceIn

▸ `Const` **bounceIn**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### bounceInOut

▸ `Const` **bounceInOut**(`p`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | *number* |

**Returns:** *number*

___

#### bounceOut

▸ `Const` **bounceOut**(`p`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | *number* |

**Returns:** *number*

___

#### bufferConvexPolygon

▸ **bufferConvexPolygon**(`ring`: [*GeoPoint*](#classesdefaultgeopointmd)[], `buffer`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[]

取一个凸环并通过在其周围应用缓冲区将其向外扩展。 此功能假定环是顺时针缠绕的。

##### Parameters

| Name | Type |
| :------ | :------ |
| `ring` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `buffer` | *number* |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

___

#### buildTopoGraph

▸ **buildTopoGraph**(`lines`: { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[], `precision?`: *number*, `hasDirection?`: *boolean*): *object*

根据多条多段线，建立topo

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `lines` | { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[] | 坐标，请转成几何坐标，再传入 |
| `precision?` | *number* | 误差，小数点后几位， 以为相同, 如果两个点的坐标距离小于此值，则认为是同一个节点 |
| `hasDirection?` | *boolean* | 是否考虑方向 |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `graph` | *object* |
| `graph.addEdge` | (`u`: NodeId, `v`: NodeId, `weight?`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.addNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.adjacent` | (`node`: NodeId) => NodeId[] |
| `graph.depthFirstSearch` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*, `errorOnCycle`: *boolean*) => *string*[] |
| `graph.deserialize` | (`serialized`: Serialized) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.getEdgeWeight` | (`u`: NodeId, `v`: NodeId) => EdgeWeight |
| `graph.hasCycle` | () => *boolean* |
| `graph.hasEdge` | (`u`: NodeId, `v`: NodeId) => *boolean* |
| `graph.indegree` | (`node`: NodeId) => *number* |
| `graph.lowestCommonAncestors` | (`node1`: NodeId, `node2`: NodeId) => *string*[] |
| `graph.nodes` | () => NodeId[] |
| `graph.outdegree` | (`node`: NodeId) => *number* |
| `graph.removeEdge` | (`u`: NodeId, `v`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.removeNode` | (`node`: NodeId) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.serialize` | () => Serialized |
| `graph.setEdgeWeight` | (`u`: NodeId, `v`: NodeId, `weight`: EdgeWeight) => { addNode: (node: string) =\> ...; removeNode: (node: string) =\> ...; nodes: () =\> string[]; adjacent: (node: string) =\> string[]; addEdge: (u: string, v: string, weight?: number \| undefined) =\> ...; ... 12 more ...; deserialize: (serialized: Serialized) =\> ...; } |
| `graph.shortestPath` | (`source`: NodeId, `destination`: NodeId) => *string*[] & { `weight?`: *number*  } |
| `graph.topologicalSort` | (`sourceNodes?`: NodeId[], `includeSourceNodes`: *boolean*) => *string*[] |
| `topo` | *any* |

, lowestCommonAncestors: (node1: NodeId, node2: NodeId) => NodeId[], shortestPath: (source: NodeId, destination: NodeId) => NodeId[] & {weight?: EdgeWeight}, setEdgeWeight: (u: NodeId, v: NodeId, weight: EdgeWeight) => {topologicalSort: (sourceNodes?: NodeId[], includeSourceNodes?: boolean) => ...[], addNode: (node: NodeId) => any, lowestCommonAncestors: (node1: NodeId, node2: NodeId) => ...[], shortestPath: (source: NodeId, destination: NodeId) => ... & ..., setEdgeWeight: (u: NodeId, v: NodeId, weight: EdgeWeight) => any, adjacent: (node: NodeId) => NodeId[], depthFirstSearch: (sourceNodes?: NodeId[], includeSourceNodes?: boolean, errorOnCycle?: boolean) => ...[], hasCycle: () => boolean, getEdgeWeight: (u: NodeId, v: NodeId) => EdgeWeight, serialize: () => Serialized, removeEdge: (u: NodeId, v: NodeId) => any, ...}, adjacent: (node: NodeId) => NodeId[], depthFirstSearch: (sourceNodes?: NodeId[], includeSourceNodes?: boolean, errorOnCycle?: boolean) => NodeId[], hasCycle: () => boolean, getEdgeWeight: (u: NodeId, v: NodeId) => EdgeWeight, serialize: () => Serialized, removeEdge: (u: NodeId, v: NodeId) => {topologicalSort: (sourceNodes?: NodeId[], includeSourceNodes?: boolean) => ...[], addNode: (node: NodeId) => any, lowestCommonAncestors: (node1: NodeId, node2: NodeId) => ...[], shortestPath: (source: NodeId, destination: NodeId) => ... & ..., setEdgeWeight: (u: NodeId, v: NodeId, weight: EdgeWeight) => any, adjacent: (node: NodeId) => NodeId[], depthFirstSearch: (sourceNodes?: NodeId[], includeSourceNodes?: boolean, errorOnCycle?: boolean) => ...[], hasCycle: () => boolean, getEdgeWeight: (u: NodeId, v: NodeId) => EdgeWeight, serialize: () => Serialized, removeEdge: (u: NodeId, v: NodeId) => any, ...}, ...}}}

___

#### buildTransformer

▸ **buildTransformer**(`src`: *number*[], `dest`: *number*[]): *undefined* \| *number*[]

Usage:
```js
const transformer = buildTransformer(
    [10, 44, 100, 44, 100, 300, 10, 300],
    [50, 54, 130, 14, 140, 330, 14, 220]
);
```

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `src` | *number*[] | source four points, [x0, y0, x1, y1, x2, y2, x3, y3] |
| `dest` | *number*[] | destination four points, [x0, y0, x1, y1, x2, y2, x3, y3] |

**Returns:** *undefined* \| *number*[]

transformer If fail, return null/undefined.

___

#### buildTransformerMatrix3d

▸ **buildTransformerMatrix3d**(`src`: *number*[], `dest`: *number*[]): *undefined* \| *string*

透视投影转3d css 矩阵
Usage:
```js
const transformer = buildTransformerMatrix3d(
    [10, 44, 100, 44, 100, 300, 10, 300],
    [50, 54, 130, 14, 140, 330, 14, 220]
);
```

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `src` | *number*[] | source four points, [x0, y0, x1, y1, x2, y2, x3, y3] |
| `dest` | *number*[] | destination four points, [x0, y0, x1, y1, x2, y2, x3, y3] |

**Returns:** *undefined* \| *string*

___

#### calcPolygonArea

▸ **calcPolygonArea**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *number*

计算多边形面积

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *number*

___

#### calculateSignedArea

▸ **calculateSignedArea**(`ring`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *number*

返回多边形的有符号的面积。正区域为外环，具有顺时针绕组。负区域为内环，按逆时针顺序排列。

##### Parameters

| Name | Type |
| :------ | :------ |
| `ring` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *number*

___

#### circIn

▸ `Const` **circIn**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### circInOut

▸ `Const` **circInOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### circOut

▸ `Const` **circOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### clamp

▸ `Const` **clamp**(`min`: *number*, `max`: *number*, `v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `min` | *number* |
| `max` | *number* |
| `v` | *number* |

**Returns:** *number*

___

#### clipPolygon

▸ **clipPolygon**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[], `bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoPoint*](#classesdefaultgeopointmd)[]

根据范围裁剪多边形

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

___

#### clipSegment

▸ **clipSegment**(`a`: [*GeoPoint*](#classesdefaultgeopointmd), `b`: [*GeoPoint*](#classesdefaultgeopointmd), `bounds`: [*GeoBounds*](#classesdefaultgeoboundsmd)): [*GeoPoint*](#classesdefaultgeopointmd)[] \| Boolean

根据范围裁剪线段

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `bounds` | [*GeoBounds*](#classesdefaultgeoboundsmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[] \| Boolean

___

#### cloneDeep

▸ **cloneDeep**<T\>(`obj`: T): T

Deep clone of object.

Like `JSON.parse(JSON.stringify(obj))`, but supports basic javascript types (string, number,
object), `Date` and `RegExp`s and cycles.

Throws error if enounters object with `prototype` assuming that in general class instances
cannot be reliably cloned by generic algorithm.

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `obj` | T |

**Returns:** T

___

#### closePolygon

▸ **closePolygon**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): [*GeoPoint*](#classesdefaultgeopointmd)[]

闭合多边形

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

points

___

#### closestPointOnPolyline

▸ **closestPointOnPolyline**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *object*

点到多段线的最近点

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `closestIndex` | *number* |
| `closestLength` | *number* |
| `closestPoint` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `closestPrePointDist` | *number* |

___

#### closestPointOnPolylines

▸ **closestPointOnPolylines**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `lines`: [*GeoPoint*](#classesdefaultgeopointmd)[][]): *object*

点到多条线的最近点

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `lines` | [*GeoPoint*](#classesdefaultgeopointmd)[][] |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `closestIndex` | *number* |
| `closestLength` | *number* |
| `closestPoint` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `closestPointIndex` | *number* |
| `closestPrePointDist` | *number* |

___

#### closestPointOnSegment

▸ **closestPointOnSegment**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `p1`: [*GeoPoint*](#classesdefaultgeopointmd), `p2`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoPoint*](#classesdefaultgeopointmd)

点到线段的最近点

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p1` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p2` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### coordTransfromByFourParamter

▸ **coordTransfromByFourParamter**(`pt`: [*GeoPoint*](#classesdefaultgeopointmd), `param`: { `dx`: *number* ; `dy`: *number* ; `rotate`: *number* ; `scale`: *number*  }): [*GeoPoint*](#classesdefaultgeopointmd)

通过四参数进行坐标转换

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `pt` | [*GeoPoint*](#classesdefaultgeopointmd) | 点 |
| `param` | *object* | 四参数 |
| `param.dx` | *number* | - |
| `param.dy` | *number* | - |
| `param.rotate` | *number* | - |
| `param.scale` | *number* | - |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### coordTransfromByInvFourParamter

▸ **coordTransfromByInvFourParamter**(`pt`: [*GeoPoint*](#classesdefaultgeopointmd), `param`: { `dx`: *number* ; `dy`: *number* ; `rotate`: *number* ; `scale`: *number*  }): [*GeoPoint*](#classesdefaultgeopointmd)

通过四参数反算进行坐标转换

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `pt` | [*GeoPoint*](#classesdefaultgeopointmd) | 点 |
| `param` | *object* | 四参数 |
| `param.dx` | *number* | - |
| `param.dy` | *number* | - |
| `param.rotate` | *number* | - |
| `param.scale` | *number* | - |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### coordTransfromGetFourParamter

▸ **coordTransfromGetFourParamter**(`srcArr`: [*GeoPoint*](#classesdefaultgeopointmd)[], `destArr`: [*GeoPoint*](#classesdefaultgeopointmd)[], `isSetRotateZero`: *boolean*, `isConsiderPointOrder?`: *boolean*): *object*

坐标转换得到四参数

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `srcArr` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 原始点数组 |
| `destArr` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 目标点数组 |
| `isSetRotateZero` | *boolean* | 是否设置旋转为零，默认false,如果为true,则只考虑平移和缩放 |
| `isConsiderPointOrder?` | *boolean* | 不考虑点的次序(这样旋转角度方向总是上面，在-180,180之间） |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `dx` | *number* |
| `dy` | *number* |
| `rotate` | *number* |
| `scale` | *number* |

___

#### createAnimateFillLayer

▸ **createAnimateFillLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*IAnimateFillLayerOptions*](#interfacesdefaultianimatefilllayeroptionsmd)): [*ICreateFillAnimateLayerResult*](#interfacesdefaulticreatefillanimatelayerresultmd)

创建多边形动画图层

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `map` | Map | - | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | - | 线坐标(lngLat) |
| `options` | [*IAnimateFillLayerOptions*](#interfacesdefaultianimatefilllayeroptionsmd) | {} | 选项 |

**Returns:** [*ICreateFillAnimateLayerResult*](#interfacesdefaulticreatefillanimatelayerresultmd)

___

#### createAnimateImages

▸ **createAnimateImages**(`options?`: [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd)): ImageData[]

创建动画图片集

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options?` | [*ICreateAnimateImagesOptions*](#interfacesdefaulticreateanimateimagesoptionsmd) | 选项 |

**Returns:** ImageData[]

___

#### createAnimateLineLayer

▸ **createAnimateLineLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*IAnimateLineLayerOptions*](#interfacesdefaultianimatelinelayeroptionsmd)): [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

创建多段线动画图层

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `map` | Map | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | 线坐标(lngLat) |
| `options?` | [*IAnimateLineLayerOptions*](#interfacesdefaultianimatelinelayeroptionsmd) | 选项 |

**Returns:** [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

___

#### createAnimateSymbolLayer

▸ **createAnimateSymbolLayer**(`map`: Map, `path`: [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any*, `options?`: [*IAnimateSymbolLayerOptions*](#interfacesdefaultianimatesymbollayeroptionsmd)): [*ICreateSymbolAnimateLayerResult*](#interfacesdefaulticreatesymbolanimatelayerresultmd)

创建符号动画图层

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `map` | Map | 地图对象 |
| `path` | [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any* | 符号坐标(lngLat) |
| `options?` | [*IAnimateSymbolLayerOptions*](#interfacesdefaultianimatesymbollayeroptionsmd) | 选项 |

**Returns:** [*ICreateSymbolAnimateLayerResult*](#interfacesdefaulticreatesymbolanimatelayerresultmd)

___

#### createAnimation

▸ **createAnimation**<V\>(`__namedParameters`: *any*): *object*

##### Type parameters

| Name | Default |
| :------ | :------ |
| `V` | *number* |

##### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | *any* |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `start` | (`reset?`: *boolean*) => *void* |
| `stop` | () => *void* |

___

#### createAntPathAnimateImages

▸ **createAntPathAnimateImages**(`options?`: [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd)): ImageData[]

创建蚂蚁线动画图像集

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options?` | [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd) | 选项 |

**Returns:** ImageData[]

___

#### createAntPathAnimateLineLayer

▸ **createAntPathAnimateLineLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd)): [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

创建蚂蚁线动画线图层

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `map` | Map | - | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | - | 线坐标(lngLat) |
| `options` | [*ICreateAntPathAnimateLineLayerOptions*](#interfacesdefaulticreateantpathanimatelinelayeroptionsmd) | {} | 选项 |

**Returns:** [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

___

#### createAnticipate

▸ `Const` **createAnticipate**(`power`: *number*): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `power` | *number* |

**Returns:** [*Easing*](#easing)

___

#### createArrowAnimateImages

▸ **createArrowAnimateImages**(`options?`: [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd)): ImageData[]

创建箭头动画图像集

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `options?` | [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd) | 选项 |

**Returns:** ImageData[]

___

#### createArrowAnimateLineLayer

▸ **createArrowAnimateLineLayer**(`map`: Map, `path`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*, `options?`: [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd)): [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

创建箭头动画线图层

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `map` | Map | 地图对象 |
| `path` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* | 线坐标(lngLat) |
| `options?` | [*ICreateArrowAnimateLineLayerOptions*](#interfacesdefaulticreatearrowanimatelinelayeroptionsmd) | 选项 |

**Returns:** [*ICreateLineAnimateLayerResult*](#interfacesdefaulticreatelineanimatelayerresultmd)

___

#### createAttractor

▸ `Const` **createAttractor**(`alterDisplacement?`: Function): *function*

Creates an attractor that, given a strength constant, origin and value,
will calculate value as attracted to origin.

##### Parameters

| Name | Type |
| :------ | :------ |
| `alterDisplacement` | Function |

**Returns:** (`constant`: *number*, `origin`: *number*, `v`: *number*) => *number*

___

#### createBackIn

▸ `Const` **createBackIn**(`power`: *number*): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `power` | *number* |

**Returns:** [*Easing*](#easing)

___

#### createExpoIn

▸ `Const` **createExpoIn**(`power`: *number*): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `power` | *number* |

**Returns:** [*Easing*](#easing)

___

#### createFrameAnimation

▸ **createFrameAnimation**(`callback`: (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *boolean*, `fps?`: *number*, `stopCallBack?`: (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *void*): [*FrameAnimation*](#interfacesdefaultframeanimationmd)

创建一个 FrameAnimation 对象来启动和停止你的动画功能.

**`example`**
const count = 0;

const animation = createFrameAnimation(() => {
  context.clearRect(0, 0, width, height);
  context.font = "4rem monospace";
  context.textAlign = 'center';
  context.fillText(count, width / 2, height / 2);

  count++;
});

animation.start();

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `callback` | (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *boolean* | 处理动画的回调,如果返回true，表示结束动画，返回false表示继续动画， . |
| `fps?` | *number* | 一秒运行多少帧，用来控制速度，如为0，则默认为系统帧率 |
| `stopCallBack?` | (`status`: [*FrameAnimationStatus*](#enumsdefaultframeanimationstatusmd)) => *void* | 结束动画的回调，参数表示是取消（true)，还是正常结束(false) |

**Returns:** [*FrameAnimation*](#interfacesdefaultframeanimationmd)

| boolean}

___

#### createLineGeoJson

▸ **createLineGeoJson**(`input`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*): GeoJsonGeomertry

创建geoson格式的线

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* |

**Returns:** GeoJsonGeomertry

___

#### createMarker

▸ **createMarker**(`options?`: [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd)): *Marker*

创建一个Makrer对象，相当于new Marker()

##### Parameters

| Name | Type |
| :------ | :------ |
| `options?` | [*createMarkerOptions*](#interfacesdefaultcreatemarkeroptionsmd) |

**Returns:** *Marker*

___

#### createObjectOffset

▸ **createObjectOffset**(): *object*

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `data` | (`vertices`: *any*) => *any* |
| `margin` | (`dist`: *number*) => *any* |
| `offset` | (`dist`: *number*) => *any* |
| `offsetLines` | (`dist`: *number*) => *any* |
| `padding` | (`dist`: *number*) => *any* |

___

#### createObjectPolygonUtil

▸ **createObjectPolygonUtil**(): *object*

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `diff` | (`polygonA`: Number[][], `polygonB`: Number[][]) => ``null`` \| Number[][] |
| `intersection` | (`polygonA`: Number[][], `polygonB`: Number[][]) => ``null`` \| Number[][] |
| `union` | (`polygonA`: Number[][], `polygonB`: Number[][]) => ``null`` \| Number[][] |

___

#### createPointGeoJson

▸ **createPointGeoJson**(`input`: [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any*): GeoJsonGeomertry

创建geoson格式的点

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd) \| [*PointGeoJsonInput*](#interfacesdefaultpointgeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike) \| *any* |

**Returns:** GeoJsonGeomertry

___

#### createPolygonGeoJson

▸ **createPolygonGeoJson**(`input`: [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any*): GeoJsonGeomertry

创建geoson格式的多边形

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd) \| [*LineGeoJsonInput*](#interfacesdefaultlinegeojsoninputmd)[] \| GeoJsonGeomertry \| [*GeoPointLike*](#geopointlike)[] \| *any* |

**Returns:** GeoJsonGeomertry

___

#### cubicBezier

▸ **cubicBezier**(`mX1`: *number*, `mY1`: *number*, `mX2`: *number*, `mY2`: *number*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `mX1` | *number* |
| `mY1` | *number* |
| `mX2` | *number* |
| `mY2` | *number* |

**Returns:** *any*

___

#### decay

▸ **decay**(`__namedParameters`: [*DecayOptions*](#interfacesdefaultdecayoptionsmd)): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | [*DecayOptions*](#interfacesdefaultdecayoptionsmd) |

**Returns:** *any*

___

#### degToRad

▸ **degToRad**(`a`: *number*): *number*

角度转弧度

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | *number* |

**Returns:** *number*

___

#### degreesToRadians

▸ `Const` **degreesToRadians**(`degrees`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `degrees` | *number* |

**Returns:** *number*

___

#### distance

▸ **distance**<P\>(`a`: P, `b`: P): *number*

##### Type parameters

| Name | Type |
| :------ | :------ |
| `P` | *number* \| Point2D \| Point3D |

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | P |
| `b` | P |

**Returns:** *number*

___

#### easeIn

▸ `Const` **easeIn**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### easeInOut

▸ `Const` **easeInOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### easeOut

▸ `Const` **easeOut**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### entColorToHtmlColor

▸ **entColorToHtmlColor**(`color`: *number* \| *string*, `darkMode?`: *boolean*, `alpha?`: *number*): *string*

实体颜色转html颜色

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `color` | *number* \| *string* | 实体颜色 |
| `darkMode?` | *boolean* | 样式是否为暗黑框 |
| `alpha?` | *number* | 透明度的值 |

**Returns:** *string*

___

#### equals

▸ **equals**(`a`: *number*, `b`: *number*): *boolean*

Tests whether or not the arguments have approximately the same value, within an absolute
or relative tolerance of glMatrix.EPSILON (an absolute tolerance is used for values less
than or equal to 1.0, and a relative tolerance is used for larger values)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* | The first number to test. |
| `b` | *number* | The second number to test. |

**Returns:** *boolean*

True if the numbers are approximately equal, false otherwise.

___

#### findShortestPath

▸ **findShortestPath**(`startPoint`: [*GeoPoint*](#classesdefaultgeopointmd), `endPoint`: [*GeoPoint*](#classesdefaultgeopointmd), `lines`: { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[], `precision?`: *number*, `hasDirection?`: *boolean*): { `endPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  } ; `error`: *undefined* ; `route`: *any*[] ; `routeDetail`: { `index`: *any* ; `points`: *any*[] ; `reverse`: *boolean* = false }[] ; `startPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  }  } \| { `endPoint`: *undefined* ; `error`: *any* ; `route`: *undefined* ; `routeDetail`: *undefined* ; `startPoint`: *undefined*  }

给定所有路线、起始点、终点生成最短路径

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `startPoint` | [*GeoPoint*](#classesdefaultgeopointmd) | 起点 |
| `endPoint` | [*GeoPoint*](#classesdefaultgeopointmd) | 终点 |
| `lines` | { `id?`: *string* ; `points`: [*GeoPoint*](#classesdefaultgeopointmd)[] ; `weight?`: *number*  }[] | 坐标，请转成几何坐标，再传入 |
| `precision?` | *number* | 误差，小数点后几位， 以为相同, 如果两个点的坐标距离小于此值，则认为是同一个节点 |
| `hasDirection?` | *boolean* | 是否考虑方向 |

**Returns:** { `endPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  } ; `error`: *undefined* ; `route`: *any*[] ; `routeDetail`: { `index`: *any* ; `points`: *any*[] ; `reverse`: *boolean* = false }[] ; `startPoint`: { `closestIndex`: *number* ; `closestLength`: *number* ; `closestPoint`: [*GeoPoint*](#classesdefaultgeopointmd) ; `closestPointIndex`: *number* ; `closestPrePointDist`: *number*  }  } \| { `endPoint`: *undefined* ; `error`: *any* ; `route`: *undefined* ; `routeDetail`: *undefined* ; `startPoint`: *undefined*  }

___

#### geoBounds

▸ **geoBounds**(`min?`: [*GeoPoint*](#classesdefaultgeopointmd), `max?`: [*GeoPoint*](#classesdefaultgeopointmd)): [*GeoBounds*](#classesdefaultgeoboundsmd)

new一个GeoBounds实例

##### Parameters

| Name | Type |
| :------ | :------ |
| `min?` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `max?` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### geoPoint

▸ **geoPoint**(`input`: [*GeoPointLike*](#geopointlike)): [*GeoPoint*](#classesdefaultgeopointmd)

new一个GeoPoint实例

##### Parameters

| Name | Type |
| :------ | :------ |
| `input` | [*GeoPointLike*](#geopointlike) |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### getBezierCurveLength

▸ **getBezierCurveLength**(`bezierCurve`: BezierCurve, `precision?`: *number*, `recursiveCount?`: *number*): *number*

计算贝塞尔曲线的长度

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `bezierCurve` | BezierCurve | - | 贝塞尔曲线 |
| `precision` | *number* | 5 | 需要的计算精度 |
| `recursiveCount` | *number* | 0 | 迭代次数 |

**Returns:** *number*

___

#### getCircleFeature

▸ **getCircleFeature**(`center`: [*GeoPointLike*](#geopointlike), `radius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): GeoJsonGeomertry

 得到圆或圆弧的离散化的多边形的geojson的形式

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `radius` | *number* | - | 半径 |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是圆弧时，最后一个点加上中心点 |

**Returns:** GeoJsonGeomertry

, type: string, properties: {}}}

___

#### getCirclePolygonCoordinates

▸ **getCirclePolygonCoordinates**(`center`: [*GeoPointLike*](#geopointlike), `radius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): *number*[][]

 得到圆或圆弧的离散化的多边形的点

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `radius` | *number* | - | 半径 |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是圆弧时，最后一个点加上中心点 |

**Returns:** *number*[][]

___

#### getEllipseFeature

▸ **getEllipseFeature**(`center`: [*GeoPointLike*](#geopointlike), `majorAxisRadius`: *number*, `minorAxisRadius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): GeoJsonGeomertry

 得到圆或圆弧的离散化的多边形的geojson的形式

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `majorAxisRadius` | *number* | - | - |
| `minorAxisRadius` | *number* | - | - |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是圆弧时，最后一个点加上中心点 |

**Returns:** GeoJsonGeomertry

, type: string, properties: {}}}

___

#### getEllipsePolygonCoordinates

▸ **getEllipsePolygonCoordinates**(`center`: [*GeoPointLike*](#geopointlike), `majorAxisRadius`: *number*, `minorAxisRadius`: *number*, `points?`: *number*, `startAngle?`: *number*, `endAngle?`: *number*, `includeCenterWhenArc?`: *boolean*): *number*[][]

 得到椭圆或椭圆弧的离散化的多边形的点

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `center` | [*GeoPointLike*](#geopointlike) | - | 中心点 |
| `majorAxisRadius` | *number* | - | 长轴半径 |
| `minorAxisRadius` | *number* | - | 短轴半径 |
| `points` | *number* | 360 | 离散化的个数 |
| `startAngle` | *number* | 0 | 开始角度 |
| `endAngle` | *number* | 360 | 结束角度 |
| `includeCenterWhenArc` | *boolean* | true | 如果是椭/圆弧时，最后一个点加上中心点 |

**Returns:** *number*[][]

___

#### getEnvelopBounds

▸ **getEnvelopBounds**(`envelop`: *string*, `prj`: *any*): [*GeoBounds*](#classesdefaultgeoboundsmd)

根据外包矩形创建 `GeoBounds`.

Example:
```typescript
const b = vjmap.getEnvelopBounds('POLYGON((3466315.697899 6704304.297588, 3466315.697899 7784496.211226, 4546475.901198 7784496.211226, 4546475.901198 6704304.297588, 3466315.697899 6704304.297588))', prj);
```

##### Parameters

| Name | Type |
| :------ | :------ |
| `envelop` | *string* |
| `prj` | *any* |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

___

#### getGeoBounds

▸ **getGeoBounds**<T\>(`data`: T \| *string*): [*GeoBounds*](#classesdefaultgeoboundsmd)

获取一个geojson的范围值

##### Type parameters

| Name | Type |
| :------ | :------ |
| `T` | [*GeoPoint*](#classesdefaultgeopointmd) \| *Feature*<Geometry \| GeometryCollection, Properties\> \| *FeatureCollection*<Geometry \| GeometryCollection, Properties\> \| Geometry \| GeometryCollection \| [*number*, *number*] \| [*number*, *number*, *number*] \| { `x`: *number* ; `y`: *number* ; `z?`: *number*  } \| { `lat`: *number* ; `lng`: *number*  } \| { `lat`: *number* ; `lon`: *number*  } \| [*GeoPointLike*](#geopointlike)[] |

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `data` | T \| *string* | 输入值 |

**Returns:** [*GeoBounds*](#classesdefaultgeoboundsmd)

获取的范围值

___

#### getOptionValue

▸ **getOptionValue**<T\>(`a`: T): T

Get first defined value.

Specialized "replacement" for `a || b || c` used frequently to get value from various sources
(defaults, configs  constants).
In contrast to `||`, this function provides proper typing for usual use cases (constant as last
argument) and correct treatment of `null` and `undefined`.

If last parameter is "defined" then return type is `T`, otherwise return type is `T | undefined`.

Usage example:

    interface Config {
        x?: number;
    }
    const someConfig: Config = {};
    const val: number | undefined = undefined;
    const DEFAULT = 5;
    const x = getOptionValue(val, someConfig.x, DEFAULT);
        // typeof x === 'number' because DEFAULT is defined
    const y = getOptionValue(val, someConfig.x);
        // typeof y === 'number | undefined' because someConfig.x is possibly undefined

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T |

**Returns:** T

▸ **getOptionValue**<T\>(`a`: T \| *undefined*, `b`: T): T

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T \| *undefined* |
| `b` | T |

**Returns:** T

▸ **getOptionValue**<T\>(`a`: T \| *undefined*, `b`: T \| *undefined*, `c`: T): T

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T \| *undefined* |
| `b` | T \| *undefined* |
| `c` | T |

**Returns:** T

▸ **getOptionValue**<T\>(`a`: T \| *undefined*, `b`: T \| *undefined*, `c`: T \| *undefined*, `d`: T): T

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | T \| *undefined* |
| `b` | T \| *undefined* |
| `c` | T \| *undefined* |
| `d` | T |

**Returns:** T

▸ **getOptionValue**<T\>(...`values`: (T \| *undefined*)[]): T \| *undefined*

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `...values` | (T \| *undefined*)[] |

**Returns:** T \| *undefined*

___

#### getTempMapId

▸ **getTempMapId**(`expireTime?`: *number*, `isVisible?`: *boolean*): *string*

获取一个临时的图id(临时图形只会用临时查看，过期会自动删除)

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `expireTime?` | *number* | 临时图形不浏览情况下过期自动删除时间，单位分钟。默认30 |
| `isVisible?` | *boolean* | 是否可见，（可见的话，将可通过ListMaps获取，否则为隐藏图）。默认不可见 |

**Returns:** *string*

___

#### hexToBinStr

▸ **hexToBinStr**(`strHex`: *string*, `isPadding?`: *boolean*, `reverse?`: *boolean*): *string*

十六进制字符串转二进制字符串(可用于协同图形，图层开头显示设置的转换)

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `strHex` | *string* | - | 十进制的内容 |
| `isPadding` | *boolean* | true | 前面是否自动0，默认true |
| `reverse` | *boolean* | true | 结果倒序，默认true |

**Returns:** *string*

___

#### htmlColorToEntColor

▸ **htmlColorToEntColor**(`color`: *string*): *number*

html颜色转实体颜色

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `color` | *string* | html |

**Returns:** *number*

___

#### inertia

▸ **inertia**(`__namedParameters`: [*InertiaOptions*](#interfacesdefaultinertiaoptionsmd)): *object*

##### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | [*InertiaOptions*](#interfacesdefaultinertiaoptionsmd) |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `stop` | () => *void* |

___

#### interpolate

▸ **interpolate**<T\>(`input`: *number*[], `output`: T[], `__namedParameters?`: *InterpolateOptions*<T\>): *function*

Create a function that maps from a numerical input array to a generic output array.

Accepts:
  - Numbers
  - Colors (hex, hsl, hsla, rgb, rgba)
  - Complex (combinations of one or more numbers or strings)

```jsx
const mixColor = interpolate([0, 1], ['#fff', '#000'])

mixColor(0.5) // 'rgba(128, 128, 128, 1)'
```

##### Type parameters

| Name |
| :------ |
| `T` |

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `input` | *number*[] | - |
| `output` | T[] | - |
| `__namedParameters` | *InterpolateOptions*<T\> | {} |

**Returns:** (`v`: *number*) => T

___

#### interpolateLineRange

▸ **interpolateLineRange**(`points`: [*GeoPointLike*](#geopointlike)[] \| *any*, `number`: *number*, `isLngLat?`: *boolean*, `offsetDist?`: *number*, `minGap?`: *number*, `includeSrcPoint?`: *boolean*): *any*[]

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `points` | [*GeoPointLike*](#geopointlike)[] \| *any* | - | 要插值的（多段）线的顶点(输入必须为经纬度). |
| `number` | *number* | - | 沿线插入的点数；这包括端点，并且有效最小值为 2（如果给出较小的数字，则仍将返回端点）. |
| `isLngLat` | *boolean* | false | 点坐标序列是否是经纬度坐标 |
| `offsetDist` | *number* | 0 | 一个可选的垂直距离，用于从线段偏移每个点，否则它会位于. |
| `minGap` | *number* | 0 | 在后续插值点之间保持可选的最小间隙；如果一组“number”点的后续点之间的投影间隙低于此值，则“number”将减小到合适的值. |
| `includeSrcPoint` | *boolean* | true | 包括原有点 |

**Returns:** *any*[]

___

#### interpolatePointsByRatio

▸ **interpolatePointsByRatio**(`points`: [*GeoPointLike*](#geopointlike)[] \| *any*, `ratio`: *number*, `isLngLat?`: *boolean*): *any*[]

通过比例(0-1)的值，得到坐标序列的点坐标的值

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `points` | [*GeoPointLike*](#geopointlike)[] \| *any* | - |
| `ratio` | *number* | - |
| `isLngLat` | *boolean* | false |

**Returns:** *any*[]

___

#### isClosedPolygon

▸ **isClosedPolygon**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *boolean*

多边形是否闭合

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *boolean*

___

#### isCounterClockwise

▸ **isCounterClockwise**(`a`: [*GeoPoint*](#classesdefaultgeopointmd), `b`: [*GeoPoint*](#classesdefaultgeopointmd), `c`: [*GeoPoint*](#classesdefaultgeopointmd)): *boolean*

指示提供的点是按逆时针（真）还是顺时针（假）顺序排列

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `b` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `c` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *boolean*

___

#### isGeoPointLike

▸ **isGeoPointLike**(`geoPoint`: *any*): geoPoint is GeoPointLike

A [GeoPointLike](#geopointlike) object, an array of two numbers representing longitude and latitude,
or an object with `lng` and `lat` or `lon` and `lat` properties.

Example:
```typescript
const center = { lat: 53.3, lng: 13.4 };
mapView.geoCenter = GeoCoordinates.fromLatLng(center);
```

##### Parameters

| Name | Type |
| :------ | :------ |
| `geoPoint` | *any* |

**Returns:** geoPoint is GeoPointLike

___

#### isPoint

▸ `Const` **isPoint**(`point`: Object): point is Point23D

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | Object |

**Returns:** point is Point23D

___

#### isPoint3D

▸ `Const` **isPoint3D**(`point`: Point23D): point is Point3D

##### Parameters

| Name | Type |
| :------ | :------ |
| `point` | Point23D |

**Returns:** point is Point3D

___

#### isPointInPolygon

▸ `Const` **isPointInPolygon**(`pos`: [*GeoPoint*](#classesdefaultgeopointmd), `polygon`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *boolean*

判断点是否在多边形内。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `pos` | [*GeoPoint*](#classesdefaultgeopointmd) | 点 |
| `polygon` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 多边形坐标 |

**Returns:** *boolean*

___

#### isZero

▸ **isZero**(`value`: *number*, `precision?`: *number*): *boolean*

判断是否为零

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `value` | *number* | 值 |
| `precision?` | *number* | 精度，缺省1e-6 |

**Returns:** *boolean*

___

#### kebabCase

▸ `Const` **kebabCase**(`s`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `s` | *any* |

**Returns:** *any*

___

#### keyframes

▸ **keyframes**<V\>(`__namedParameters`: [*KeyframeOptions*](#interfacesdefaultkeyframeoptionsmd)): *any*

##### Type parameters

| Name |
| :------ |
| `V` |

##### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | [*KeyframeOptions*](#interfacesdefaultkeyframeoptionsmd) |

**Returns:** *any*

___

#### lineSplit

▸ **lineSplit**(`line`: [*GeoPoint*](#classesdefaultgeopointmd)[], `splitLine`: [*GeoPoint*](#classesdefaultgeopointmd)[], `dotErr?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[][]

线被另外一条线分开多条线段，返回新的线段

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `line` | [*GeoPoint*](#classesdefaultgeopointmd)[] |  |
| `splitLine` | [*GeoPoint*](#classesdefaultgeopointmd)[] |  |
| `dotErr?` | *number* | 允许误差的小数点后几位，默认6位 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[][]

___

#### linear

▸ `Const` **linear**(`v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `v` | *number* |

**Returns:** *number*

___

#### metersPerPixel

▸ **metersPerPixel**(`zoomLevel`: *number*, `latitude?`: *number*): *number*

求不同级级别下，每米表示多少像素

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `zoomLevel` | *number* | 级别从0表示 |
| `latitude?` | *number* | 纬度 |

**Returns:** *number*

___

#### mirrorEasing

▸ `Const` **mirrorEasing**(`easing`: [*Easing*](#easing)): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `easing` | [*Easing*](#easing) |

**Returns:** [*Easing*](#easing)

___

#### mix

▸ `Const` **mix**(`from`: *number*, `to`: *number*, `progress`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `from` | *number* |
| `to` | *number* |
| `progress` | *number* |

**Returns:** *number*

___

#### mixColor

▸ `Const` **mixColor**(`from`: *any*, `to`: *any*): *function*

##### Parameters

| Name | Type |
| :------ | :------ |
| `from` | *any* |
| `to` | *any* |

**Returns:** (`v`: *number*) => *any*

___

#### mixComplex

▸ `Const` **mixComplex**(`origin`: *string*, `target`: *string*): MixComplex

##### Parameters

| Name | Type |
| :------ | :------ |
| `origin` | *string* |
| `target` | *string* |

**Returns:** MixComplex

___

#### multiLineSplit

▸ **multiLineSplit**(`lines`: [*GeoPoint*](#classesdefaultgeopointmd)[][], `dotErr?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[][]

多条线之间根据交点相互分开,返回相交后的所有线段，请确保每条线段不要自相交

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `lines` | [*GeoPoint*](#classesdefaultgeopointmd)[][] |  |
| `dotErr?` | *number* | 允许误差的小数点后几位，默认6位 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[][]

___

#### offsetPointLine

▸ **offsetPointLine**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[], `distance`: *number*): *any*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `distance` | *number* |

**Returns:** *any*[]

___

#### offsetPoints

▸ **offsetPoints**(`pts`: [*GeoPointLike*](#geopointlike)[], `options`: { `offset`: *number* ; `smoothFactor?`: *number*  }): *any*[]

##### Parameters

| Name | Type |
| :------ | :------ |
| `pts` | [*GeoPointLike*](#geopointlike)[] |
| `options` | *object* |
| `options.offset` | *number* |
| `options.smoothFactor?` | *number* |

**Returns:** *any*[]

___

#### openMapDarkStyle

▸ **openMapDarkStyle**(): [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

打开地图的深色背景样式，值为 {backcolor: 0}

**Returns:** [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

___

#### openMapLightStyle

▸ **openMapLightStyle**(): [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

打开地图的浅色色背景样式，值为 {backcolor: 0xFFFFFF}

**Returns:** [*IMapStyleParam*](#interfacesdefaultimapstyleparammd)

___

#### pick

▸ **pick**<T, K\>(`object`: T, `props`: K[]): *Pick*<T, K\>

Pick `props` from `object.

Runtime version of `Pick<T,K>`.

##### Type parameters

| Name | Type |
| :------ | :------ |
| `T` | *object* |
| `K` | *string* \| *number* \| *symbol* |

##### Parameters

| Name | Type |
| :------ | :------ |
| `object` | T |
| `props` | K[] |

**Returns:** *Pick*<T, K\>

___

#### pipe

▸ `Const` **pipe**(...`transformers`: Function[]): Function

##### Parameters

| Name | Type |
| :------ | :------ |
| `...transformers` | Function[] |

**Returns:** Function

___

#### pixelValue

▸ **pixelValue**(`meters`: *number*, `zoomLevel`: *number*, `latitude?`: *number*): *number*

不同级别下根据米数来求像素值

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `meters` | *number* | 米 |
| `zoomLevel` | *number* | 级别从0表示 |
| `latitude?` | *number* | 纬度 |

**Returns:** *number*

___

#### pointFromVector

▸ `Const` **pointFromVector**(`origin`: Point2D, `angle`: *number*, `distance`: *number*): *object*

##### Parameters

| Name | Type |
| :------ | :------ |
| `origin` | Point2D |
| `angle` | *number* |
| `distance` | *number* |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `x` | *number* |
| `y` | *number* |

___

#### pointToSegmentDistance

▸ **pointToSegmentDistance**(`p`: [*GeoPoint*](#classesdefaultgeopointmd), `p1`: [*GeoPoint*](#classesdefaultgeopointmd), `p2`: [*GeoPoint*](#classesdefaultgeopointmd)): *number*

点到线段的距离

##### Parameters

| Name | Type |
| :------ | :------ |
| `p` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p1` | [*GeoPoint*](#classesdefaultgeopointmd) |
| `p2` | [*GeoPoint*](#classesdefaultgeopointmd) |

**Returns:** *number*

___

#### polygonCentroid

▸ **polygonCentroid**(`vertices`: [*GeoPoint*](#classesdefaultgeopointmd)[]): [*GeoPoint*](#classesdefaultgeopointmd)

根据 [x,y] 坐标列表计算多边形的质心。

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `vertices` | [*GeoPoint*](#classesdefaultgeopointmd)[] | 顶点坐标 |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)

___

#### polygonIsClockwise

▸ **polygonIsClockwise**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[]): *boolean*

根据格林公式判断多边形是否为顺时针

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |

**Returns:** *boolean*

false:逆时针

___

#### polylineMarginToPolygon

▸ **polylineMarginToPolygon**(`pts`: [*GeoPointLike*](#geopointlike)[], `options`: { `arcSegments?`: *number* ; `offset`: *number* ; `smoothFactor?`: *number*  }): *any*

把多段线往外扩展成多边形

##### Parameters

| Name | Type |
| :------ | :------ |
| `pts` | [*GeoPointLike*](#geopointlike)[] |
| `options` | *object* |
| `options.arcSegments?` | *number* |
| `options.offset` | *number* |
| `options.smoothFactor?` | *number* |

**Returns:** *any*

___

#### polylineToBezierCurve

▸ **polylineToBezierCurve**(`polyline`: CurvePoint[], `close?`: *boolean*, `offsetA?`: *number*, `offsetB?`: *number*): BezierCurve

**`description`** 将折线转换为贝塞尔曲线

##### Parameters

| Name | Type | Default value | Description |
| :------ | :------ | :------ | :------ |
| `polyline` | CurvePoint[] | - | 组成折线的一组点 |
| `close` | *boolean* | false | 闭合曲线 |
| `offsetA` | *number* | 0.25 | 光滑程度A |
| `offsetB` | *number* | 0.25 | 光滑程度B |

**Returns:** BezierCurve

一组贝塞尔曲线（无效输入将返回false）

___

#### progress

▸ `Const` **progress**(`from`: *number*, `to`: *number*, `value`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `from` | *number* |
| `to` | *number* |
| `value` | *number* |

**Returns:** *number*

___

#### radToDeg

▸ **radToDeg**(`a`: *number*): *number*

弧度转角度

##### Parameters

| Name | Type |
| :------ | :------ |
| `a` | *number* |

**Returns:** *number*

___

#### radiansToDegrees

▸ `Const` **radiansToDegrees**(`radians`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `radians` | *number* |

**Returns:** *number*

___

#### randInt

▸ **randInt**(`n`: *number*, `m`: *number*): *number*

生成一个区间的随机总数

##### Parameters

| Name | Type |
| :------ | :------ |
| `n` | *number* |
| `m` | *number* |

**Returns:** *number*

___

#### randomColor

▸ **randomColor**(): *string*

生成随机颜色

**Returns:** *string*

___

#### reverseEasing

▸ `Const` **reverseEasing**(`easing`: [*Easing*](#easing)): [*Easing*](#easing)

##### Parameters

| Name | Type |
| :------ | :------ |
| `easing` | [*Easing*](#easing) |

**Returns:** [*Easing*](#easing)

___

#### segmentIntersect

▸ **segmentIntersect**(`x1`: *number*, `y1`: *number*, `x2`: *number*, `y2`: *number*, `x3`: *number*, `y3`: *number*, `x4`: *number*, `y4`: *number*): { `ratio`: *undefined* ; `result`: *string* = "COLINEAR"; `status`: *boolean* = false; `x`: *undefined* ; `y`: *undefined*  } \| { `ratio`: *number* ; `result`: *undefined* = "COLINEAR"; `status`: *boolean* = true; `x`: *number* ; `y`: *number*  }

线段相交

##### Parameters

| Name | Type |
| :------ | :------ |
| `x1` | *number* |
| `y1` | *number* |
| `x2` | *number* |
| `y2` | *number* |
| `x3` | *number* |
| `y3` | *number* |
| `x4` | *number* |
| `y4` | *number* |

**Returns:** { `ratio`: *undefined* ; `result`: *string* = "COLINEAR"; `status`: *boolean* = false; `x`: *undefined* ; `y`: *undefined*  } \| { `ratio`: *number* ; `result`: *undefined* = "COLINEAR"; `status`: *boolean* = true; `x`: *number* ; `y`: *number*  }

| {result: string, status: boolean} | {x: number, y: number, status: boolean, ratio: number} | {result: string, status: boolean}}

___

#### simplify

▸ **simplify**(`points`: [*GeoPoint*](#classesdefaultgeopointmd)[], `tolerance?`: *number*): [*GeoPoint*](#classesdefaultgeopointmd)[]

简化点坐标

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | [*GeoPoint*](#classesdefaultgeopointmd)[] |
| `tolerance?` | *number* |

**Returns:** [*GeoPoint*](#classesdefaultgeopointmd)[]

___

#### smooth

▸ `Const` **smooth**(`strength?`: *number*): *function*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `strength` | *number* | 50 |

**Returns:** (`v`: *number*) => *number*

___

#### smoothFrame

▸ `Const` **smoothFrame**(`prevValue`: *number*, `nextValue`: *number*, `duration`: *number*, `smoothing?`: *number*): *number*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `prevValue` | *number* | - |
| `nextValue` | *number* | - |
| `duration` | *number* | - |
| `smoothing` | *number* | 0 |

**Returns:** *number*

___

#### snap

▸ `Const` **snap**(`points`: *number* \| *number*[]): *function*

##### Parameters

| Name | Type |
| :------ | :------ |
| `points` | *number* \| *number*[] |

**Returns:** (`v`: *number*) => *undefined* \| *number*

___

#### spring

▸ **spring**(`__namedParameters`: [*SpringOptions*](#interfacesdefaultspringoptionsmd)): *any*

This is based on the spring implementation of Wobble https://github.com/skevy/wobble

##### Parameters

| Name | Type |
| :------ | :------ |
| `__namedParameters` | [*SpringOptions*](#interfacesdefaultspringoptionsmd) |

**Returns:** *any*

___

#### steps

▸ `Const` **steps**(`steps`: *number*, `direction?`: Direction): [*Easing*](#easing)

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `steps` | *number* | - |
| `direction` | Direction | "end" |

**Returns:** [*Easing*](#easing)

___

#### syncMaps

▸ **syncMaps**(...`args`: Map[]): *function*

同步两张地图的移动。

##### Parameters

| Name | Type |
| :------ | :------ |
| `...args` | Map[] |

**Returns:** () => *void*

___

#### toDecimal

▸ `Const` **toDecimal**(`num`: *number*, `precision?`: *number*): *number*

##### Parameters

| Name | Type | Default value |
| :------ | :------ | :------ |
| `num` | *number* | - |
| `precision` | *number* | 2 |

**Returns:** *number*

___

#### toRadian

▸ **toRadian**(`a`: *number*): *number*

Convert Degree To Radian

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `a` | *number* | Angle in Degrees |

**Returns:** *number*

___

#### upperCamelCase

▸ `Const` **upperCamelCase**(`s`: *any*): *any*

##### Parameters

| Name | Type |
| :------ | :------ |
| `s` | *any* |

**Returns:** *any*

___

#### utf8ToUnicode

▸ **utf8ToUnicode**(`strUtf8`: *string*): *string*

utf8转unicode

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `strUtf8` | *string* | utf8的内容 |

**Returns:** *string*

___

#### vectorContour

▸ **vectorContour**(`featureCollection`: FeatureCollection, `weight`: *string*, `breaks`: *number*[], `params?`: { `alpha?`: *number* ; `canvas?`: HTMLCanvasElement ; `colors?`: *string*[] ; `extent?`: [*number*, *number*, *number*, *number*] ; `model?`: ``"exponential"`` \| ``"gaussian"`` \| ``"spherical"`` ; `sigma2?`: *number* ; `width?`: *number* ; `xlim?`: *number* ; `ylim?`: *number*  }): *object*

生成矢量等值面

##### Parameters

| Name | Type | Description |
| :------ | :------ | :------ |
| `featureCollection` | FeatureCollection | - |
| `weight` | *string* | - |
| `breaks` | *number*[] | - |
| `params?` | *object* | params:{ model:'exponential','gaussian','spherical'，三选一，默认exponential sigma2: 0, // sigma2是σ²，对应高斯过程的方差参数，也就是这组数据z的距离，方差参数σ²的似然性反映了高斯过程中的误差，并应手动设置。一般设置为 0 ，其他数值设了可能会出空白图 alpha: 100, // Alpha α对应方差函数的先验值，此参数可能控制钻孔扩散范围,越小范围越大,少量点效果明显，但点多了且分布均匀以后改变该数字即基本无效果了，默认设置为100 canvas: HTMLCanvasElement, // 如果要渲染到画布上填这个 xlim: number, // canvas有效 ylim: number, // canvas有效 colors:string[] // canvas有效 等值面分级区间 width: number // 生成等值线宽度参数。像素长度。默认200。宽度值越大，绘制越精确，但也会导致速度变慢，内存占用越多 } |
| `params.alpha?` | *number* | - |
| `params.canvas?` | HTMLCanvasElement | - |
| `params.colors?` | *string*[] | - |
| `params.extent?` | [*number*, *number*, *number*, *number*] | - |
| `params.model?` | ``"exponential"`` \| ``"gaussian"`` \| ``"spherical"`` | - |
| `params.sigma2?` | *number* | - |
| `params.width?` | *number* | - |
| `params.xlim?` | *number* | - |
| `params.ylim?` | *number* | - |

**Returns:** *object*

| Name | Type |
| :------ | :------ |
| `alg?` | *any* |
| `contour?` | FeatureCollection |
| `grid?` | *object* |
| `grid.grid` | *number*[] |
| `grid.m` | *number* |
| `grid.n` | *number* |
| `grid.x_resolution` | *number* |
| `grid.xlim` | *number* |
| `grid.y_resolution` | *number* |
| `grid.ylim` | *number* |
| `grid.zlim` | *number* |
| `variogram?` | *any* |

___

#### velocityPerFrame

▸ **velocityPerFrame**(`xps`: *number*, `frameDuration`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `xps` | *number* |
| `frameDuration` | *number* |

**Returns:** *number*

___

#### velocityPerSecond

▸ **velocityPerSecond**(`velocity`: *number*, `frameDuration`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `velocity` | *number* |
| `frameDuration` | *number* |

**Returns:** *number*

___

#### wrap

▸ `Const` **wrap**(`min`: *number*, `max`: *number*, `v`: *number*): *number*

##### Parameters

| Name | Type |
| :------ | :------ |
| `min` | *number* |
| `max` | *number* |
| `v` | *number* |

**Returns:** *number*


<a name="modulesdefaultquatmd"></a>

[vjmap](#readmemd) / [Exports](#modulesmd) / [default](#modulesdefaultmd) / quat
