This commit is contained in:
@@ -490,16 +490,10 @@ export default {
|
||||
///////////////////////////////////////////////
|
||||
// Use geolocation api to attempt to get current location
|
||||
// try high accuracy first and downgrade if unavailable
|
||||
//
|
||||
|
||||
// function getCurrentLocation(options) {
|
||||
// return new Promise((resolve, reject) => {
|
||||
// navigator.geolocation.getCurrentPosition(resolve, ({code, message}) =>
|
||||
// reject(Object.assign(new Error(message), {name: "PositionError", code})),
|
||||
// options);
|
||||
// });
|
||||
// };
|
||||
|
||||
//https://www.openstreetmap.org/?mlat=48.3911&mlon=-124.7353#map=12/48.3910/-124.7353
|
||||
//https://www.openstreetmap.org/#map=18/49.68155/-125.00435
|
||||
//https://www.openstreetmap.org/?mlat=49.71236&mlon=-124.96961#map=17/49.71236/-124.96961
|
||||
//https://www.google.com/maps/search/?api=1&query=47.5951518,-122.3316393
|
||||
getGeoLocation: async function() {
|
||||
return new Promise((resolve, reject) => {
|
||||
navigator.geolocation.getCurrentPosition(
|
||||
|
||||
Reference in New Issue
Block a user