From ef9618a4bbc20e432ee119cb105a534a2f89e1ec Mon Sep 17 00:00:00 2001 From: Marat Fayzullin Date: Fri, 6 Oct 2023 23:16:49 -0400 Subject: [PATCH] Removed locator rectangle edges since they overlap. --- htdocs/lib/GoogleMaps.js | 2 +- htdocs/lib/Leaflet.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/lib/GoogleMaps.js b/htdocs/lib/GoogleMaps.js index 291625e3..ce2a6918 100644 --- a/htdocs/lib/GoogleMaps.js +++ b/htdocs/lib/GoogleMaps.js @@ -127,7 +127,7 @@ GSimpleMarker.prototype.setMarkerOptions = function(options) { function GLocator() { this.rect = new google.maps.Rectangle(); this.rect.setOptions({ - strokeWeight : 2, + strokeWeight : 0, strokeColor : "#FFFFFF", fillColor : "#FFFFFF" }); diff --git a/htdocs/lib/Leaflet.js b/htdocs/lib/Leaflet.js index 0336be7c..5b8d2021 100644 --- a/htdocs/lib/Leaflet.js +++ b/htdocs/lib/Leaflet.js @@ -76,7 +76,7 @@ function LSimpleMarker() { $.extend(this, new LMarker(), new AprsMarker()); } // function LLocator() { - this._rect = L.rectangle([[0,0], [1,1]], { color: '#FFFFFF', weight: 2, opacity: 1 }); + this._rect = L.rectangle([[0,0], [1,1]], { color: '#FFFFFF', weight: 0, opacity: 1 }); } LLocator.prototype = new Locator();