MCPcopy
hub / github.com/ElemeFE/vue-amap / toPixel

Function toPixel

src/lib/utils/convert-helper.js:1–3  ·  view source on GitHub ↗
(arr)

Source from the content-addressed store, hash-verified

1export function toPixel(arr) {
2 return new AMap.Pixel(arr[0], arr[1]);
3}
4
5export function toLngLat(arr) {
6 return new AMap.LngLat(arr[0], arr[1]);

Callers 1

convertSignalPropFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected