@hpcc-js/map 2.79.3 → 2.79.5

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.
Files changed (89) hide show
  1. package/LICENSE +43 -43
  2. package/README.md +88 -88
  3. package/TopoJSON/BR.json +122 -122
  4. package/TopoJSON/GB_idx.json +1 -1
  5. package/TopoJSON/IE_idx.json +1 -1
  6. package/TopoJSON/ND_idx.json +1 -1
  7. package/TopoJSON/countries.json +257 -257
  8. package/TopoJSON/us-counties.json +16550 -16550
  9. package/TopoJSON/us-states.json +458 -458
  10. package/dist/index.es6.js +49 -49
  11. package/dist/index.es6.js.map +1 -1
  12. package/dist/index.js +49 -49
  13. package/dist/index.js.map +1 -1
  14. package/dist/index.min.js +1 -1
  15. package/dist/index.min.js.map +1 -1
  16. package/package.json +7 -7
  17. package/src/CanvasPinLayer.ts +99 -99
  18. package/src/CanvasPins.ts +396 -396
  19. package/src/Choropleth.css +27 -27
  20. package/src/Choropleth.ts +195 -195
  21. package/src/ChoroplethContinents.ts +13 -13
  22. package/src/ChoroplethCounties.ts +109 -109
  23. package/src/ChoroplethCountries.ts +100 -100
  24. package/src/ChoroplethStates.ts +104 -104
  25. package/src/ChoroplethStatesHeat.ts +8 -8
  26. package/src/GMap.css +16 -16
  27. package/src/GMap.ts +879 -879
  28. package/src/GMapCounties.ts +93 -93
  29. package/src/GMapGraph.ts +61 -61
  30. package/src/GMapHeat.ts +27 -27
  31. package/src/GMapLayered.ts +94 -94
  32. package/src/GMapPin.ts +115 -115
  33. package/src/GMapPinLine.ts +125 -125
  34. package/src/GeoHash.css +15 -15
  35. package/src/GeoHash.ts +125 -125
  36. package/src/Graph.css +10 -10
  37. package/src/Graph.ts +98 -98
  38. package/src/Graticule.css +13 -13
  39. package/src/Graticule.ts +90 -90
  40. package/src/Heat.css +2 -2
  41. package/src/Heat.ts +82 -82
  42. package/src/IChoropleth.ts +8 -8
  43. package/src/Layer.ts +90 -90
  44. package/src/Layered.css +19 -19
  45. package/src/Layered.ts +206 -206
  46. package/src/Lines.css +9 -9
  47. package/src/Lines.ts +75 -75
  48. package/src/OpenStreet.css +15 -15
  49. package/src/OpenStreet.ts +123 -123
  50. package/src/Pins.css +18 -18
  51. package/src/Pins.ts +319 -319
  52. package/src/Projection.ts +42 -42
  53. package/src/TestHeatMap.ts +8 -8
  54. package/src/TopoJSONChoropleth.ts +114 -114
  55. package/src/Utility.ts +482 -482
  56. package/src/__package__.ts +3 -3
  57. package/src/index.ts +34 -34
  58. package/src/leaflet/AlbersPR.ts +48 -48
  59. package/src/leaflet/Blank.ts +9 -9
  60. package/src/leaflet/Circles.ts +139 -139
  61. package/src/leaflet/ClusterCircles.css +26 -26
  62. package/src/leaflet/ClusterCircles.ts +88 -88
  63. package/src/leaflet/Countries.ts +43 -43
  64. package/src/leaflet/DrawLayer.ts +167 -167
  65. package/src/leaflet/FeatureLayer.ts +138 -138
  66. package/src/leaflet/GMap.ts +44 -44
  67. package/src/leaflet/HeatLayer.ts +77 -77
  68. package/src/leaflet/Icons.ts +60 -60
  69. package/src/leaflet/Leaflet.css +3 -3
  70. package/src/leaflet/Leaflet.ts +238 -238
  71. package/src/leaflet/MapBox.ts +35 -35
  72. package/src/leaflet/Markers.ts +109 -109
  73. package/src/leaflet/OpenStreet.ts +27 -27
  74. package/src/leaflet/Path.ts +138 -138
  75. package/src/leaflet/Pins.ts +73 -73
  76. package/src/leaflet/Polygons.ts +113 -113
  77. package/src/leaflet/Region.ts +138 -138
  78. package/src/leaflet/Text.ts +99 -99
  79. package/src/leaflet/TileLayer.ts +81 -81
  80. package/src/leaflet/TopoJSON.ts +146 -146
  81. package/src/leaflet/US.ts +15 -15
  82. package/src/leaflet/USCounties.ts +43 -43
  83. package/src/leaflet/USStates.ts +41 -41
  84. package/src/leaflet/World.css +3 -3
  85. package/src/leaflet/World.ts +171 -171
  86. package/src/leaflet/index.ts +18 -18
  87. package/src/test.ts +114 -114
  88. package/types/__package__.d.ts +2 -2
  89. package/types-3.4/__package__.d.ts +2 -2
package/src/Graticule.ts CHANGED
@@ -1,90 +1,90 @@
1
- import { geoGraticule as d3GeoGraticule } from "d3-geo";
2
- import { select as d3Select } from "d3-selection";
3
- import { Layer } from "./Layer";
4
-
5
- import "../src/Graticule.css";
6
-
7
- export class Graticule extends Layer {
8
- _dataMap = {};
9
- _path: any = d3Select(null);
10
- _graticule;
11
- _graticulePath;
12
- _graticuleOutlinePath;
13
- _prevProjection;
14
-
15
- constructor() {
16
- super();
17
- }
18
-
19
- layerEnter(base, svgElement, domElement) {
20
- Layer.prototype.layerEnter.apply(this, arguments);
21
-
22
- this._graticule = d3GeoGraticule();
23
- this._graticulePath = svgElement.append("path")
24
- .datum(this._graticule)
25
- .attr("class", "graticule")
26
- .attr("vector-effect", "non-scaling-stroke")
27
- ;
28
- this._graticuleOutlinePath = svgElement.append("path")
29
- .datum(this._graticule.outline)
30
- .attr("class", "graticuleOutline")
31
- .attr("vector-effect", "non-scaling-stroke")
32
- ;
33
- }
34
-
35
- layerUpdate(base) {
36
- if (!this.visible()) {
37
- this._graticulePath.attr("d", "");
38
- this._graticuleOutlinePath.attr("d", "");
39
- delete this._prevProjection;
40
- return;
41
- }
42
-
43
- if (this._prevProjection !== base.projection()) {
44
- this._graticulePath
45
- .attr("d", base._d3GeoPath)
46
- ;
47
- this._graticuleOutlinePath
48
- .attr("d", base._d3GeoPath)
49
- ;
50
- this._prevProjection = base.projection();
51
- }
52
- this._graticulePath
53
- .style("stroke", this.meshColor())
54
- ;
55
- this._graticuleOutlinePath
56
- .style("stroke", this.meshColor())
57
- ;
58
- }
59
-
60
- layerExit(base) {
61
- delete this._prevProjection;
62
- }
63
-
64
- /*
65
- layerZoomed(base) {
66
- this._graticulePath
67
- .style("opacity", this.opacity())
68
- .attr("transform", "translate(" + base._zoom.translate() + ")scale(" + base._zoom.scale() + ")")
69
- .style("stroke-width", this.meshStrokeWidth() / base._zoom.scale() + "px")
70
- ;
71
- this._graticuleOutlinePath
72
- .style("opacity", this.opacity())
73
- .attr("transform", "translate(" + base._zoom.translate() + ")scale(" + base._zoom.scale() + ")")
74
- .style("stroke-width", this.meshStrokeWidth() / base._zoom.scale() + "px")
75
- ;
76
- }
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
- }
85
- Graticule.prototype._class += " map_Graticule";
86
-
87
- Graticule.prototype.publish("opacity", 1.0, "number", "Opacity", null, { tags: ["Advanced"] });
88
-
89
- Graticule.prototype.publish("meshColor", null, "html-color", "Stroke Color", null, { optional: true });
90
- Graticule.prototype.publish("meshStrokeWidth", 0.25, "number", "Stroke Width");
1
+ import { geoGraticule as d3GeoGraticule } from "d3-geo";
2
+ import { select as d3Select } from "d3-selection";
3
+ import { Layer } from "./Layer";
4
+
5
+ import "../src/Graticule.css";
6
+
7
+ export class Graticule extends Layer {
8
+ _dataMap = {};
9
+ _path: any = d3Select(null);
10
+ _graticule;
11
+ _graticulePath;
12
+ _graticuleOutlinePath;
13
+ _prevProjection;
14
+
15
+ constructor() {
16
+ super();
17
+ }
18
+
19
+ layerEnter(base, svgElement, domElement) {
20
+ Layer.prototype.layerEnter.apply(this, arguments);
21
+
22
+ this._graticule = d3GeoGraticule();
23
+ this._graticulePath = svgElement.append("path")
24
+ .datum(this._graticule)
25
+ .attr("class", "graticule")
26
+ .attr("vector-effect", "non-scaling-stroke")
27
+ ;
28
+ this._graticuleOutlinePath = svgElement.append("path")
29
+ .datum(this._graticule.outline)
30
+ .attr("class", "graticuleOutline")
31
+ .attr("vector-effect", "non-scaling-stroke")
32
+ ;
33
+ }
34
+
35
+ layerUpdate(base) {
36
+ if (!this.visible()) {
37
+ this._graticulePath.attr("d", "");
38
+ this._graticuleOutlinePath.attr("d", "");
39
+ delete this._prevProjection;
40
+ return;
41
+ }
42
+
43
+ if (this._prevProjection !== base.projection()) {
44
+ this._graticulePath
45
+ .attr("d", base._d3GeoPath)
46
+ ;
47
+ this._graticuleOutlinePath
48
+ .attr("d", base._d3GeoPath)
49
+ ;
50
+ this._prevProjection = base.projection();
51
+ }
52
+ this._graticulePath
53
+ .style("stroke", this.meshColor())
54
+ ;
55
+ this._graticuleOutlinePath
56
+ .style("stroke", this.meshColor())
57
+ ;
58
+ }
59
+
60
+ layerExit(base) {
61
+ delete this._prevProjection;
62
+ }
63
+
64
+ /*
65
+ layerZoomed(base) {
66
+ this._graticulePath
67
+ .style("opacity", this.opacity())
68
+ .attr("transform", "translate(" + base._zoom.translate() + ")scale(" + base._zoom.scale() + ")")
69
+ .style("stroke-width", this.meshStrokeWidth() / base._zoom.scale() + "px")
70
+ ;
71
+ this._graticuleOutlinePath
72
+ .style("opacity", this.opacity())
73
+ .attr("transform", "translate(" + base._zoom.translate() + ")scale(" + base._zoom.scale() + ")")
74
+ .style("stroke-width", this.meshStrokeWidth() / base._zoom.scale() + "px")
75
+ ;
76
+ }
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
+ }
85
+ Graticule.prototype._class += " map_Graticule";
86
+
87
+ Graticule.prototype.publish("opacity", 1.0, "number", "Opacity", null, { tags: ["Advanced"] });
88
+
89
+ Graticule.prototype.publish("meshColor", null, "html-color", "Stroke Color", null, { optional: true });
90
+ Graticule.prototype.publish("meshStrokeWidth", 0.25, "number", "Stroke Width");
package/src/Heat.css CHANGED
@@ -1,3 +1,3 @@
1
- .map_Heat canvas {
2
- pointer-events: none;
1
+ .map_Heat canvas {
2
+ pointer-events: none;
3
3
  }
package/src/Heat.ts CHANGED
@@ -1,82 +1,82 @@
1
- import { HeatMap } from "@hpcc-js/other";
2
- import { Layer } from "./Layer";
3
-
4
- import "../src/Heat.css";
5
-
6
- export class Heat extends Layer {
7
- _heatTransform;
8
- heat;
9
- _prevProjection;
10
-
11
- constructor() {
12
- super();
13
- }
14
-
15
- layerEnter(base, svgElement, domElement) {
16
- Layer.prototype.layerEnter.apply(this, arguments);
17
- this._parentOverlay.style("pointer-events", "none");
18
- this._heatTransform = domElement
19
- .style("pointer-events", "none")
20
- .append("div")
21
- .attr("class", this.classID())
22
- .style("width", base.width() + "px")
23
- .style("height", base.height() + "px")
24
- ;
25
- this.heat = new HeatMap()
26
- .target(this._heatTransform.node())
27
- ;
28
- }
29
-
30
- layerUpdate(base) {
31
- Layer.prototype.layerUpdate.apply(this, arguments);
32
-
33
- this._heatTransform
34
- .style("opacity", this.opacity())
35
- .style("width", base.width() + "px")
36
- .style("height", base.height() + "px")
37
- ;
38
- this.heat.resize(base.size());
39
- this.layerZoomed(base);
40
- }
41
-
42
- layerExit(base) {
43
- delete this._prevProjection;
44
- this.heat.target(null);
45
- delete this.heat;
46
- }
47
-
48
- layerZoomed(base) {
49
- Layer.prototype.layerZoomed.apply(this, arguments);
50
- const latField = this._db.fieldByLabel(this.latColumn());
51
- const longField = this._db.fieldByLabel(this.longColumn());
52
- this.heat
53
- .columns(this.columns())
54
- .data(this.visible() ? this.data().map(function (row) {
55
- const lat = latField ? row[latField.idx] : row[0];
56
- const long = longField ? row[longField.idx] : row[1];
57
- const transform = base.zoomTranslate();
58
- const pos = base.project(lat, long);
59
- const scale = base.zoomScale();
60
- pos[0] *= scale;
61
- pos[1] *= scale;
62
- return [transform[0] + pos[0], transform[1] + pos[1], row[4] || 0.5];
63
- }) : [])
64
- .render()
65
- ;
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
- }
75
- Heat.prototype._class += " map_Heat";
76
-
77
- Heat.prototype.publish("latColumn", null, "set", "Latitude column", function () { return this.columns(); }, { optional: true });
78
- Heat.prototype.publish("longColumn", null, "set", "Longitude column", function () { return this.columns(); }, { optional: true });
79
- Heat.prototype.publish("opacity", 1.0, "number", "Opacity", null, { tags: ["Advanced"] });
80
-
81
- // Heat.prototype.publish("meshColor", null, "html-color", "Stroke Color", null, { optional: true });
82
- // Heat.prototype.publish("meshStrokeWidth", 0.25, "number", "Stroke Width");
1
+ import { HeatMap } from "@hpcc-js/other";
2
+ import { Layer } from "./Layer";
3
+
4
+ import "../src/Heat.css";
5
+
6
+ export class Heat extends Layer {
7
+ _heatTransform;
8
+ heat;
9
+ _prevProjection;
10
+
11
+ constructor() {
12
+ super();
13
+ }
14
+
15
+ layerEnter(base, svgElement, domElement) {
16
+ Layer.prototype.layerEnter.apply(this, arguments);
17
+ this._parentOverlay.style("pointer-events", "none");
18
+ this._heatTransform = domElement
19
+ .style("pointer-events", "none")
20
+ .append("div")
21
+ .attr("class", this.classID())
22
+ .style("width", base.width() + "px")
23
+ .style("height", base.height() + "px")
24
+ ;
25
+ this.heat = new HeatMap()
26
+ .target(this._heatTransform.node())
27
+ ;
28
+ }
29
+
30
+ layerUpdate(base) {
31
+ Layer.prototype.layerUpdate.apply(this, arguments);
32
+
33
+ this._heatTransform
34
+ .style("opacity", this.opacity())
35
+ .style("width", base.width() + "px")
36
+ .style("height", base.height() + "px")
37
+ ;
38
+ this.heat.resize(base.size());
39
+ this.layerZoomed(base);
40
+ }
41
+
42
+ layerExit(base) {
43
+ delete this._prevProjection;
44
+ this.heat.target(null);
45
+ delete this.heat;
46
+ }
47
+
48
+ layerZoomed(base) {
49
+ Layer.prototype.layerZoomed.apply(this, arguments);
50
+ const latField = this._db.fieldByLabel(this.latColumn());
51
+ const longField = this._db.fieldByLabel(this.longColumn());
52
+ this.heat
53
+ .columns(this.columns())
54
+ .data(this.visible() ? this.data().map(function (row) {
55
+ const lat = latField ? row[latField.idx] : row[0];
56
+ const long = longField ? row[longField.idx] : row[1];
57
+ const transform = base.zoomTranslate();
58
+ const pos = base.project(lat, long);
59
+ const scale = base.zoomScale();
60
+ pos[0] *= scale;
61
+ pos[1] *= scale;
62
+ return [transform[0] + pos[0], transform[1] + pos[1], row[4] || 0.5];
63
+ }) : [])
64
+ .render()
65
+ ;
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
+ }
75
+ Heat.prototype._class += " map_Heat";
76
+
77
+ Heat.prototype.publish("latColumn", null, "set", "Latitude column", function () { return this.columns(); }, { optional: true });
78
+ Heat.prototype.publish("longColumn", null, "set", "Longitude column", function () { return this.columns(); }, { optional: true });
79
+ Heat.prototype.publish("opacity", 1.0, "number", "Opacity", null, { tags: ["Advanced"] });
80
+
81
+ // Heat.prototype.publish("meshColor", null, "html-color", "Stroke Color", null, { optional: true });
82
+ // Heat.prototype.publish("meshStrokeWidth", 0.25, "number", "Stroke Width");
@@ -1,8 +1,8 @@
1
- import { Palette } from "@hpcc-js/common";
2
- export function IChoropleth() {
3
- }
4
- IChoropleth.prototype._palette = Palette.rainbow("default");
5
-
6
- // Events ---
7
- IChoropleth.prototype.click = function (row, column, selected) {
8
- };
1
+ import { Palette } from "@hpcc-js/common";
2
+ export function IChoropleth() {
3
+ }
4
+ IChoropleth.prototype._palette = Palette.rainbow("default");
5
+
6
+ // Events ---
7
+ IChoropleth.prototype.click = function (row, column, selected) {
8
+ };
package/src/Layer.ts CHANGED
@@ -1,90 +1,90 @@
1
- import { ITooltip } from "@hpcc-js/api";
2
- import { Layered } from "./Layered";
3
-
4
- export class Layer extends Layered {
5
- _svgElement;
6
- _domElement;
7
- _topoJsonPromise;
8
-
9
- constructor() {
10
- super();
11
- ITooltip.call(this);
12
- }
13
-
14
- // Disable Glow For Layers ---
15
- svgGlowID(): string {
16
- return "";
17
- }
18
-
19
- layerEnter(base, svgElement, domElement) {
20
- this._parentOverlay = base._parentOverlay;
21
- }
22
-
23
- enter(domNode, element) {
24
- super.enter(domNode, element);
25
- this._svgElement = this._layersTarget.append("g");
26
- this._domElement = this._parentOverlay.append("div");
27
- this.layerEnter(this, this._svgElement, this._domElement);
28
- }
29
-
30
- layerUpdate(base, forcePath?) {
31
- }
32
-
33
- update(domNode, element) {
34
- super.update(domNode, element);
35
- this.layerUpdate(this);
36
- }
37
-
38
- onZoomed() {
39
- super.onZoomed();
40
- this.layerUpdate(this);
41
- }
42
-
43
- layerExit(base) {
44
- }
45
-
46
- exit(domNode, element) {
47
- this.layerExit(this);
48
- this._svgElement.remove();
49
- this._domElement.remove();
50
- super.exit(domNode, element);
51
- }
52
-
53
- layerPreRender() {
54
- return Promise.resolve();
55
- }
56
-
57
- render(callback?: (w: this) => void): this {
58
- const context = this;
59
- const args = arguments;
60
- this.layerPreRender().then(function () {
61
- Layered.prototype.render.apply(context, args);
62
- });
63
- return this;
64
- }
65
-
66
- layerZoomed(base) {
67
- }
68
-
69
- // ITooltip ---
70
- tooltip: any;
71
-
72
- tooltipHTML: (_: any) => any;
73
- tooltipFormat: (opts: any) => string;
74
- tooltipStyle: { (): string; (_: string): ITooltip };
75
- tooltipStyle_exists: () => boolean;
76
- tooltipValueFormat: { (): string; (_: string): ITooltip };
77
- tooltipValueFormat_exists: () => boolean;
78
- tooltipSeriesColor: { (): string; (_: string): ITooltip };
79
- tooltipSeriesColor_exists: () => boolean;
80
- tooltipLabelColor: { (): string; (_: string): ITooltip };
81
- tooltipLabelColor_exists: () => boolean;
82
- tooltipValueColor: { (): string; (_: string): ITooltip };
83
- tooltipValueColor_exists: () => boolean;
84
- tooltipTick: { (): boolean; (_: boolean): ITooltip };
85
- tooltipTick_exists: () => boolean;
86
- tooltipOffset: { (): number; (_: number): ITooltip };
87
- tooltipOffset_exists: () => boolean;
88
- }
89
- Layer.prototype._class += " map_Layer";
90
- Layer.prototype.implements(ITooltip.prototype);
1
+ import { ITooltip } from "@hpcc-js/api";
2
+ import { Layered } from "./Layered";
3
+
4
+ export class Layer extends Layered {
5
+ _svgElement;
6
+ _domElement;
7
+ _topoJsonPromise;
8
+
9
+ constructor() {
10
+ super();
11
+ ITooltip.call(this);
12
+ }
13
+
14
+ // Disable Glow For Layers ---
15
+ svgGlowID(): string {
16
+ return "";
17
+ }
18
+
19
+ layerEnter(base, svgElement, domElement) {
20
+ this._parentOverlay = base._parentOverlay;
21
+ }
22
+
23
+ enter(domNode, element) {
24
+ super.enter(domNode, element);
25
+ this._svgElement = this._layersTarget.append("g");
26
+ this._domElement = this._parentOverlay.append("div");
27
+ this.layerEnter(this, this._svgElement, this._domElement);
28
+ }
29
+
30
+ layerUpdate(base, forcePath?) {
31
+ }
32
+
33
+ update(domNode, element) {
34
+ super.update(domNode, element);
35
+ this.layerUpdate(this);
36
+ }
37
+
38
+ onZoomed() {
39
+ super.onZoomed();
40
+ this.layerUpdate(this);
41
+ }
42
+
43
+ layerExit(base) {
44
+ }
45
+
46
+ exit(domNode, element) {
47
+ this.layerExit(this);
48
+ this._svgElement.remove();
49
+ this._domElement.remove();
50
+ super.exit(domNode, element);
51
+ }
52
+
53
+ layerPreRender() {
54
+ return Promise.resolve();
55
+ }
56
+
57
+ render(callback?: (w: this) => void): this {
58
+ const context = this;
59
+ const args = arguments;
60
+ this.layerPreRender().then(function () {
61
+ Layered.prototype.render.apply(context, args);
62
+ });
63
+ return this;
64
+ }
65
+
66
+ layerZoomed(base) {
67
+ }
68
+
69
+ // ITooltip ---
70
+ tooltip: any;
71
+
72
+ tooltipHTML: (_: any) => any;
73
+ tooltipFormat: (opts: any) => string;
74
+ tooltipStyle: { (): string; (_: string): ITooltip };
75
+ tooltipStyle_exists: () => boolean;
76
+ tooltipValueFormat: { (): string; (_: string): ITooltip };
77
+ tooltipValueFormat_exists: () => boolean;
78
+ tooltipSeriesColor: { (): string; (_: string): ITooltip };
79
+ tooltipSeriesColor_exists: () => boolean;
80
+ tooltipLabelColor: { (): string; (_: string): ITooltip };
81
+ tooltipLabelColor_exists: () => boolean;
82
+ tooltipValueColor: { (): string; (_: string): ITooltip };
83
+ tooltipValueColor_exists: () => boolean;
84
+ tooltipTick: { (): boolean; (_: boolean): ITooltip };
85
+ tooltipTick_exists: () => boolean;
86
+ tooltipOffset: { (): number; (_: number): ITooltip };
87
+ tooltipOffset_exists: () => boolean;
88
+ }
89
+ Layer.prototype._class += " map_Layer";
90
+ Layer.prototype.implements(ITooltip.prototype);
package/src/Layered.css CHANGED
@@ -1,19 +1,19 @@
1
- .map_Layered .background {
2
- fill: none;
3
- }
4
-
5
- .map_Layered .raster image {
6
- fill: #B5D0D0
7
- }
8
-
9
- .map_Layered .vector {
10
- fill: none;
11
- stroke: navy;
12
- stroke-linejoin: round;
13
- }
14
-
15
- .map_Layered .hash path {
16
- fill: none;
17
- stroke: red;
18
- stroke-linejoin: round;
19
- }
1
+ .map_Layered .background {
2
+ fill: none;
3
+ }
4
+
5
+ .map_Layered .raster image {
6
+ fill: #B5D0D0
7
+ }
8
+
9
+ .map_Layered .vector {
10
+ fill: none;
11
+ stroke: navy;
12
+ stroke-linejoin: round;
13
+ }
14
+
15
+ .map_Layered .hash path {
16
+ fill: none;
17
+ stroke: red;
18
+ stroke-linejoin: round;
19
+ }