@hpcc-js/map 2.78.2 → 3.1.0
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.js +888 -31380
- package/dist/index.js.map +7 -1
- package/package.json +41 -40
- package/src/CanvasPinLayer.ts +2 -2
- package/src/CanvasPins.ts +12 -11
- package/src/Choropleth.ts +13 -5
- package/src/ChoroplethContinents.ts +1 -1
- package/src/ChoroplethCounties.ts +9 -7
- package/src/ChoroplethCountries.ts +2 -2
- package/src/ChoroplethStates.ts +1 -2
- package/src/ChoroplethStatesHeat.ts +1 -1
- package/src/GMap.ts +4 -3
- package/src/GMapCounties.ts +2 -2
- package/src/GMapGraph.ts +1 -1
- package/src/GMapHeat.ts +1 -1
- package/src/GMapLayered.ts +2 -2
- package/src/GMapPin.ts +2 -2
- package/src/GMapPinLine.ts +38 -25
- package/src/GeoHash.ts +31 -17
- package/src/Graph.ts +1 -1
- package/src/Graticule.ts +14 -7
- package/src/Heat.ts +13 -8
- package/src/Layer.ts +28 -19
- package/src/Layered.ts +1 -1
- package/src/Lines.ts +6 -3
- package/src/OpenStreet.ts +7 -4
- package/src/Pins.ts +75 -44
- package/src/Projection.ts +1 -1
- package/src/TestHeatMap.ts +1 -1
- package/src/TopoJSONChoropleth.ts +106 -95
- package/src/__package__.ts +2 -2
- package/src/index.ts +29 -30
- package/src/leaflet/AlbersPR.ts +3 -3
- package/src/leaflet/Blank.ts +1 -1
- package/src/leaflet/Circles.ts +2 -2
- package/src/leaflet/ClusterCircles.ts +2 -2
- package/src/leaflet/Countries.ts +2 -2
- package/src/leaflet/DrawLayer.ts +2 -2
- package/src/leaflet/FeatureLayer.ts +3 -3
- package/src/leaflet/GMap.ts +3 -3
- package/src/leaflet/HeatLayer.ts +2 -2
- package/src/leaflet/Icons.ts +2 -2
- package/src/leaflet/Leaflet.ts +10 -9
- package/src/leaflet/MapBox.ts +2 -2
- package/src/leaflet/Markers.ts +2 -2
- package/src/leaflet/OpenStreet.ts +2 -2
- package/src/leaflet/Path.ts +3 -3
- package/src/leaflet/Pins.ts +2 -2
- package/src/leaflet/Polygons.ts +2 -2
- package/src/leaflet/Region.ts +2 -2
- package/src/leaflet/Text.ts +2 -2
- package/src/leaflet/TileLayer.ts +1 -1
- package/src/leaflet/TopoJSON.ts +3 -3
- package/src/leaflet/US.ts +2 -2
- package/src/leaflet/USCounties.ts +2 -2
- package/src/leaflet/USStates.ts +2 -2
- package/src/leaflet/World.ts +8 -7
- package/src/leaflet/index.ts +18 -18
- package/src/leaflet/leaflet-shim.ts +19 -0
- package/src/leaflet/plugins/BeautifyIcon.css +44 -0
- package/src/leaflet/plugins/BeautifyIcon.ts +190 -0
- package/src/leaflet/plugins/BeutifyIcon.licence +21 -0
- package/src/leaflet/plugins/D3SvgOverlay.css +3 -0
- package/src/leaflet/plugins/D3SvgOverlay.licence +21 -0
- package/src/leaflet/plugins/D3SvgOverlay.ts +175 -0
- package/src/leaflet/plugins/HeatLayer.license +22 -0
- package/src/leaflet/plugins/HeatLayer.ts +224 -0
- package/src/leaflet/plugins/Leaflet.GoogleMutant.ts +425 -0
- package/src/leaflet/plugins/lru_map.ts +352 -0
- package/types/CanvasPinLayer.d.ts +1 -2
- package/types/CanvasPins.d.ts +10 -12
- package/types/Choropleth.d.ts +6 -6
- package/types/ChoroplethContinents.d.ts +1 -2
- package/types/ChoroplethCounties.d.ts +6 -8
- package/types/ChoroplethCountries.d.ts +1 -3
- package/types/ChoroplethStates.d.ts +1 -3
- package/types/ChoroplethStatesHeat.d.ts +1 -2
- package/types/GMap.d.ts +3 -4
- package/types/GMapCounties.d.ts +2 -3
- package/types/GMapGraph.d.ts +1 -2
- package/types/GMapHeat.d.ts +1 -2
- package/types/GMapLayered.d.ts +1 -2
- package/types/GMapPin.d.ts +1 -2
- package/types/GMapPinLine.d.ts +35 -56
- package/types/GeoHash.d.ts +23 -34
- package/types/Graph.d.ts +1 -2
- package/types/Graticule.d.ts +12 -17
- package/types/Heat.d.ts +12 -17
- package/types/IChoropleth.d.ts +0 -1
- package/types/Layer.d.ts +26 -40
- package/types/Layered.d.ts +0 -1
- package/types/Lines.d.ts +5 -6
- package/types/OpenStreet.d.ts +6 -7
- package/types/Pins.d.ts +64 -103
- package/types/Projection.d.ts +0 -1
- package/types/TopoJSONChoropleth.d.ts +15 -4
- package/types/Utility.d.ts +0 -1
- package/types/__package__.d.ts +2 -3
- package/types/index.d.ts +29 -31
- package/types/leaflet/AlbersPR.d.ts +2 -3
- package/types/leaflet/Blank.d.ts +1 -2
- package/types/leaflet/Circles.d.ts +2 -3
- package/types/leaflet/ClusterCircles.d.ts +2 -3
- package/types/leaflet/Countries.d.ts +1 -2
- package/types/leaflet/DrawLayer.d.ts +2 -3
- package/types/leaflet/FeatureLayer.d.ts +3 -4
- package/types/leaflet/GMap.d.ts +2 -3
- package/types/leaflet/HeatLayer.d.ts +2 -3
- package/types/leaflet/Icons.d.ts +2 -3
- package/types/leaflet/Leaflet.d.ts +9 -9
- package/types/leaflet/MapBox.d.ts +2 -3
- package/types/leaflet/Markers.d.ts +2 -3
- package/types/leaflet/OpenStreet.d.ts +2 -3
- package/types/leaflet/Path.d.ts +2 -3
- package/types/leaflet/Pins.d.ts +2 -3
- package/types/leaflet/Polygons.d.ts +2 -3
- package/types/leaflet/Region.d.ts +1 -2
- package/types/leaflet/Text.d.ts +2 -3
- package/types/leaflet/TileLayer.d.ts +1 -2
- package/types/leaflet/TopoJSON.d.ts +2 -3
- package/types/leaflet/US.d.ts +2 -3
- package/types/leaflet/USCounties.d.ts +1 -2
- package/types/leaflet/USStates.d.ts +1 -2
- package/types/leaflet/World.d.ts +5 -8
- package/types/leaflet/index.d.ts +18 -19
- package/types/leaflet/leaflet-shim.d.ts +14 -0
- package/types/leaflet/plugins/BeautifyIcon.d.ts +2 -0
- package/types/leaflet/plugins/D3SvgOverlay.d.ts +36 -0
- package/types/leaflet/plugins/HeatLayer.d.ts +23 -0
- package/types/leaflet/plugins/Leaflet.GoogleMutant.d.ts +1 -0
- package/types/leaflet/plugins/lru_map.d.ts +33 -0
- package/TopoJSON/AT.json +0 -1
- package/TopoJSON/BE.json +0 -1
- package/TopoJSON/BG.json +0 -1
- package/TopoJSON/BR.json +0 -123
- package/TopoJSON/CHLI.json +0 -1
- package/TopoJSON/CY.json +0 -1
- package/TopoJSON/CZ.json +0 -1
- package/TopoJSON/DE.json +0 -1
- package/TopoJSON/DK.json +0 -1
- package/TopoJSON/EE.json +0 -1
- package/TopoJSON/ES.json +0 -1
- package/TopoJSON/FI.json +0 -1
- package/TopoJSON/FR.json +0 -1
- package/TopoJSON/GB.json +0 -1
- package/TopoJSON/GB_idx.json +0 -1
- package/TopoJSON/GE.json +0 -1
- package/TopoJSON/GR.json +0 -1
- package/TopoJSON/HR.json +0 -1
- package/TopoJSON/HU.json +0 -1
- package/TopoJSON/IE.json +0 -1
- package/TopoJSON/IE_idx.json +0 -1
- package/TopoJSON/IS.json +0 -1
- package/TopoJSON/IT.json +0 -1
- package/TopoJSON/KS.json +0 -1
- package/TopoJSON/LT.json +0 -1
- package/TopoJSON/LU.json +0 -1
- package/TopoJSON/LV.json +0 -1
- package/TopoJSON/MD.json +0 -1
- package/TopoJSON/MK.json +0 -1
- package/TopoJSON/MT.json +0 -1
- package/TopoJSON/ND.json +0 -1
- package/TopoJSON/ND_idx.json +0 -1
- package/TopoJSON/NL.json +0 -1
- package/TopoJSON/NO.json +0 -1
- package/TopoJSON/PL.json +0 -1
- package/TopoJSON/PT.json +0 -1
- package/TopoJSON/RO.json +0 -1
- package/TopoJSON/RS.json +0 -1
- package/TopoJSON/SE.json +0 -1
- package/TopoJSON/SI.json +0 -1
- package/TopoJSON/SK.json +0 -1
- package/TopoJSON/UA.json +0 -1
- package/TopoJSON/countries.json +0 -257
- package/TopoJSON/us-counties.json +0 -16550
- package/TopoJSON/us-states.json +0 -458
- package/dist/index.es6.js +0 -31436
- package/dist/index.es6.js.map +0 -1
- package/dist/index.min.js +0 -7
- package/dist/index.min.js.map +0 -1
- package/types/CanvasPinLayer.d.ts.map +0 -1
- package/types/CanvasPins.d.ts.map +0 -1
- package/types/Choropleth.d.ts.map +0 -1
- package/types/ChoroplethContinents.d.ts.map +0 -1
- package/types/ChoroplethCounties.d.ts.map +0 -1
- package/types/ChoroplethCountries.d.ts.map +0 -1
- package/types/ChoroplethStates.d.ts.map +0 -1
- package/types/ChoroplethStatesHeat.d.ts.map +0 -1
- package/types/GMap.d.ts.map +0 -1
- package/types/GMapCounties.d.ts.map +0 -1
- package/types/GMapGraph.d.ts.map +0 -1
- package/types/GMapHeat.d.ts.map +0 -1
- package/types/GMapLayered.d.ts.map +0 -1
- package/types/GMapPin.d.ts.map +0 -1
- package/types/GMapPinLine.d.ts.map +0 -1
- package/types/GeoHash.d.ts.map +0 -1
- package/types/Graph.d.ts.map +0 -1
- package/types/Graticule.d.ts.map +0 -1
- package/types/Heat.d.ts.map +0 -1
- package/types/IChoropleth.d.ts.map +0 -1
- package/types/Layer.d.ts.map +0 -1
- package/types/Layered.d.ts.map +0 -1
- package/types/Lines.d.ts.map +0 -1
- package/types/OpenStreet.d.ts.map +0 -1
- package/types/Pins.d.ts.map +0 -1
- package/types/Projection.d.ts.map +0 -1
- package/types/TestHeatMap.d.ts +0 -5
- package/types/TestHeatMap.d.ts.map +0 -1
- package/types/TopoJSONChoropleth.d.ts.map +0 -1
- package/types/Utility.d.ts.map +0 -1
- package/types/__package__.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
- package/types/leaflet/AlbersPR.d.ts.map +0 -1
- package/types/leaflet/Blank.d.ts.map +0 -1
- package/types/leaflet/Circles.d.ts.map +0 -1
- package/types/leaflet/ClusterCircles.d.ts.map +0 -1
- package/types/leaflet/Countries.d.ts.map +0 -1
- package/types/leaflet/DrawLayer.d.ts.map +0 -1
- package/types/leaflet/FeatureLayer.d.ts.map +0 -1
- package/types/leaflet/GMap.d.ts.map +0 -1
- package/types/leaflet/HeatLayer.d.ts.map +0 -1
- package/types/leaflet/Icons.d.ts.map +0 -1
- package/types/leaflet/Leaflet.d.ts.map +0 -1
- package/types/leaflet/MapBox.d.ts.map +0 -1
- package/types/leaflet/Markers.d.ts.map +0 -1
- package/types/leaflet/OpenStreet.d.ts.map +0 -1
- package/types/leaflet/Path.d.ts.map +0 -1
- package/types/leaflet/Pins.d.ts.map +0 -1
- package/types/leaflet/Polygons.d.ts.map +0 -1
- package/types/leaflet/Region.d.ts.map +0 -1
- package/types/leaflet/Text.d.ts.map +0 -1
- package/types/leaflet/TileLayer.d.ts.map +0 -1
- package/types/leaflet/TopoJSON.d.ts.map +0 -1
- package/types/leaflet/US.d.ts.map +0 -1
- package/types/leaflet/USCounties.d.ts.map +0 -1
- package/types/leaflet/USStates.d.ts.map +0 -1
- package/types/leaflet/World.d.ts.map +0 -1
- package/types/leaflet/index.d.ts.map +0 -1
- package/types/test.d.ts +0 -24
- package/types/test.d.ts.map +0 -1
- package/types-3.4/CanvasPinLayer.d.ts +0 -23
- package/types-3.4/CanvasPins.d.ts +0 -72
- package/types-3.4/Choropleth.d.ts +0 -59
- package/types-3.4/ChoroplethContinents.d.ts +0 -6
- package/types-3.4/ChoroplethCounties.d.ts +0 -17
- package/types-3.4/ChoroplethCountries.d.ts +0 -12
- package/types-3.4/ChoroplethStates.d.ts +0 -12
- package/types-3.4/ChoroplethStatesHeat.d.ts +0 -5
- package/types-3.4/GMap.d.ts +0 -137
- package/types-3.4/GMapCounties.d.ts +0 -23
- package/types-3.4/GMapGraph.d.ts +0 -6
- package/types-3.4/GMapHeat.d.ts +0 -6
- package/types-3.4/GMapLayered.d.ts +0 -20
- package/types-3.4/GMapPin.d.ts +0 -33
- package/types-3.4/GMapPinLine.d.ts +0 -72
- package/types-3.4/GeoHash.d.ts +0 -48
- package/types-3.4/Graph.d.ts +0 -14
- package/types-3.4/Graticule.d.ts +0 -30
- package/types-3.4/Heat.d.ts +0 -28
- package/types-3.4/IChoropleth.d.ts +0 -2
- package/types-3.4/Layer.d.ts +0 -58
- package/types-3.4/Layered.d.ts +0 -47
- package/types-3.4/Lines.d.ts +0 -17
- package/types-3.4/OpenStreet.d.ts +0 -22
- package/types-3.4/Pins.d.ts +0 -122
- package/types-3.4/Projection.d.ts +0 -6
- package/types-3.4/TestHeatMap.d.ts +0 -5
- package/types-3.4/TopoJSONChoropleth.d.ts +0 -5
- package/types-3.4/Utility.d.ts +0 -80
- package/types-3.4/__package__.d.ts +0 -4
- package/types-3.4/index.d.ts +0 -32
- package/types-3.4/leaflet/AlbersPR.d.ts +0 -16
- package/types-3.4/leaflet/Blank.d.ts +0 -5
- package/types-3.4/leaflet/Circles.d.ts +0 -56
- package/types-3.4/leaflet/ClusterCircles.d.ts +0 -30
- package/types-3.4/leaflet/Countries.d.ts +0 -7
- package/types-3.4/leaflet/DrawLayer.d.ts +0 -40
- package/types-3.4/leaflet/FeatureLayer.d.ts +0 -40
- package/types-3.4/leaflet/GMap.d.ts +0 -14
- package/types-3.4/leaflet/HeatLayer.d.ts +0 -32
- package/types-3.4/leaflet/Icons.d.ts +0 -26
- package/types-3.4/leaflet/Leaflet.d.ts +0 -53
- package/types-3.4/leaflet/MapBox.d.ts +0 -9
- package/types-3.4/leaflet/Markers.d.ts +0 -38
- package/types-3.4/leaflet/OpenStreet.d.ts +0 -9
- package/types-3.4/leaflet/Path.d.ts +0 -43
- package/types-3.4/leaflet/Pins.d.ts +0 -32
- package/types-3.4/leaflet/Polygons.d.ts +0 -36
- package/types-3.4/leaflet/Region.d.ts +0 -15
- package/types-3.4/leaflet/Text.d.ts +0 -41
- package/types-3.4/leaflet/TileLayer.d.ts +0 -33
- package/types-3.4/leaflet/TopoJSON.d.ts +0 -14
- package/types-3.4/leaflet/US.d.ts +0 -7
- package/types-3.4/leaflet/USCounties.d.ts +0 -6
- package/types-3.4/leaflet/USStates.d.ts +0 -6
- package/types-3.4/leaflet/World.d.ts +0 -59
- package/types-3.4/leaflet/index.d.ts +0 -19
- package/types-3.4/test.d.ts +0 -24
package/package.json
CHANGED
|
@@ -1,54 +1,52 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hpcc-js/map",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "hpcc-js - Viz Map",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
"*": [
|
|
13
|
-
"types-3.4/index.d.ts"
|
|
14
|
-
]
|
|
15
|
-
}
|
|
5
|
+
"type": "module",
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"types": "./types/index.d.ts",
|
|
9
|
+
"default": "./dist/index.js"
|
|
10
|
+
},
|
|
11
|
+
"./dist/*": "./dist/*"
|
|
16
12
|
},
|
|
13
|
+
"module": "./dist/index.js",
|
|
14
|
+
"browser": "./dist/index.js",
|
|
15
|
+
"types": "./types/index.d.ts",
|
|
17
16
|
"files": [
|
|
18
17
|
"dist/*",
|
|
19
|
-
"
|
|
20
|
-
"types
|
|
21
|
-
"TopoJSON/*",
|
|
22
|
-
"src/*"
|
|
18
|
+
"src/*",
|
|
19
|
+
"types/*"
|
|
23
20
|
],
|
|
24
21
|
"scripts": {
|
|
25
|
-
"clean": "rimraf --glob lib* types dist *.tsbuildinfo",
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"bundle-watch": "npm run bundle -- -w",
|
|
32
|
-
"minimize": "terser dist/index.js -c -m --source-map \"content='dist/index.js.map',url='index.min.js.map'\" -o dist/index.min.js",
|
|
33
|
-
"gen-legacy-types": "downlevel-dts ./types ./types-3.4",
|
|
34
|
-
"build": "npm run compile-es6 && npm run bundle",
|
|
35
|
-
"watch": "npm-run-all compile-es6 -p compile-es6-watch bundle-watch",
|
|
36
|
-
"stamp": "node ../../node_modules/@hpcc-js/bundle/src/stamp.js",
|
|
22
|
+
"clean": "rimraf --glob lib* types dist *.tsbuildinfo .turbo",
|
|
23
|
+
"bundle": "node esbuild.js",
|
|
24
|
+
"bundle-watch": "npm run bundle -- --development --watch",
|
|
25
|
+
"gen-types": "tsc --project tsconfig.json",
|
|
26
|
+
"gen-types-watch": "npm run gen-types -- --watch",
|
|
27
|
+
"build": "run-p gen-types bundle",
|
|
37
28
|
"lint": "eslint ./src",
|
|
29
|
+
"lint-fix": "eslint --fix src/**/*.ts",
|
|
38
30
|
"docs": "typedoc --options tdoptions.json .",
|
|
39
|
-
"
|
|
31
|
+
"test-browser": "vitest run --project browser",
|
|
32
|
+
"test": "vitest run",
|
|
33
|
+
"coverage": "vitest run --coverage",
|
|
34
|
+
"update": "npx --yes npm-check-updates -u -t minor",
|
|
35
|
+
"update-major": "npx --yes npm-check-updates -u"
|
|
40
36
|
},
|
|
41
37
|
"dependencies": {
|
|
42
|
-
"@hpcc-js/api": "^2.
|
|
43
|
-
"@hpcc-js/common": "^2.
|
|
44
|
-
"@hpcc-js/graph": "^
|
|
45
|
-
"@hpcc-js/layout": "^
|
|
46
|
-
"@hpcc-js/
|
|
47
|
-
"@hpcc-js/
|
|
48
|
-
"@hpcc-js/util": "^2.52.0"
|
|
38
|
+
"@hpcc-js/api": "^3.2.0",
|
|
39
|
+
"@hpcc-js/common": "^3.2.0",
|
|
40
|
+
"@hpcc-js/graph": "^3.1.0",
|
|
41
|
+
"@hpcc-js/layout": "^3.1.0",
|
|
42
|
+
"@hpcc-js/other": "^3.1.0",
|
|
43
|
+
"@hpcc-js/util": "^3.2.0"
|
|
49
44
|
},
|
|
50
45
|
"devDependencies": {
|
|
51
|
-
"@hpcc-js/
|
|
46
|
+
"@hpcc-js/esbuild-plugins": "^1.3.0",
|
|
47
|
+
"@types/leaflet-draw": "1.0.11",
|
|
48
|
+
"@types/leaflet.heat": "0.2.4",
|
|
49
|
+
"@types/leaflet.markercluster": "1.5.4",
|
|
52
50
|
"d3-collection": "^1",
|
|
53
51
|
"d3-color": "3.1.0",
|
|
54
52
|
"d3-format": "^1",
|
|
@@ -58,8 +56,11 @@
|
|
|
58
56
|
"d3-selection": "^1",
|
|
59
57
|
"d3-tile": "^1",
|
|
60
58
|
"google-maps": "3.3.0",
|
|
61
|
-
"
|
|
62
|
-
"
|
|
59
|
+
"leaflet-draw": "1.0.4",
|
|
60
|
+
"leaflet.heat": "0.2.0",
|
|
61
|
+
"leaflet.markercluster": "1.5.3",
|
|
62
|
+
"simpleheat": "0.4.0",
|
|
63
|
+
"topojson-client": "3.1.0"
|
|
63
64
|
},
|
|
64
65
|
"repository": {
|
|
65
66
|
"type": "git",
|
|
@@ -72,5 +73,5 @@
|
|
|
72
73
|
"url": "https://github.com/hpcc-systems/Visualization/issues"
|
|
73
74
|
},
|
|
74
75
|
"homepage": "https://github.com/hpcc-systems/Visualization",
|
|
75
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "658c50fd965a7744ba8db675ba6878607c44d5e2"
|
|
76
77
|
}
|
package/src/CanvasPinLayer.ts
CHANGED
package/src/CanvasPins.ts
CHANGED
|
@@ -64,7 +64,6 @@ class Quadtree {
|
|
|
64
64
|
}
|
|
65
65
|
|
|
66
66
|
export class CanvasPins extends CanvasWidget {
|
|
67
|
-
_ctx;
|
|
68
67
|
_quadtree_rect_arr;
|
|
69
68
|
_drawData;
|
|
70
69
|
_overlap_count = 0;
|
|
@@ -328,6 +327,9 @@ CanvasPins.prototype._class += " map_CanvasPins";
|
|
|
328
327
|
export interface CanvasPins {
|
|
329
328
|
clusterMode(): any;
|
|
330
329
|
clusterMode(_: any): CanvasPins;
|
|
330
|
+
gridCellSize(): number;
|
|
331
|
+
gridCellSize(_: number): CanvasPins;
|
|
332
|
+
|
|
331
333
|
allCircles(): boolean;
|
|
332
334
|
allCircles(_: boolean): CanvasPins;
|
|
333
335
|
showQuadtree(): boolean;
|
|
@@ -344,20 +346,19 @@ export interface CanvasPins {
|
|
|
344
346
|
enableClustering(_: boolean): CanvasPins;
|
|
345
347
|
searchRectMult(): number;
|
|
346
348
|
searchRectMult(_: number): CanvasPins;
|
|
347
|
-
gridCellSize(): number;
|
|
348
|
-
gridCellSize(_: number): CanvasPins;
|
|
349
|
-
arrowHeight(): number;
|
|
350
|
-
arrowHeight(_: number): CanvasPins;
|
|
351
|
-
arrowWidth(): number;
|
|
352
|
-
arrowWidth(_: number): CanvasPins;
|
|
353
349
|
bottomRightX(): number;
|
|
354
350
|
bottomRightX(_: number): CanvasPins;
|
|
351
|
+
bottomRightX_exists(): boolean;
|
|
355
352
|
bottomRightY(): number;
|
|
356
353
|
bottomRightY(_: number): CanvasPins;
|
|
354
|
+
bottomRightY_exists(): boolean;
|
|
357
355
|
topLeftX(): number;
|
|
358
356
|
topLeftX(_: number): CanvasPins;
|
|
357
|
+
topLeftX_exists(): boolean;
|
|
359
358
|
topLeftY(): number;
|
|
360
359
|
topLeftY(_: number): CanvasPins;
|
|
360
|
+
topLeftY_exists(): boolean;
|
|
361
|
+
|
|
361
362
|
pinHeight(): number;
|
|
362
363
|
pinHeight(_: number): CanvasPins;
|
|
363
364
|
pinWidth(): number;
|
|
@@ -366,10 +367,10 @@ export interface CanvasPins {
|
|
|
366
367
|
pinFontFamily(_: string): CanvasPins;
|
|
367
368
|
pinFontSize(): number;
|
|
368
369
|
pinFontSize(_: number): CanvasPins;
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
370
|
+
arrowHeight(): number;
|
|
371
|
+
arrowHeight(_: number): CanvasPins;
|
|
372
|
+
arrowWidth(): number;
|
|
373
|
+
arrowWidth(_: number): CanvasPins;
|
|
373
374
|
}
|
|
374
375
|
|
|
375
376
|
CanvasPins.prototype.publish("clusterMode", "default", "set", "clusterMode", ["defualt", "grid"], { tags: ["Basic"], optional: true });
|
package/src/Choropleth.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Palette, Utility } from "@hpcc-js/common";
|
|
2
2
|
import { select as d3Select } from "d3-selection";
|
|
3
3
|
import * as topojson from "topojson-client";
|
|
4
|
-
import { Layer } from "./Layer";
|
|
4
|
+
import { Layer } from "./Layer.ts";
|
|
5
5
|
|
|
6
6
|
import "../src/Choropleth.css";
|
|
7
7
|
|
|
@@ -18,7 +18,7 @@ export function topoJsonFolder(_?: string): string {
|
|
|
18
18
|
export class Choropleth extends Layer {
|
|
19
19
|
_dataMap = {};
|
|
20
20
|
_path: any = d3Select(null);
|
|
21
|
-
|
|
21
|
+
|
|
22
22
|
_dataMinWeight;
|
|
23
23
|
_dataMaxWeight;
|
|
24
24
|
_choroplethData;
|
|
@@ -157,18 +157,23 @@ Choropleth.prototype.mixin(Utility.SimpleSelectionMixin);
|
|
|
157
157
|
Choropleth.prototype._palette = Palette.rainbow("default");
|
|
158
158
|
|
|
159
159
|
export interface Choropleth {
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
160
|
+
_palette;
|
|
161
|
+
|
|
162
|
+
// SimpleSelectionMixin ---
|
|
163
|
+
_selection;
|
|
164
|
+
|
|
165
|
+
// Properties ---
|
|
163
166
|
paletteID(): string;
|
|
164
167
|
paletteID(_: string): this;
|
|
165
168
|
paletteID_exists(): boolean;
|
|
166
169
|
useClonedPalette(): boolean;
|
|
167
170
|
useClonedPalette(_: boolean): this;
|
|
168
171
|
useClonedPalette_exists(): boolean;
|
|
172
|
+
|
|
169
173
|
opacity(): number;
|
|
170
174
|
opacity(_: number): this;
|
|
171
175
|
opacity_exists(): boolean;
|
|
176
|
+
|
|
172
177
|
meshVisible(): boolean;
|
|
173
178
|
meshVisible(_: boolean): this;
|
|
174
179
|
meshVisible_exists(): boolean;
|
|
@@ -181,6 +186,9 @@ export interface Choropleth {
|
|
|
181
186
|
internalOnly(): boolean;
|
|
182
187
|
internalOnly(_: boolean): this;
|
|
183
188
|
internalOnly_exists(): boolean;
|
|
189
|
+
autoScaleMode(): string;
|
|
190
|
+
autoScaleMode(_: string): this;
|
|
191
|
+
autoScaleMode_exists(): boolean;
|
|
184
192
|
}
|
|
185
193
|
|
|
186
194
|
Choropleth.prototype.publish("paletteID", "YlOrRd", "set", "Color palette for this widget", Choropleth.prototype._palette.switch(), { tags: ["Basic", "Shared"] });
|
|
@@ -2,7 +2,7 @@ import { InputField } from "@hpcc-js/common";
|
|
|
2
2
|
import { json as d3Json } from "d3-request";
|
|
3
3
|
import { select as d3Select } from "d3-selection";
|
|
4
4
|
import * as topojson from "topojson-client";
|
|
5
|
-
import { Choropleth, topoJsonFolder } from "./Choropleth";
|
|
5
|
+
import { Choropleth, topoJsonFolder } from "./Choropleth.ts";
|
|
6
6
|
|
|
7
7
|
let usCounties = null;
|
|
8
8
|
let features = null;
|
|
@@ -17,7 +17,6 @@ export class ChoroplethCounties extends Choropleth {
|
|
|
17
17
|
type: "number"
|
|
18
18
|
}];
|
|
19
19
|
|
|
20
|
-
_selection;
|
|
21
20
|
choroPaths;
|
|
22
21
|
|
|
23
22
|
constructor() {
|
|
@@ -65,9 +64,9 @@ export class ChoroplethCounties extends Choropleth {
|
|
|
65
64
|
.on("mousemove.tooltip", this.tooltip.show)
|
|
66
65
|
.merge(this.choroPaths)
|
|
67
66
|
.attr("d", function (d) {
|
|
68
|
-
const retVal = base._d3GeoPath(rFeatures[d
|
|
67
|
+
const retVal = base._d3GeoPath(rFeatures[d.county]);
|
|
69
68
|
if (!retVal) {
|
|
70
|
-
console.warn("Unknown US County: " + d
|
|
69
|
+
console.warn("Unknown US County: " + d.county, d);
|
|
71
70
|
}
|
|
72
71
|
return retVal;
|
|
73
72
|
})
|
|
@@ -100,10 +99,13 @@ export class ChoroplethCounties extends Choropleth {
|
|
|
100
99
|
}
|
|
101
100
|
return this._topoJsonPromise;
|
|
102
101
|
}
|
|
103
|
-
|
|
104
|
-
onClickFormatFIPS: { (): boolean; (_: boolean): ChoroplethCounties };
|
|
105
|
-
onClickFormatFIPS_exists: () => boolean;
|
|
106
102
|
}
|
|
107
103
|
ChoroplethCounties.prototype._class += " map_ChoroplethCounties";
|
|
108
104
|
|
|
105
|
+
export interface ChoroplethCounties {
|
|
106
|
+
onClickFormatFIPS(): boolean;
|
|
107
|
+
onClickFormatFIPS(_: boolean): this;
|
|
108
|
+
onClickFormatFIPS_exists(): boolean;
|
|
109
|
+
}
|
|
110
|
+
|
|
109
111
|
ChoroplethCounties.prototype.publish("onClickFormatFIPS", false, "boolean", "format FIPS code as a String on Click");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { json as d3Json } from "d3-request";
|
|
2
2
|
import { select as d3Select } from "d3-selection";
|
|
3
3
|
import * as topojson from "topojson-client";
|
|
4
|
-
import { Choropleth, topoJsonFolder } from "./Choropleth";
|
|
4
|
+
import { Choropleth, topoJsonFolder } from "./Choropleth.ts";
|
|
5
5
|
|
|
6
6
|
let countries = null;
|
|
7
7
|
let features = null;
|
|
@@ -10,7 +10,6 @@ let rFeatures = null;
|
|
|
10
10
|
export class ChoroplethCountries extends Choropleth {
|
|
11
11
|
_choroTopologyObjectsCountries;
|
|
12
12
|
_choroTopologyObjectsLand;
|
|
13
|
-
_selection;
|
|
14
13
|
choroPaths;
|
|
15
14
|
|
|
16
15
|
constructor() {
|
|
@@ -98,3 +97,4 @@ export class ChoroplethCountries extends Choropleth {
|
|
|
98
97
|
}
|
|
99
98
|
}
|
|
100
99
|
ChoroplethCountries.prototype._class += " map_ChoroplethCountries";
|
|
100
|
+
|
package/src/ChoroplethStates.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { InputField } from "@hpcc-js/common";
|
|
|
2
2
|
import { json as d3Json } from "d3-request";
|
|
3
3
|
import { select as d3Select } from "d3-selection";
|
|
4
4
|
import * as topojson from "topojson-client";
|
|
5
|
-
import { Choropleth, topoJsonFolder } from "./Choropleth";
|
|
5
|
+
import { Choropleth, topoJsonFolder } from "./Choropleth.ts";
|
|
6
6
|
|
|
7
7
|
let usStates = null;
|
|
8
8
|
let features = null;
|
|
@@ -17,7 +17,6 @@ export class ChoroplethStates extends Choropleth {
|
|
|
17
17
|
type: "number"
|
|
18
18
|
}];
|
|
19
19
|
|
|
20
|
-
_selection;
|
|
21
20
|
choroPaths;
|
|
22
21
|
|
|
23
22
|
constructor() {
|
package/src/GMap.ts
CHANGED
|
@@ -845,15 +845,16 @@ export interface GMap {
|
|
|
845
845
|
drawingState(): string;
|
|
846
846
|
drawingState(_: string): this;
|
|
847
847
|
drawingState_exists(): boolean;
|
|
848
|
-
googleMapStyles(): object;
|
|
849
|
-
googleMapStyles(_: object): this;
|
|
850
|
-
googleMapStyles_exists(): boolean;
|
|
851
848
|
useComputedHeading(): boolean;
|
|
852
849
|
useComputedHeading(_: boolean): this;
|
|
853
850
|
showStreetViewMarker(): boolean;
|
|
854
851
|
showStreetViewMarker(_: boolean): this;
|
|
855
852
|
outdoorStreetViewOnly(): boolean;
|
|
856
853
|
outdoorStreetViewOnly(_: boolean): this;
|
|
854
|
+
|
|
855
|
+
googleMapStyles(): object;
|
|
856
|
+
googleMapStyles(_: object): this;
|
|
857
|
+
googleMapStyles_exists(): boolean;
|
|
857
858
|
}
|
|
858
859
|
|
|
859
860
|
GMap.prototype.publish("outdoorStreetViewOnly", false, "boolean", "If true, streetView will only display outdoor locations");
|
package/src/GMapCounties.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Widget } from "@hpcc-js/common";
|
|
2
|
-
import { ChoroplethCounties } from "./ChoroplethCounties";
|
|
3
|
-
import { GMapLayered } from "./GMapLayered";
|
|
2
|
+
import { ChoroplethCounties } from "./ChoroplethCounties.ts";
|
|
3
|
+
import { GMapLayered } from "./GMapLayered.ts";
|
|
4
4
|
|
|
5
5
|
export class GMapCounties extends GMapLayered {
|
|
6
6
|
_counties: ChoroplethCounties;
|
package/src/GMapGraph.ts
CHANGED
package/src/GMapHeat.ts
CHANGED
package/src/GMapLayered.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Widget } from "@hpcc-js/common";
|
|
2
2
|
import { AbsoluteSurface } from "@hpcc-js/layout";
|
|
3
|
-
import { GMap, google } from "./GMap";
|
|
4
|
-
import { Layered } from "./Layered";
|
|
3
|
+
import { GMap, google } from "./GMap.ts";
|
|
4
|
+
import { Layered } from "./Layered.ts";
|
|
5
5
|
|
|
6
6
|
const zoomFactor = 1 / (1 << 4);
|
|
7
7
|
|
package/src/GMapPin.ts
CHANGED
package/src/GMapPinLine.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GMapLayered } from "./GMapLayered";
|
|
2
|
-
import { Lines } from "./Lines";
|
|
3
|
-
import { Pins } from "./Pins";
|
|
1
|
+
import { GMapLayered } from "./GMapLayered.ts";
|
|
2
|
+
import { Lines } from "./Lines.ts";
|
|
3
|
+
import { Pins } from "./Pins.ts";
|
|
4
4
|
|
|
5
5
|
export class GMapPinLine extends GMapLayered {
|
|
6
6
|
_lines;
|
|
@@ -85,31 +85,44 @@ export class GMapPinLine extends GMapLayered {
|
|
|
85
85
|
|
|
86
86
|
dblclick(row, column, selected) {
|
|
87
87
|
}
|
|
88
|
+
}
|
|
89
|
+
GMapPinLine.prototype._class += " map_GMapPinLine";
|
|
88
90
|
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
toColorColumn_exists: () => boolean;
|
|
108
|
-
toTooltipColumn: { (): string; (_: string): GMapPinLine };
|
|
109
|
-
toTooltipColumn_exists: () => boolean;
|
|
91
|
+
export interface GMapPinLine {
|
|
92
|
+
autoScale(): boolean;
|
|
93
|
+
autoScale(_: boolean): GMapPinLine;
|
|
94
|
+
fromPinColor(): string;
|
|
95
|
+
fromPinColor(_: string): GMapPinLine;
|
|
96
|
+
fromPinColor_exists(): boolean;
|
|
97
|
+
fromLatitudeColumn(): string;
|
|
98
|
+
fromLatitudeColumn(_: string): GMapPinLine;
|
|
99
|
+
fromLatitudeColumn_exists(): boolean;
|
|
100
|
+
fromLongitudeColumn(): string;
|
|
101
|
+
fromLongitudeColumn(_: string): GMapPinLine;
|
|
102
|
+
fromLongitudeColumn_exists(): boolean;
|
|
103
|
+
fromColorColumn(): string;
|
|
104
|
+
fromColorColumn(_: string): GMapPinLine;
|
|
105
|
+
fromColorColumn_exists(): boolean;
|
|
106
|
+
fromTooltipColumn(): string;
|
|
107
|
+
fromTooltipColumn(_: string): GMapPinLine;
|
|
108
|
+
fromTooltipColumn_exists(): boolean;
|
|
110
109
|
|
|
110
|
+
toPinColor(): string;
|
|
111
|
+
toPinColor(_: string): GMapPinLine;
|
|
112
|
+
toPinColor_exists(): boolean;
|
|
113
|
+
toLatitudeColumn(): string;
|
|
114
|
+
toLatitudeColumn(_: string): GMapPinLine;
|
|
115
|
+
toLatitudeColumn_exists(): boolean;
|
|
116
|
+
toLongitudeColumn(): string;
|
|
117
|
+
toLongitudeColumn(_: string): GMapPinLine;
|
|
118
|
+
toLongitudeColumn_exists(): boolean;
|
|
119
|
+
toColorColumn(): string;
|
|
120
|
+
toColorColumn(_: string): GMapPinLine;
|
|
121
|
+
toColorColumn_exists(): boolean;
|
|
122
|
+
toTooltipColumn(): string;
|
|
123
|
+
toTooltipColumn(_: string): GMapPinLine;
|
|
124
|
+
toTooltipColumn_exists(): boolean;
|
|
111
125
|
}
|
|
112
|
-
GMapPinLine.prototype._class += " map_GMapPinLine";
|
|
113
126
|
|
|
114
127
|
GMapPinLine.prototype.publish("autoScale", false, "boolean", "Auto scale to data");
|
|
115
128
|
GMapPinLine.prototype.publish("fromPinColor", "green", "html-color", "From Pin Color");
|
package/src/GeoHash.ts
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
import { Palette, Utility as CommonUtility } from "@hpcc-js/common";
|
|
2
2
|
import { select as d3Select } from "d3-selection";
|
|
3
|
-
import { Layer } from "./Layer";
|
|
4
|
-
import * as Utility from "./Utility";
|
|
3
|
+
import { Layer } from "./Layer.ts";
|
|
4
|
+
import * as Utility from "./Utility.ts";
|
|
5
5
|
|
|
6
6
|
import "../src/GeoHash.css";
|
|
7
7
|
|
|
8
8
|
export class GeoHash extends Layer {
|
|
9
|
-
_palette;
|
|
10
9
|
_dataMinWeight;
|
|
11
10
|
_dataMaxWeight;
|
|
12
11
|
geohash;
|
|
13
12
|
_geoHashTransform;
|
|
14
|
-
_selection;
|
|
15
13
|
geoHashPaths;
|
|
16
14
|
|
|
17
15
|
constructor() {
|
|
@@ -97,24 +95,40 @@ export class GeoHash extends Layer {
|
|
|
97
95
|
|
|
98
96
|
dblclick(row, column, selected) {
|
|
99
97
|
}
|
|
100
|
-
|
|
101
|
-
paletteID: { (): string; (_: string): GeoHash };
|
|
102
|
-
paletteID_exists: () => boolean;
|
|
103
|
-
useClonedPalette: { (): boolean; (_: boolean): GeoHash };
|
|
104
|
-
useClonedPalette_exists: () => boolean;
|
|
105
|
-
opacity: { (): number; (_: number): GeoHash };
|
|
106
|
-
opacity_exists: () => boolean;
|
|
107
|
-
meshVisible: { (): boolean; (_: boolean): GeoHash };
|
|
108
|
-
meshVisible_exists: () => boolean;
|
|
109
|
-
meshColor: { (): string; (_: string): GeoHash };
|
|
110
|
-
meshColor_exists: () => boolean;
|
|
111
|
-
meshStrokeWidth: { (): number; (_: number): GeoHash };
|
|
112
|
-
meshStrokeWidth_exists: () => boolean;
|
|
113
98
|
}
|
|
114
99
|
GeoHash.prototype._class += " map_GeoHash";
|
|
115
100
|
|
|
116
101
|
GeoHash.prototype._palette = Palette.rainbow("default");
|
|
117
102
|
|
|
103
|
+
export interface GeoHash {
|
|
104
|
+
_palette;
|
|
105
|
+
|
|
106
|
+
// Simple Selection ---
|
|
107
|
+
_selection;
|
|
108
|
+
|
|
109
|
+
// Properties ---
|
|
110
|
+
paletteID(): string;
|
|
111
|
+
paletteID(_: string): this;
|
|
112
|
+
paletteID_exists(): boolean;
|
|
113
|
+
useClonedPalette(): boolean;
|
|
114
|
+
useClonedPalette(_: boolean): this;
|
|
115
|
+
useClonedPalette_exists(): boolean;
|
|
116
|
+
|
|
117
|
+
opacity(): number;
|
|
118
|
+
opacity(_: number): this;
|
|
119
|
+
opacity_exists(): boolean;
|
|
120
|
+
|
|
121
|
+
meshVisible(): boolean;
|
|
122
|
+
meshVisible(_: boolean): this;
|
|
123
|
+
meshVisible_exists(): boolean;
|
|
124
|
+
meshColor(): string;
|
|
125
|
+
meshColor(_: string): this;
|
|
126
|
+
meshColor_exists(): boolean;
|
|
127
|
+
meshStrokeWidth(): number;
|
|
128
|
+
meshStrokeWidth(_: number): this;
|
|
129
|
+
meshStrokeWidth_exists(): boolean;
|
|
130
|
+
}
|
|
131
|
+
|
|
118
132
|
GeoHash.prototype.publish("paletteID", "YlOrRd", "set", "Color palette for this widget", GeoHash.prototype._palette.switch(), { tags: ["Basic", "Shared"] });
|
|
119
133
|
GeoHash.prototype.publish("useClonedPalette", false, "boolean", "Enable or disable using a cloned palette", null, { tags: ["Intermediate", "Shared"] });
|
|
120
134
|
|
package/src/Graph.ts
CHANGED
package/src/Graticule.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { geoGraticule as d3GeoGraticule } from "d3-geo";
|
|
2
2
|
import { select as d3Select } from "d3-selection";
|
|
3
|
-
import { Layer } from "./Layer";
|
|
3
|
+
import { Layer } from "./Layer.ts";
|
|
4
4
|
|
|
5
5
|
import "../src/Graticule.css";
|
|
6
6
|
|
|
@@ -75,15 +75,22 @@ export class Graticule extends Layer {
|
|
|
75
75
|
;
|
|
76
76
|
}
|
|
77
77
|
*/
|
|
78
|
-
opacity: { (): number; (_: number): Graticule };
|
|
79
|
-
opacity_exists: () => boolean;
|
|
80
|
-
meshColor: { (): string; (_: string): Graticule };
|
|
81
|
-
meshColor_exists: () => boolean;
|
|
82
|
-
meshStrokeWidth: { (): number; (_: number): Graticule };
|
|
83
|
-
meshStrokeWidth_exists: () => boolean;
|
|
84
78
|
}
|
|
85
79
|
Graticule.prototype._class += " map_Graticule";
|
|
86
80
|
|
|
81
|
+
export interface Graticule {
|
|
82
|
+
opacity(): number;
|
|
83
|
+
opacity(_: number): this;
|
|
84
|
+
opacity_exists(): boolean;
|
|
85
|
+
|
|
86
|
+
meshColor(): string;
|
|
87
|
+
meshColor(_: string): this;
|
|
88
|
+
meshColor_exists(): boolean;
|
|
89
|
+
meshStrokeWidth(): number;
|
|
90
|
+
meshStrokeWidth(_: number): this;
|
|
91
|
+
meshStrokeWidth_exists(): boolean;
|
|
92
|
+
}
|
|
93
|
+
|
|
87
94
|
Graticule.prototype.publish("opacity", 1.0, "number", "Opacity", null, { tags: ["Advanced"] });
|
|
88
95
|
|
|
89
96
|
Graticule.prototype.publish("meshColor", null, "html-color", "Stroke Color", null, { optional: true });
|
package/src/Heat.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HeatMap } from "@hpcc-js/other";
|
|
2
|
-
import { Layer } from "./Layer";
|
|
2
|
+
import { Layer } from "./Layer.ts";
|
|
3
3
|
|
|
4
4
|
import "../src/Heat.css";
|
|
5
5
|
|
|
@@ -64,16 +64,21 @@ export class Heat extends Layer {
|
|
|
64
64
|
.render()
|
|
65
65
|
;
|
|
66
66
|
}
|
|
67
|
-
|
|
68
|
-
latColumn: { (): string; (_: string): Heat };
|
|
69
|
-
latColumn_exists: () => boolean;
|
|
70
|
-
longColumn: { (): string; (_: string): Heat };
|
|
71
|
-
longColumn_exists: () => boolean;
|
|
72
|
-
opacity: { (): number; (_: number): Heat };
|
|
73
|
-
opacity_exists: () => boolean;
|
|
74
67
|
}
|
|
75
68
|
Heat.prototype._class += " map_Heat";
|
|
76
69
|
|
|
70
|
+
export interface Heat {
|
|
71
|
+
latColumn(): string;
|
|
72
|
+
latColumn(_: string): this;
|
|
73
|
+
latColumn_exists(): boolean;
|
|
74
|
+
longColumn(): string;
|
|
75
|
+
longColumn(_: string): this;
|
|
76
|
+
longColumn_exists(): boolean;
|
|
77
|
+
opacity(): number;
|
|
78
|
+
opacity(_: number): this;
|
|
79
|
+
opacity_exists(): boolean;
|
|
80
|
+
}
|
|
81
|
+
|
|
77
82
|
Heat.prototype.publish("latColumn", null, "set", "Latitude column", function () { return this.columns(); }, { optional: true });
|
|
78
83
|
Heat.prototype.publish("longColumn", null, "set", "Longitude column", function () { return this.columns(); }, { optional: true });
|
|
79
84
|
Heat.prototype.publish("opacity", 1.0, "number", "Opacity", null, { tags: ["Advanced"] });
|