@mapgis/webclient-leaflet-plugin
Version:
A cloud GIS network client development platform based on Leaflet.
4,246 lines (1,126 loc) • 124 kB
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title> Global</title>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/app.min.css">
<link type="text/css" rel="stylesheet" href="styles/iframe.css">
<link type="text/css" rel="stylesheet" href="">
</head>
<body class="layout small-header">
<div id="stickyNavbarOverlay"></div>
<div class="top-nav">
<div class="inner">
<a id="hamburger" role="button" class="navbar-burger" aria-label="menu" aria-expanded="false">
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
<span aria-hidden="true"></span>
</a>
<div class="logo">
<h1> MapGIS Client for JavaScript API</h1>
</div>
<div class="menu">
<div class="navigation">
<a
class="link user-link "
href="/static/modules/common/api/common-mapgis/index.html"
>
Common
</a>
<a
class="link user-link "
href="/static/modules/cesium/api/cesium-mapgis/index.html"
>
Cesium-Plugin
</a>
<a
class="link user-link "
href="/static/modules/mapboxgl/api/mapboxgl-mapgis/index.html"
>
MapboxGL-Plugin
</a>
<a
class="link user-link "
href="/static/modules/leaflet/api/leaflet-mapgis/index.html"
>
Leaflet-Plugin
</a>
<a
class="link user-link "
href="/static/modules/openlayers/api/openLayers-mapgis/index.html"
>
OpenLayers-Plugin
</a>
<a
class="link user-link "
href="/static/modules/video/api/video-mapgis/index.html"
>
Video-Plugin
</a>
</div>
</div>
</div>
</div>
<div id="main">
<div
class="sidebar "
id="sidebarNav"
>
<div>
<span class="mapgis-api-document-span"><a href="index.html">API文档</a></span>
</div>
<div class="search-wrapper">
<input id="search" type="text" placeholder="搜索文档..." class="input">
</div>
<nav>
<div class="category"><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">扩展模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISMapImageLayer.html">ArcGISMapImageLayer</a><span style="display: none;"><p>ArcGIS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="ArcGISTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="ArcGISTileLayer.html">ArcGISTileLayer</a><span style="display: none;"><p>ArcGIS瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="EchartsLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="EchartsLayer.html">EchartsLayer</a><span style="display: none;"><p>Echarts图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayer.html">FeatureLayer</a><span style="display: none;"><p>要素图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSImageryLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryLayer.html">IGSImageryLayer</a><span style="display: none;"><p>IGS影像图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSImageryTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSImageryTileLayer.html">IGSImageryTileLayer</a><span style="display: none;"><p>IGS影像瓦片图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSMapImageLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSMapImageLayer.html">IGSMapImageLayer</a><span style="display: none;"><p>IGS地图服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="IGSTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="IGSTileLayer.html">IGSTileLayer</a><span style="display: none;"><p>IGS瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="initializeOptions"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="initializeOptions.html">initializeOptions</a><span style="display: none;"><p>通过Common的图层对象构建Leaflet图层对象的初始化参数</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapLayer.html">MapLayer</a><span style="display: none;"><p>屏幕出一张图图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapVLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapVLayer.html">MapVLayer</a><span style="display: none;"><p>MapV图层(Leaflet)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayer.html">TileLayer</a><span style="display: none;"><p>带裁剪功能的瓦片图层基类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="TileLayerWMS"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="TileLayerWMS.html">TileLayerWMS</a><span style="display: none;"><p>WMS图层基类(相比于原生的L.TileLayer.WMS, 此图层支持空间裁剪功能)</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="VectorTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="VectorTileLayer.html">VectorTileLayer</a><span style="display: none;"><p>矢量瓦片服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapServiceLayer.html">WebMapServiceLayer</a><span style="display: none;"><p>WMS服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebMapTileServiceLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebMapTileServiceLayer.html">WebMapTileServiceLayer</a><span style="display: none;"><p>WMTS服务接入类</p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="WebTileLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="WebTileLayer.html">WebTileLayer</a><span style="display: none;"><p>网络瓦片服务接入类</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">工具类模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="FeatureLayerUtil"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="FeatureLayerUtil.html">FeatureLayerUtil</a><span style="display: none;"><p>要素图层工具类(Leaflet)</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">视图模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="MapView"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="MapView.html">MapView</a><span style="display: none;"><p>二维场景视图(leaflet引擎),对地图引擎进行管理,如果要对地图图层进行管理请参考<code>Map</code>,<br/>
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/MapView.html' target='_blank'>zondy.MapView</a><br/>
参考示例:
<a href='#MapView'>[初始化二维场景视图]</a>
<br>[ES5引入方式]:<br/>
zondy.leaflet.MapView() <br/>
[ES6引入方式]:<br/>
import { MapView } from '@mapgis/webclient-leaflet-plugin' <br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Popup"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Popup.html">Popup</a><span style="display: none;"><p>二维场景信息弹窗(leaflet引擎)
参考示例:
<a href='#MapView'>[初始化二维场景视图]</a>
[ES6引入方式]:<br/>
import { Popup } from '@mapgis/webclient-leaflet-plugin' <br/>
自定义样式说明:<br/>
zondy-popup__container 弹窗容器样式<br/>
zondy-popup__tip 弹窗对话框箭头样式<br/>
zondy-popup__header 弹窗头部样式<br/>
zondy-popup__content 弹窗主体样式<br/>
zondy-popup__footer 弹窗底部样式<br/></p></span></li><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="Screenshot"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="Screenshot.html">Screenshot</a><span style="display: none;"><p>屏幕打印工具</p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">草图编辑模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="SketchEditor"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="SketchEditor.html">SketchEditor</a><span style="display: none;"><p>二维Leaflet引擎草图编辑类<br/>
继承自<a href='http://webclient.smaryun.com/static/modules/common/api/common-mapgis/SketchEditor.html' target='_blank'>zondy.SketchEditor</a><br/>
<br>[ES5引入方式]:<br/>
const { SketchEditor } = zondy.leaflet.tool.sketch <br/>
[ES6引入方式]:<br/>
import { SketchEditor } from "@mapgis/webclient-leaflet-plugin" <br/></p></span></li></ul><div style="font-weight: bold;vertical-align: middle;padding: 0.4rem 0;" class="mapgis-menu-span"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/m.png" alt="">渲染器模块</div><ul class="mapgis-sidebar-menus"><li style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis;" title="zondy.themelayer.GraphThemeLayer"><img style="width: 20px;margin-right: 6px;vertical-align: middle;" src="./styles/c.png" alt=""><a href="zondy.themelayer.GraphThemeLayer.html">GraphThemeLayer</a><span style="display: none;"><p>统计专题图通过为每个要素绘制统计图表来反映其对应的专题值的大小。它可同时表示多个字段属性信息,在区域本身与各区域之间形成横向和纵向的对比。<br>统计专题图多用于具有相关数量特征的地图上,比如表示不同地区多年的粮食产量、GDP、人口等,不同时段客运量、地铁流量等。目前提供的统计图类型有:柱状图(Bar),折线图(Line),饼图(Pie),三维柱状图(Bar3D),点状图(Point),环状图(Ring)。</p></span></li></ul></div>
</nav>
</div>
<div class="core" id="main-content-wrapper">
<div class="content">
<header id="page-title" class="page-title">
<span class="page-title-main">类名</span>
<span class="page-title-sub">Global</span>
</header>
<section>
<article>
<div class="container-overview">
<dl class="details">
</dl>
</div>
<div class='vertical-section'>
<h3 id='member'>成员变量</h3>
<div class="members">
<div class="member">
<h4 class="name" id="canvasProto">
<a class="href-link" href="#canvasProto">#</a>
<span class='tag'>constant</span>
<span class="code-name">
canvasProto
</span>
</h4>
<div class="description">
<p>L.Canvas</p>
</div>
<dl class="details">
</dl>
</div>
<div class="member">
<h4 class="name" id="divOverlayProto">
<a class="href-link" href="#divOverlayProto">#</a>
<span class='tag'>constant</span>
<span class="code-name">
divOverlayProto
</span>
</h4>
<div class="description">
<p>L.DivOverlay</p>
</div>
<dl class="details">
</dl>
</div>
<div class="member">
<h4 class="name" id="domUtilProto">
<a class="href-link" href="#domUtilProto">#</a>
<span class='tag'>constant</span>
<span class="code-name">
domUtilProto
</span>
</h4>
<div class="description">
<p>L.DomUtil</p>
</div>
<dl class="details">
</dl>
</div>
<div class="member">
<h4 class="name" id="gridLayerProto">
<a class="href-link" href="#gridLayerProto">#</a>
<span class='tag'>constant</span>
<span class="code-name">
gridLayerProto
</span>
</h4>
<div class="description">
<p>L.GridLayer</p>
</div>
<dl class="details">
</dl>
</div>
<div class="member">
<h4 class="name" id="ImageOverlay">
<a class="href-link" href="#ImageOverlay">#</a>
<span class='tag'>constant</span>
<span class="code-name">
ImageOverlay
</span>
</h4>
<div class="description">
<p>L.ImageOverlay</p>
</div>
<dl class="details">
</dl>
</div>
<div class="member">
<h4 class="name" id="mapProto">
<a class="href-link" href="#mapProto">#</a>
<span class='tag'>constant</span>
<span class="code-name">
mapProto
</span>
</h4>
<div class="description">
<p>L.Map</p>
</div>
<dl class="details">
</dl>
</div>
<div class="member">
<h4 class="name" id="markerProto">
<a class="href-link" href="#markerProto">#</a>
<span class='tag'>constant</span>
<span class="code-name">
markerProto
</span>
</h4>
<div class="description">
<p>L.Marker</p>
</div>
<dl class="details">
</dl>
</div>
<div class="member">
<h4 class="name" id="popupProto">
<a class="href-link" href="#popupProto">#</a>
<span class='tag'>constant</span>
<span class="code-name">
popupProto
</span>
</h4>
<div class="description">
<p>L.Popup</p>
</div>
<dl class="details">
</dl>
</div>
<div class="member">
<h4 class="name" id="rendererProto">
<a class="href-link" href="#rendererProto">#</a>
<span class='tag'>constant</span>
<span class="code-name">
rendererProto
</span>
</h4>
<div class="description">
<p>L.Renderer</p>
</div>
<dl class="details">
</dl>
</div>
<div class="member">
<h4 class="name" id="tooltipProto">
<a class="href-link" href="#tooltipProto">#</a>
<span class='tag'>constant</span>
<span class="code-name">
tooltipProto
</span>
</h4>
<div class="description">
<p>L.Tooltip</p>
</div>
<dl class="details">
</dl>
</div>
</div>
</div>
<div class='vertical-section'>
<h3 id='function'>方法</h3>
<div class="members">
<div class="member">
<h4 class="name" id="_adjustClusterOrMarkerStatus">
<a class="href-link" href="#_adjustClusterOrMarkerStatus">#</a>
<span class="code-name" style="font-size:30px">
_adjustClusterOrMarkerStatus<span class="signature">(marker, rbush, zoom)</span>
</span>
</h4>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>marker</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
<tr class="deep-level-0">
<td class="name"><code>rbush</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
<tr class="deep-level-0">
<td class="name"><code>zoom</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_animationCreateMarkerIcon">
<a class="href-link" href="#_animationCreateMarkerIcon">#</a>
<span class="code-name" style="font-size:30px">
_animationCreateMarkerIcon<span class="signature">(nm)</span>
</span>
</h4>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>nm</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_calcAdjustPoint">
<a class="href-link" href="#_calcAdjustPoint">#</a>
<span class="code-name" style="font-size:30px">
_calcAdjustPoint<span class="signature">(rbush, point, rbushItem, cell)</span>
</span>
</h4>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>rbush</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
<tr class="deep-level-0">
<td class="name"><code>point</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
<tr class="deep-level-0">
<td class="name"><code>rbushItem</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
<tr class="deep-level-0">
<td class="name"><code>cell</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_calcRotateOffset">
<a class="href-link" href="#_calcRotateOffset">#</a>
<span class="code-name" style="font-size:30px">
_calcRotateOffset<span class="signature">()</span>
</span>
</h4>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_getAdjustPoint">
<a class="href-link" href="#_getAdjustPoint">#</a>
<span class="code-name" style="font-size:30px">
_getAdjustPoint<span class="signature">(p1, p2, cell)</span>
</span>
</h4>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>p1</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
<tr class="deep-level-0">
<td class="name"><code>p2</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
<tr class="deep-level-0">
<td class="name"><code>cell</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_getClippingAreaPx">
<a class="href-link" href="#_getClippingAreaPx">#</a>
<span class="code-name" style="font-size:30px">
_getClippingAreaPx<span class="signature">()</span>
</span>
</h4>
<div class="description">
<p>计算裁剪区几何对象并缓存</p>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='param-desc column is-7'><p>裁剪区几何对象</p></div>
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">Array.<Object></span>
|
<span class="param-type">null</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_getLevelValue">
<a class="href-link" href="#_getLevelValue">#</a>
<span class="code-name" style="font-size:30px">
_getLevelValue<span class="signature">(level)</span>
</span>
</h4>
<div class="description">
<p>获取level</p>
</div>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>level</code></td>
<td class="type">
<span class="param-type">Number</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">String</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_initCRS">
<a class="href-link" href="#_initCRS">#</a>
<span class="code-name" style="font-size:30px">
_initCRS<span class="signature">()</span>
</span>
</h4>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_isValidTile">
<a class="href-link" href="#_isValidTile">#</a>
<span class="code-name" style="font-size:30px">
_isValidTile<span class="signature">(coords)</span>
</span>
</h4>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>coords</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_isValidTileZoom">
<a class="href-link" href="#_isValidTileZoom">#</a>
<span class="code-name" style="font-size:30px">
_isValidTileZoom<span class="signature">(tileZoom)</span>
</span>
</h4>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>tileZoom</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_resetGrid">
<a class="href-link" href="#_resetGrid">#</a>
<span class="code-name" style="font-size:30px">
_resetGrid<span class="signature">()</span>
</span>
</h4>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_setZoomTransform">
<a class="href-link" href="#_setZoomTransform">#</a>
<span class="code-name" style="font-size:30px">
_setZoomTransform<span class="signature">(level, center, zoom)</span>
</span>
</h4>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>level</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
<tr class="deep-level-0">
<td class="name"><code>center</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
<tr class="deep-level-0">
<td class="name"><code>zoom</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"><p>地图的zoom</p></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_tileCoordsToBounds">
<a class="href-link" href="#_tileCoordsToBounds">#</a>
<span class="code-name" style="font-size:30px">
_tileCoordsToBounds<span class="signature">(coords)</span>
</span>
</h4>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>coords</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_tileCoordsToNwSe">
<a class="href-link" href="#_tileCoordsToNwSe">#</a>
<span class="code-name" style="font-size:30px">
_tileCoordsToNwSe<span class="signature">(coords)</span>
</span>
</h4>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>coords</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_toMapZoom">
<a class="href-link" href="#_toMapZoom">#</a>
<span class="code-name" style="font-size:30px">
_toMapZoom<span class="signature">(zoom)</span>
</span>
</h4>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>zoom</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_toTileZoom">
<a class="href-link" href="#_toTileZoom">#</a>
<span class="code-name" style="font-size:30px">
_toTileZoom<span class="signature">(zoom)</span>
</span>
</h4>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>zoom</code></td>
<td class="type">
<span class="param-type">*</span>
</td>
<td class="description last"></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_toTurfGeometry">
<a class="href-link" href="#_toTurfGeometry">#</a>
<span class="code-name" style="font-size:30px">
_toTurfGeometry<span class="signature">(geojson)</span>
</span>
</h4>
<div class="description">
<p>获取turf几何体</p>
</div>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>geojson</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="description last"><p>geojson对象</p></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='param-desc column is-7'><p>turf几何对象</p></div>
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">Array.<Geometry></span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="_updateLevels">
<a class="href-link" href="#_updateLevels">#</a>
<span class="code-name" style="font-size:30px">
_updateLevels<span class="signature">()</span>
</span>
</h4>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">*</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="buildRequestImageSrc">
<a class="href-link" href="#buildRequestImageSrc">#</a>
<span class="code-name" style="font-size:30px">
buildRequestImageSrc<span class="signature">()</span>
</span>
</h4>
<div class="description">
<p>构建图片Src地址</p>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='param-desc column is-7'><p>请求对象</p></div>
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">Promise</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="buildRequestImageSrc">
<a class="href-link" href="#buildRequestImageSrc">#</a>
<span class="code-name" style="font-size:30px">
buildRequestImageSrc<span class="signature">(url)</span>
</span>
</h4>
<div class="description">
<p>构建图片Src地址</p>
</div>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>url</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="description last"><p>服务基地址</p></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='param-desc column is-7'><p>请求对象</p></div>
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">Promise</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="buildRequestImageSrc">
<a class="href-link" href="#buildRequestImageSrc">#</a>
<span class="code-name" style="font-size:30px">
buildRequestImageSrc<span class="signature">(url, params)</span>
</span>
</h4>
<div class="description">
<p>构建图片Src地址</p>
</div>
<h4>参数:</h4>
<div class="table-container">
<table class="params table">
<thead>
<tr>
<th>名称</th>
<th>类型</th>
<th class="last">描述</th>
</tr>
</thead>
<tbody>
<tr class="deep-level-0">
<td class="name"><code>url</code></td>
<td class="type">
<span class="param-type">String</span>
</td>
<td class="description last"><p>服务基地址</p></td>
</tr>
<tr class="deep-level-0">
<td class="name"><code>params</code></td>
<td class="type">
<span class="param-type">Object</span>
</td>
<td class="description last"><p>需要请求地址后面拼接的参数</p></td>
</tr>
</tbody>
</table>
</div>
<dl class="details">
</dl>
<div class='columns method-parameter'>
<div class="column is-2"><label>返回值:</label></div>
<div class="column is-10">
<div class="columns">
<div class='param-desc column is-7'><p>请求对象</p></div>
<div class='column is-5 has-text-left'>
<label>类型: </label>
<span class="param-type">Promise</span>
</div>
</div>
</div>
</div>
</div>
<div class="member">
<h4 class="name" id="buildRequestImageSrc">
<a class="href-link" href="#buildRequestImageSrc">#</a>
<span class="code-name" style="font-size:30px">
buildRequestImageSrc<span class="signature">()</span>
</span>
</h4>
<div class="description">
<p>构建图片Src地址</p>
</div>
<dl class="details">