MCPcopy Create free account
hub / github.com/RocketMap/RocketMap / getPointDistance

Function getPointDistance

static/js/map.js:1083–1085  ·  view source on GitHub ↗
(pointA, pointB)

Source from the content-addressed store, hash-verified

1081}
1082
1083function getPointDistance (pointA, pointB) {
1084 return google.maps.geometry.spherical.computeDistanceBetween(pointA, pointB)
1085}
1086
1087function sendNotification (title, text, icon, lat, lng) {
1088 if (!('Notification' in window)) {

Callers 1

map.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected