new UnicodeMarker(latlng, options)
Usage
// 浏览器
<script type="text/javascript" src="https://iclient.supermap.io/dist/leaflet/iclient-leaflet.js"></script>
<script>
new L.supermap.UnicodeMarker(latlng, options);
// 弃用的写法
L.supermap.unicodeMarker(latlng, options);
</script>
// ES6 Import
import { UnicodeMarker } from '@supermapgis/iclient-leaflet';
new UnicodeMarker(latlng, options);
leaflet/overlay/UnicodeMarker.js, line 7
| Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
latlng |
L.LatLngBounds |
经纬度坐标。 |
||||||||||||||||||||||||||||||||||||||||
options |
Object |
参数。
|
Fires
Extends
Events
-
move
leaflet/overlay/UnicodeMarker.js, line 57 -
circle marker 重设坐标之后触发。
Properties:
Name Type Description latlngL.LatLng 当前 marker 坐标。