@hpcc-js/map 2.77.12 → 2.77.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es6.js +4 -4
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +8 -8
- package/src/__package__.ts +2 -2
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.js
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
var PKG_NAME = "@hpcc-js/map";
|
|
23
|
-
var PKG_VERSION = "2.77.
|
|
24
|
-
var BUILD_VERSION = "2.104.
|
|
23
|
+
var PKG_VERSION = "2.77.13";
|
|
24
|
+
var BUILD_VERSION = "2.104.35";
|
|
25
25
|
|
|
26
26
|
/******************************************************************************
|
|
27
27
|
Copyright (c) Microsoft Corporation.
|
|
@@ -6454,7 +6454,7 @@
|
|
|
6454
6454
|
};
|
|
6455
6455
|
GMap.prototype.createIcon = function (pinObj) {
|
|
6456
6456
|
return {
|
|
6457
|
-
path: "M 0,0 C -2,-20 -10,-22 -10,-30 A 10,10 0 1,1 10,-30 C 10,-22 2,-20 0,0 z M -2,-30",
|
|
6457
|
+
path: "M 0,0 C -2,-20 -10,-22 -10,-30 A 10,10 0 1,1 10,-30 C 10,-22 2,-20 0,0 z M -2,-30", // a 2,2 0 1,1 4,0 2,2 0 1,1",
|
|
6458
6458
|
fillColor: pinObj.fillColor,
|
|
6459
6459
|
fillOpacity: pinObj.fillOpacity || 0.8,
|
|
6460
6460
|
scale: 0.5,
|
|
@@ -6475,7 +6475,7 @@
|
|
|
6475
6475
|
circleObj.radius = circleObj.radius || 1;
|
|
6476
6476
|
return new exports.google.maps.Circle({
|
|
6477
6477
|
center: new exports.google.maps.LatLng(lat, lng),
|
|
6478
|
-
radius: 16093 * circleObj.radius / 10,
|
|
6478
|
+
radius: 16093 * circleObj.radius / 10, // 16093 === 10 miles in metres
|
|
6479
6479
|
fillColor: circleObj.fillColor || "red",
|
|
6480
6480
|
strokeColor: circleObj.strokeColor || circleObj.fillColor || "black",
|
|
6481
6481
|
strokeWeight: 0.5,
|