<!DOCTYPE html>
<html>
<head>
<title></title>
<meta charset="utf-8">
<link rel="stylesheet" href="../docs/docs/css/normalize.css" />
<link rel="stylesheet" href="../docs/docs/css/main.css" />
<link rel="stylesheet" href="../docs/docs/css/reference.css" />
<script src="../docs/docs/highlight/highlight.pack.js"></script>
<link rel="stylesheet" href="../docs/docs/highlight/styles/github-gist.css" />
<link rel="stylesheet" href="leaflet.css" />
<script src="leaflet.js"></script>
</head>
<body class='api-page'>
<div class='container'>
<!-- CUT HERE FOR docs/reference-*.html -->
<h2>Leaflet API reference</h2>
<div id="toc" class="clearfix">
<div class="toc-col map-col">
<h4>Map</h4>
<ul>
<li><a href="#map-example">Usage example</a></li>
<li><a href="#map-factory">Creation</a></li>
<li><a href="#map-option">Options</a></li>
<li><a href="#map-event">Events</a></li>
</ul>
<h4>Map Methods</h4>
<ul>
<li><a href="#map-methods-for-modifying-map-state">Modifying map state</a></li>
<li><a href="#map-methods-for-getting-map-state">Getting map state</a></li>
<li><a href="#map-methods-for-layers-and-controls">Layers and controls</a></li>
<li><a href="#map-conversion-methods">Conversion methods</a></li>
<li><a href="#map-other-methods">Other methods</a></li>
</ul>
<h4>Map Misc</h4>
<ul>
<li><a href="#map-property">Properties</a></li>
<li><a href="#map-pane">Panes</a></li>
</ul>
</div>
<div class="toc-col">
<h4>UI Layers</h4>
<ul>
<li><a href="#marker">Marker</a></li>
<li><a href="#popup">Popup</a></li>
<li><a href="#tooltip">Tooltip</a></li>
</ul>
<h4>Raster Layers</h4>
<ul>
<li><a href="#tilelayer">TileLayer</a></li>
<li><a href="#tilelayer-wms">TileLayer.WMS</a></li>
<li><a href="#imageoverlay">ImageOverlay</a></li>
<li><a href="#videooverlay">VideoOverlay</a></li>
</ul>
<h4>Vector Layers</h4>
<ul>
<li><a href="#path">Path</a></li>
<li><a href="#polyline">Polyline</a></li>
<li><a href="#polygon">Polygon</a></li>
<li><a href="#rectangle">Rectangle</a></li>
<li><a href="#circle">Circle</a></li>
<li><a href="#circlemarker">CircleMarker</a></li>
<li><a href="#svgoverlay">SVGOverlay</a></li>
<li><a href="#svg">SVG</a></li>
<li><a href="#canvas">Canvas</a></li>
</ul>
</div>
<div class="toc-col">
<h4>Other Layers</h4>
<ul>
<li><a href="#layergroup">LayerGroup</a></li>
<li><a href="#featuregroup">FeatureGroup</a></li>
<li><a href="#geojson">GeoJSON</a></li>
<li><a href="#gridlayer">GridLayer</a></li>
</ul>
<h4>Basic Types</h4>
<ul>
<li><a href="#latlng">LatLng</a></li>
<li><a href="#latlngbounds">LatLngBounds</a></li>
<li><a href="#point">Point</a></li>
<li><a href="#bounds">Bounds</a></li>
<li><a href="#icon">Icon</a></li>
<li><a href="#divicon">DivIcon</a></li>
</ul>
<h4>Controls</h4>
<ul>
<li><a href="#control-zoom">Zoom</a></li>
<li><a href="#control-attribution">Attribution</a></li>
<li><a href="#control-layers">Layers</a></li>
<li><a href="#control-scale">Scale</a></li>
</ul>
</div>
<div class="toc-col">
<!-- <h4>Shared Methods</h4> -->
<!-- <ul> -->
<!-- <li><a href="#evented">Event</a></li> -->
<!-- <li><a href="#layers">Layer</a></li> -->
<!-- <li><a href="#popup">Popup</a></li> -->
<!-- </ul> -->
<h4>Utility</h4>
<ul>
<li><a href="#browser">Browser</a></li>
<li><a href="#util">Util</a></li>
<li><a href="#transformation">Transformation</a></li>
<li><a href="#lineutil">LineUtil</a></li>
<li><a href="#polyutil">PolyUtil</a></li>
</ul>
<h4>DOM Utility</h4>
<ul>
<li><a href="#domevent">DomEvent</a></li>
<li><a href="#domutil">DomUtil</a></li>
<li><a href="#posanimation">PosAnimation</a></li>
<li><a href="#draggable">Draggable</a></li>
</ul>
</div>
<div class="toc-col last-col">
<h4>Base Classes</h4>
<ul>
<li><a href="#class">Class</a></li>
<li><a href="#evented">Evented</a></li>
<li><a href="#layer">Layer</a></li>
<li><a href="#interactive-layer">Interactive layer</a></li>
<li><a href="#control">Control</a></li>
<li><a href="#handler">Handler</a></li>
<!--<li><a class="nodocs" href="#">IFeature</a></li>-->
<li><a href="#projection">Projection</a></li>
<li><a href="#crs">CRS</a></li>
<li><a href="#renderer">Renderer</a></li>
</ul>
<h4>Misc</h4>
<ul>
<li><a href="#event-objects">Event objects</a></li>
<li><a href="#global-switches">global switches</a></li>
<li><a href="#noconflict">noConflict</a></li>
<li><a href="#version">version</a></li>
</ul>
</div>
</div>
<h2 id='map'>Map</h2><p>The central class of the API — it is used to create a map on a page and manipulate it.</p>
<section>
<h3 id='map-example'>Usage example</h3>
<section >
<pre><code class="lang-js">// initialize the map on the "map" div with a given center and zoom
var map = L.map('map', {
center: [51.505, -0.09],
zoom: 13
});
</code></pre>
</section>
</section><section>
<h3 id='map-factory'>Creation</h3>
<section >
<table><thead>
<tr>
<th>Factory</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr id='map-l-map'>
<td><code><b>L.map</b>(<nobr><String></nobr> <i>id</i>, <nobr><Map options></nobr> <i>options?</i>)</code></td>
<td>Instantiates a map object given the DOM ID of a <code><div></code> element
and optionally an object literal with <code>Map options</code>.</td>
</tr>
<tr id='map-l-map'>
<td><code><b>L.map</b>(<nobr><HTMLElement></nobr> <i>el</i>, <nobr><Map options></nobr> <i>options?</i>)</code></td>
<td>Instantiates a map object given an instance of a <code><div></code> HTML element
and optionally an object literal with <code>Map options</code>.</td>
</tr>
</tbody></table>
</section>
</section><section>
<h3 id='map-option'>Options</h3>
<section >
<table><thead>
<tr>
<th>Option</th>
<th>Type</th>
<th>Default</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr id='map-prefercanvas'>
<td><code><b>preferCanvas</b></code></td>
<td><code>Boolean</code></td>
<td><code>false</code></td>
<td>Whether <a href="#path"><code>Path</code></a>s should be rendered on a <a href="#canvas"><code>Canvas</code></a> renderer.
By default, all <code>Path</code>s are rendered in a <a href="#svg"><code>SVG</code></a> renderer.</td>
</tr>
</tbody></table>
</section><section class='collapsable'>
<h4 id='map-control-options'>Control options</h4>
<table><thead>
<tr>
<th>Option</th>
<th>Type</th>
<th>Default</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr id='map-attributioncontrol'>
<td><code><b>attributionControl</b></code></td>
<td><code>Boolean</code></td>
<td><code>true</code></td>
<td>Whether a <a href="#control-attribution">attribution control</a> is added to the map by default.</td>
</tr>
<tr id='map-zoomcontrol'>
<td><code><b>zoomControl</b></code></td>
<td><code>Boolean</code></td>
<td><code>true</code></td>
<td>Whether a <a href="#control-zoom">zoom control</a> is added to the map by default.</td>
</tr>
</tbody></table>
</section><section class='collapsable'>
<h4 id='map-interaction-options'>Interaction Options</h4>
<table><thead>
<tr>
<th>Option</th>
<th>Type</th>
<th>Default</th>
<th>Description</th>
</tr>
</thead><tbody>
<tr id='map-closepopuponclick'>
<td><code><b>closePopupOnClick</b></code></td>
<td><code>Boolean</code></td>
<td><code>true</code></td>
<td>Set it to <code>false</code> if you don't want popups to close when user clicks the map.</td>
</tr>
<tr id='map-zoomsnap'>
<td><code><b>zoomSnap</b></code></td>
<td><code>Number</code></td>
<td><code>1</code></td>
<td>Forces the map's zoom level to always be a multiple of this, particularly
right after a <a href="#map-fitbounds"><c
没有合适的资源?快使用搜索试试~ 我知道了~
企业级网站源码-机构业务推广展示单页面模板-响应式适配移动端.zip
共83个文件
css:34个
js:15个
jpg:14个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 98 浏览量
2024-03-20
10:08:56
上传
评论
收藏 3.05MB ZIP 举报
温馨提示
大学生朋友们,即将迈入职场的你,是否在寻找一份能够彰显你技术实力和个人品味的项目作品? 职场白领们,是否希望扩展你的数字足迹,构建专业形象以提升职业竞争力? 这套「企业级网站HTML源码」正是你们需要的黄金钥匙! 【为大学生】提供一个高水准的毕业设计或展示平台,让你在求职面试中脱颖而出。 【为职场人】迅速搭建个人品牌网站,展现你的专业知识和行业洞察力。 特点: 专业级设计,企业化风格,展现严肃的商业态度。 响应式布局,适配多种设备,随时随地保持专业形象。 灵活可定制,易于学习和修改,可随心所欲添加个人色彩。 优化代码和SEO友好结构,助你在网络世界中建立扎实的基础。 赋予自己互联网世界的优势,让这份企业级网站源码成为你实现梦想的起点。购买后,无需花费大量时间学习复杂的编程知识,就能快速拥有一个专业的在线门户。立即行动,把握机遇,让你的未来更加光明!
资源推荐
资源详情
资源评论
收起资源包目录
企业级网站源码-机构业务推广展示单页面模板-响应式适配移动端.zip (83个子文件)
企业级网站源码-机构业务推广展示单页面模板-响应式适配移动端
html
js
demo.js 1000B
theme.js 577B
js-cookie.js 4KB
leaflet.js 2KB
img
person-2.jpg 34KB
portfolio-1.jpg 40KB
template-mac.png 145KB
about.jpg 24KB
logo.png 616B
person-3.jpg 30KB
portfolio-5.jpg 212KB
portfolio-8.jpg 198KB
portfolio-3.jpg 31KB
portfolio-7.jpg 215KB
portfolio-6.jpg 74KB
portfolio-2.jpg 35KB
person-4.jpg 72KB
template-homepage.png 47KB
marker.png 2KB
person-1.jpg 57KB
startup-room.jpg 134KB
portfolio-4.jpg 24KB
css
style.red.min.css.map 485KB
style.pink.min.css.map 485KB
style.pink.min.css 172KB
style.violet.css 217KB
custom.css 25B
style.default.css 217KB
style.sea.min.css.map 485KB
style.sea.min.css 172KB
style.pink.css 217KB
style.default.min.css 172KB
style.sea.css 217KB
style.default.min.css.map 485KB
style.blue.css 217KB
style.green.min.css 172KB
style.red.min.css 172KB
style.red.css 217KB
style.green.css 217KB
style.blue.min.css 172KB
style.blue.min.css.map 485KB
style.green.min.css.map 485KB
style.violet.min.css 172KB
style.violet.min.css.map 485KB
vendor
glightbox
js
glightbox.min.js 55KB
glightbox.js 108KB
css
glightbox.css 17KB
glightbox.min.css 13KB
bootstrap
js
bootstrap.js 145KB
bootstrap.min.js 58KB
bootstrap.esm.js 136KB
bootstrap.bundle.min.js 76KB
bootstrap.bundle.js 205KB
bootstrap.esm.min.js 71KB
css
bootstrap.min.css 160KB
bootstrap-utilities.rtl.min.css 52KB
bootstrap-grid.css 71KB
bootstrap-utilities.rtl.css 70KB
bootstrap-utilities.css 70KB
bootstrap-reboot.rtl.css 7KB
bootstrap.rtl.min.css 160KB
bootstrap.css 201KB
bootstrap-reboot.css 7KB
bootstrap-reboot.rtl.min.css 6KB
bootstrap-utilities.min.css 52KB
bootstrap-grid.rtl.css 71KB
bootstrap-grid.rtl.min.css 52KB
bootstrap-grid.min.css 52KB
bootstrap-reboot.min.css 6KB
bootstrap.rtl.css 200KB
leaflet
reference-1.6.0.html 803KB
leaflet-src.js 421KB
leaflet.css 14KB
leaflet-src.esm.js 397KB
reference-1.6.0-newleafdoc.html 801KB
reference-1.6.0-oldleafdoc.html 803KB
images
layers.png 696B
marker-icon-2x.png 2KB
marker-icon.png 1KB
marker-shadow.png 618B
layers-2x.png 1KB
leaflet.js 139KB
index.html 22KB
共 83 条
- 1
资源评论
DTcode7
- 粉丝: 7553
- 资源: 4538
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功