Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
export
function
toPixel(arr) {
2
return
new
AMap.Pixel(arr[0], arr[1]);
3
}
4
5
export
function
toLngLat(arr) {
6
return
new
AMap.LngLat(arr[0], arr[1]);
Callers
1
convertSignalProp
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected