Methods
-
L.Util.transform(feature, sourceCRS, targetCRS){GeoJSONObject}
leaflet/core/Transform.js, line 7 -
将要素转换为指定坐标。
Name Type Default Description featureL.Marker | L.CircleMarker | L.Polyline | L.Polygon | L.Rectangle | L.LatLngBounds | L.Bounds | Object 待转要素包括 Leaflet Vector Layers 的
L.Marker|L.CircleMarker|L.Polyline|L.Polygon|L.Rectangle|L.LatLngBounds|L.Bounds|GeoJSONObject类型。sourceCRSL.Proj.CRS L.CRS.EPSG4326 可选 要素转换源坐标系。
targetCRSL.Proj.CRS 要素转换目标坐标系。
Returns:
Type Description GeoJSONObject 返回 GeoJSON 规范数据类型。