diff --git a/loleaflet/src/layer/vector/CircleMarker.js b/loleaflet/src/layer/vector/CircleMarker.js index fd9a2e1fa..837471440 100644 --- a/loleaflet/src/layer/vector/CircleMarker.js +++ b/loleaflet/src/layer/vector/CircleMarker.js @@ -14,8 +14,6 @@ L.CircleMarker = L.Path.extend({ L.setOptions(this, options); this._latlng = L.latLng(latlng); this._radius = this.options.radius; - if (window.ThisIsAMobileApp) - this._radius *= 3; }, setLatLng: function (latlng) { @@ -30,8 +28,6 @@ L.CircleMarker = L.Path.extend({ setRadius: function (radius) { this.options.radius = this._radius = radius; - if (window.ThisIsAMobileApp) - this._radius *= 3; return this.redraw(); }, diff --git a/loleaflet/src/layer/vector/Path.Transform.js b/loleaflet/src/layer/vector/Path.Transform.js index 7ec3be6b6..47a32698e 100644 --- a/loleaflet/src/layer/vector/Path.Transform.js +++ b/loleaflet/src/layer/vector/Path.Transform.js @@ -550,7 +550,7 @@ L.Handler.PathTransform = L.Handler.extend({ L.PathTransform.pointOnLine( map.latLngToLayerPoint(bottom), map.latLngToLayerPoint(topPoint), - (window.ThisIsAMobileApp ? this.options.handleLength * 3 : this.options.handleLength)) + this.options.handleLength) ); this._handleLine = new L.Polyline([topPoint, handlerPosition],