@geoblocks/edittrack
Advanced tools
Comparing version 1.1.5 to 1.1.6
{ | ||
"name": "@geoblocks/edittrack", | ||
"version": "1.1.5", | ||
"version": "1.1.6", | ||
"description": "Geoblocks edittrack", | ||
@@ -43,7 +43,7 @@ "module": "src/index.js", | ||
"chai": "4.3.8", | ||
"eslint": "8.48.0", | ||
"eslint": "8.49.0", | ||
"eslint-config-openlayers": "18.0.0", | ||
"gh-pages": "6.0.0", | ||
"mocha": "10.2.0", | ||
"ol": "8.0.0", | ||
"ol": "8.1.0", | ||
"parcel": "2.9.3", | ||
@@ -50,0 +50,0 @@ "proj4": "2.9.0", |
@@ -25,6 +25,6 @@ import {toLonLat} from 'ol/proj.js'; | ||
/** | ||
* @private | ||
* @public | ||
* @type {string} | ||
*/ | ||
this.url_ = options.url; | ||
this.url = options.url; | ||
@@ -54,3 +54,3 @@ /** | ||
const response = await fetch(`${this.url_}&${coordinateString}`); | ||
const response = await fetch(`${this.url}&${coordinateString}`); | ||
const json = await response.json(); | ||
@@ -57,0 +57,0 @@ if (json.paths) { |
@@ -41,6 +41,6 @@ import {fromLonLat, toLonLat} from 'ol/proj.js'; | ||
/** | ||
* @private | ||
* @public | ||
* @type {string} | ||
*/ | ||
this.url_ = options.url; | ||
this.url = options.url; | ||
@@ -76,3 +76,3 @@ /** | ||
let url = `${this.url_}/${coordinateString}?radiuses=${radiuses}&geometries=geojson`; | ||
let url = `${this.url}/${coordinateString}?radiuses=${radiuses}&geometries=geojson`; | ||
if (this.extraParams_) { | ||
@@ -98,9 +98,2 @@ url += `&${this.extraParams_}`; | ||
} | ||
/** | ||
* @param {string} url | ||
*/ | ||
setUrl(url) { | ||
this.url_ = url; | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
74469
2051
45