@hpcc-js/map 2.79.0 → 3.1.1

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 (298) hide show
  1. package/dist/index.js +888 -31380
  2. package/dist/index.js.map +7 -1
  3. package/package.json +41 -40
  4. package/src/CanvasPinLayer.ts +2 -2
  5. package/src/CanvasPins.ts +12 -11
  6. package/src/Choropleth.ts +13 -5
  7. package/src/ChoroplethContinents.ts +1 -1
  8. package/src/ChoroplethCounties.ts +9 -7
  9. package/src/ChoroplethCountries.ts +2 -2
  10. package/src/ChoroplethStates.ts +1 -2
  11. package/src/ChoroplethStatesHeat.ts +1 -1
  12. package/src/GMap.ts +4 -3
  13. package/src/GMapCounties.ts +2 -2
  14. package/src/GMapGraph.ts +1 -1
  15. package/src/GMapHeat.ts +1 -1
  16. package/src/GMapLayered.ts +2 -2
  17. package/src/GMapPin.ts +2 -2
  18. package/src/GMapPinLine.ts +38 -25
  19. package/src/GeoHash.ts +31 -17
  20. package/src/Graph.ts +1 -1
  21. package/src/Graticule.ts +14 -7
  22. package/src/Heat.ts +13 -8
  23. package/src/Layer.ts +28 -19
  24. package/src/Layered.ts +1 -1
  25. package/src/Lines.ts +6 -3
  26. package/src/OpenStreet.ts +7 -4
  27. package/src/Pins.ts +75 -44
  28. package/src/Projection.ts +1 -1
  29. package/src/TestHeatMap.ts +1 -1
  30. package/src/TopoJSONChoropleth.ts +106 -95
  31. package/src/__package__.ts +2 -2
  32. package/src/index.ts +29 -30
  33. package/src/leaflet/AlbersPR.ts +3 -3
  34. package/src/leaflet/Blank.ts +1 -1
  35. package/src/leaflet/Circles.ts +2 -2
  36. package/src/leaflet/ClusterCircles.ts +2 -2
  37. package/src/leaflet/Countries.ts +2 -2
  38. package/src/leaflet/DrawLayer.ts +2 -2
  39. package/src/leaflet/FeatureLayer.ts +3 -3
  40. package/src/leaflet/GMap.ts +3 -3
  41. package/src/leaflet/HeatLayer.ts +2 -2
  42. package/src/leaflet/Icons.ts +2 -2
  43. package/src/leaflet/Leaflet.ts +10 -9
  44. package/src/leaflet/MapBox.ts +2 -2
  45. package/src/leaflet/Markers.ts +2 -2
  46. package/src/leaflet/OpenStreet.ts +2 -2
  47. package/src/leaflet/Path.ts +3 -3
  48. package/src/leaflet/Pins.ts +2 -2
  49. package/src/leaflet/Polygons.ts +2 -2
  50. package/src/leaflet/Region.ts +2 -2
  51. package/src/leaflet/Text.ts +2 -2
  52. package/src/leaflet/TileLayer.ts +1 -1
  53. package/src/leaflet/TopoJSON.ts +3 -3
  54. package/src/leaflet/US.ts +2 -2
  55. package/src/leaflet/USCounties.ts +2 -2
  56. package/src/leaflet/USStates.ts +2 -2
  57. package/src/leaflet/World.ts +8 -7
  58. package/src/leaflet/index.ts +18 -18
  59. package/src/leaflet/leaflet-shim.ts +19 -0
  60. package/src/leaflet/plugins/BeautifyIcon.css +44 -0
  61. package/src/leaflet/plugins/BeautifyIcon.ts +190 -0
  62. package/src/leaflet/plugins/BeutifyIcon.licence +21 -0
  63. package/src/leaflet/plugins/D3SvgOverlay.css +3 -0
  64. package/src/leaflet/plugins/D3SvgOverlay.licence +21 -0
  65. package/src/leaflet/plugins/D3SvgOverlay.ts +175 -0
  66. package/src/leaflet/plugins/HeatLayer.license +22 -0
  67. package/src/leaflet/plugins/HeatLayer.ts +224 -0
  68. package/src/leaflet/plugins/Leaflet.GoogleMutant.ts +425 -0
  69. package/src/leaflet/plugins/lru_map.ts +352 -0
  70. package/types/CanvasPinLayer.d.ts +1 -2
  71. package/types/CanvasPins.d.ts +10 -12
  72. package/types/Choropleth.d.ts +6 -6
  73. package/types/ChoroplethContinents.d.ts +1 -2
  74. package/types/ChoroplethCounties.d.ts +6 -8
  75. package/types/ChoroplethCountries.d.ts +1 -3
  76. package/types/ChoroplethStates.d.ts +1 -3
  77. package/types/ChoroplethStatesHeat.d.ts +1 -2
  78. package/types/GMap.d.ts +3 -4
  79. package/types/GMapCounties.d.ts +2 -3
  80. package/types/GMapGraph.d.ts +1 -2
  81. package/types/GMapHeat.d.ts +1 -2
  82. package/types/GMapLayered.d.ts +1 -2
  83. package/types/GMapPin.d.ts +1 -2
  84. package/types/GMapPinLine.d.ts +35 -56
  85. package/types/GeoHash.d.ts +23 -34
  86. package/types/Graph.d.ts +1 -2
  87. package/types/Graticule.d.ts +12 -17
  88. package/types/Heat.d.ts +12 -17
  89. package/types/IChoropleth.d.ts +0 -1
  90. package/types/Layer.d.ts +26 -40
  91. package/types/Layered.d.ts +0 -1
  92. package/types/Lines.d.ts +5 -6
  93. package/types/OpenStreet.d.ts +6 -7
  94. package/types/Pins.d.ts +64 -103
  95. package/types/Projection.d.ts +0 -1
  96. package/types/TopoJSONChoropleth.d.ts +15 -4
  97. package/types/Utility.d.ts +0 -1
  98. package/types/__package__.d.ts +2 -3
  99. package/types/index.d.ts +29 -31
  100. package/types/leaflet/AlbersPR.d.ts +2 -3
  101. package/types/leaflet/Blank.d.ts +1 -2
  102. package/types/leaflet/Circles.d.ts +2 -3
  103. package/types/leaflet/ClusterCircles.d.ts +2 -3
  104. package/types/leaflet/Countries.d.ts +1 -2
  105. package/types/leaflet/DrawLayer.d.ts +2 -3
  106. package/types/leaflet/FeatureLayer.d.ts +3 -4
  107. package/types/leaflet/GMap.d.ts +2 -3
  108. package/types/leaflet/HeatLayer.d.ts +2 -3
  109. package/types/leaflet/Icons.d.ts +2 -3
  110. package/types/leaflet/Leaflet.d.ts +9 -9
  111. package/types/leaflet/MapBox.d.ts +2 -3
  112. package/types/leaflet/Markers.d.ts +2 -3
  113. package/types/leaflet/OpenStreet.d.ts +2 -3
  114. package/types/leaflet/Path.d.ts +2 -3
  115. package/types/leaflet/Pins.d.ts +2 -3
  116. package/types/leaflet/Polygons.d.ts +2 -3
  117. package/types/leaflet/Region.d.ts +1 -2
  118. package/types/leaflet/Text.d.ts +2 -3
  119. package/types/leaflet/TileLayer.d.ts +1 -2
  120. package/types/leaflet/TopoJSON.d.ts +2 -3
  121. package/types/leaflet/US.d.ts +2 -3
  122. package/types/leaflet/USCounties.d.ts +1 -2
  123. package/types/leaflet/USStates.d.ts +1 -2
  124. package/types/leaflet/World.d.ts +5 -8
  125. package/types/leaflet/index.d.ts +18 -19
  126. package/types/leaflet/leaflet-shim.d.ts +14 -0
  127. package/types/leaflet/plugins/BeautifyIcon.d.ts +2 -0
  128. package/types/leaflet/plugins/D3SvgOverlay.d.ts +36 -0
  129. package/types/leaflet/plugins/HeatLayer.d.ts +23 -0
  130. package/types/leaflet/plugins/Leaflet.GoogleMutant.d.ts +1 -0
  131. package/types/leaflet/plugins/lru_map.d.ts +33 -0
  132. package/TopoJSON/AT.json +0 -1
  133. package/TopoJSON/BE.json +0 -1
  134. package/TopoJSON/BG.json +0 -1
  135. package/TopoJSON/BR.json +0 -123
  136. package/TopoJSON/CHLI.json +0 -1
  137. package/TopoJSON/CY.json +0 -1
  138. package/TopoJSON/CZ.json +0 -1
  139. package/TopoJSON/DE.json +0 -1
  140. package/TopoJSON/DK.json +0 -1
  141. package/TopoJSON/EE.json +0 -1
  142. package/TopoJSON/ES.json +0 -1
  143. package/TopoJSON/FI.json +0 -1
  144. package/TopoJSON/FR.json +0 -1
  145. package/TopoJSON/GB.json +0 -1
  146. package/TopoJSON/GB_idx.json +0 -1
  147. package/TopoJSON/GE.json +0 -1
  148. package/TopoJSON/GR.json +0 -1
  149. package/TopoJSON/HR.json +0 -1
  150. package/TopoJSON/HU.json +0 -1
  151. package/TopoJSON/IE.json +0 -1
  152. package/TopoJSON/IE_idx.json +0 -1
  153. package/TopoJSON/IS.json +0 -1
  154. package/TopoJSON/IT.json +0 -1
  155. package/TopoJSON/KS.json +0 -1
  156. package/TopoJSON/LT.json +0 -1
  157. package/TopoJSON/LU.json +0 -1
  158. package/TopoJSON/LV.json +0 -1
  159. package/TopoJSON/MD.json +0 -1
  160. package/TopoJSON/MK.json +0 -1
  161. package/TopoJSON/MT.json +0 -1
  162. package/TopoJSON/ND.json +0 -1
  163. package/TopoJSON/ND_idx.json +0 -1
  164. package/TopoJSON/NL.json +0 -1
  165. package/TopoJSON/NO.json +0 -1
  166. package/TopoJSON/PL.json +0 -1
  167. package/TopoJSON/PT.json +0 -1
  168. package/TopoJSON/RO.json +0 -1
  169. package/TopoJSON/RS.json +0 -1
  170. package/TopoJSON/SE.json +0 -1
  171. package/TopoJSON/SI.json +0 -1
  172. package/TopoJSON/SK.json +0 -1
  173. package/TopoJSON/UA.json +0 -1
  174. package/TopoJSON/countries.json +0 -257
  175. package/TopoJSON/us-counties.json +0 -16550
  176. package/TopoJSON/us-states.json +0 -458
  177. package/dist/index.es6.js +0 -31436
  178. package/dist/index.es6.js.map +0 -1
  179. package/dist/index.min.js +0 -7
  180. package/dist/index.min.js.map +0 -1
  181. package/types/CanvasPinLayer.d.ts.map +0 -1
  182. package/types/CanvasPins.d.ts.map +0 -1
  183. package/types/Choropleth.d.ts.map +0 -1
  184. package/types/ChoroplethContinents.d.ts.map +0 -1
  185. package/types/ChoroplethCounties.d.ts.map +0 -1
  186. package/types/ChoroplethCountries.d.ts.map +0 -1
  187. package/types/ChoroplethStates.d.ts.map +0 -1
  188. package/types/ChoroplethStatesHeat.d.ts.map +0 -1
  189. package/types/GMap.d.ts.map +0 -1
  190. package/types/GMapCounties.d.ts.map +0 -1
  191. package/types/GMapGraph.d.ts.map +0 -1
  192. package/types/GMapHeat.d.ts.map +0 -1
  193. package/types/GMapLayered.d.ts.map +0 -1
  194. package/types/GMapPin.d.ts.map +0 -1
  195. package/types/GMapPinLine.d.ts.map +0 -1
  196. package/types/GeoHash.d.ts.map +0 -1
  197. package/types/Graph.d.ts.map +0 -1
  198. package/types/Graticule.d.ts.map +0 -1
  199. package/types/Heat.d.ts.map +0 -1
  200. package/types/IChoropleth.d.ts.map +0 -1
  201. package/types/Layer.d.ts.map +0 -1
  202. package/types/Layered.d.ts.map +0 -1
  203. package/types/Lines.d.ts.map +0 -1
  204. package/types/OpenStreet.d.ts.map +0 -1
  205. package/types/Pins.d.ts.map +0 -1
  206. package/types/Projection.d.ts.map +0 -1
  207. package/types/TestHeatMap.d.ts +0 -5
  208. package/types/TestHeatMap.d.ts.map +0 -1
  209. package/types/TopoJSONChoropleth.d.ts.map +0 -1
  210. package/types/Utility.d.ts.map +0 -1
  211. package/types/__package__.d.ts.map +0 -1
  212. package/types/index.d.ts.map +0 -1
  213. package/types/leaflet/AlbersPR.d.ts.map +0 -1
  214. package/types/leaflet/Blank.d.ts.map +0 -1
  215. package/types/leaflet/Circles.d.ts.map +0 -1
  216. package/types/leaflet/ClusterCircles.d.ts.map +0 -1
  217. package/types/leaflet/Countries.d.ts.map +0 -1
  218. package/types/leaflet/DrawLayer.d.ts.map +0 -1
  219. package/types/leaflet/FeatureLayer.d.ts.map +0 -1
  220. package/types/leaflet/GMap.d.ts.map +0 -1
  221. package/types/leaflet/HeatLayer.d.ts.map +0 -1
  222. package/types/leaflet/Icons.d.ts.map +0 -1
  223. package/types/leaflet/Leaflet.d.ts.map +0 -1
  224. package/types/leaflet/MapBox.d.ts.map +0 -1
  225. package/types/leaflet/Markers.d.ts.map +0 -1
  226. package/types/leaflet/OpenStreet.d.ts.map +0 -1
  227. package/types/leaflet/Path.d.ts.map +0 -1
  228. package/types/leaflet/Pins.d.ts.map +0 -1
  229. package/types/leaflet/Polygons.d.ts.map +0 -1
  230. package/types/leaflet/Region.d.ts.map +0 -1
  231. package/types/leaflet/Text.d.ts.map +0 -1
  232. package/types/leaflet/TileLayer.d.ts.map +0 -1
  233. package/types/leaflet/TopoJSON.d.ts.map +0 -1
  234. package/types/leaflet/US.d.ts.map +0 -1
  235. package/types/leaflet/USCounties.d.ts.map +0 -1
  236. package/types/leaflet/USStates.d.ts.map +0 -1
  237. package/types/leaflet/World.d.ts.map +0 -1
  238. package/types/leaflet/index.d.ts.map +0 -1
  239. package/types/test.d.ts +0 -24
  240. package/types/test.d.ts.map +0 -1
  241. package/types-3.4/CanvasPinLayer.d.ts +0 -23
  242. package/types-3.4/CanvasPins.d.ts +0 -72
  243. package/types-3.4/Choropleth.d.ts +0 -59
  244. package/types-3.4/ChoroplethContinents.d.ts +0 -6
  245. package/types-3.4/ChoroplethCounties.d.ts +0 -17
  246. package/types-3.4/ChoroplethCountries.d.ts +0 -12
  247. package/types-3.4/ChoroplethStates.d.ts +0 -12
  248. package/types-3.4/ChoroplethStatesHeat.d.ts +0 -5
  249. package/types-3.4/GMap.d.ts +0 -137
  250. package/types-3.4/GMapCounties.d.ts +0 -23
  251. package/types-3.4/GMapGraph.d.ts +0 -6
  252. package/types-3.4/GMapHeat.d.ts +0 -6
  253. package/types-3.4/GMapLayered.d.ts +0 -20
  254. package/types-3.4/GMapPin.d.ts +0 -33
  255. package/types-3.4/GMapPinLine.d.ts +0 -72
  256. package/types-3.4/GeoHash.d.ts +0 -48
  257. package/types-3.4/Graph.d.ts +0 -14
  258. package/types-3.4/Graticule.d.ts +0 -30
  259. package/types-3.4/Heat.d.ts +0 -28
  260. package/types-3.4/IChoropleth.d.ts +0 -2
  261. package/types-3.4/Layer.d.ts +0 -58
  262. package/types-3.4/Layered.d.ts +0 -47
  263. package/types-3.4/Lines.d.ts +0 -17
  264. package/types-3.4/OpenStreet.d.ts +0 -22
  265. package/types-3.4/Pins.d.ts +0 -122
  266. package/types-3.4/Projection.d.ts +0 -6
  267. package/types-3.4/TestHeatMap.d.ts +0 -5
  268. package/types-3.4/TopoJSONChoropleth.d.ts +0 -5
  269. package/types-3.4/Utility.d.ts +0 -80
  270. package/types-3.4/__package__.d.ts +0 -4
  271. package/types-3.4/index.d.ts +0 -32
  272. package/types-3.4/leaflet/AlbersPR.d.ts +0 -16
  273. package/types-3.4/leaflet/Blank.d.ts +0 -5
  274. package/types-3.4/leaflet/Circles.d.ts +0 -56
  275. package/types-3.4/leaflet/ClusterCircles.d.ts +0 -30
  276. package/types-3.4/leaflet/Countries.d.ts +0 -7
  277. package/types-3.4/leaflet/DrawLayer.d.ts +0 -40
  278. package/types-3.4/leaflet/FeatureLayer.d.ts +0 -40
  279. package/types-3.4/leaflet/GMap.d.ts +0 -14
  280. package/types-3.4/leaflet/HeatLayer.d.ts +0 -32
  281. package/types-3.4/leaflet/Icons.d.ts +0 -26
  282. package/types-3.4/leaflet/Leaflet.d.ts +0 -53
  283. package/types-3.4/leaflet/MapBox.d.ts +0 -9
  284. package/types-3.4/leaflet/Markers.d.ts +0 -38
  285. package/types-3.4/leaflet/OpenStreet.d.ts +0 -9
  286. package/types-3.4/leaflet/Path.d.ts +0 -43
  287. package/types-3.4/leaflet/Pins.d.ts +0 -32
  288. package/types-3.4/leaflet/Polygons.d.ts +0 -36
  289. package/types-3.4/leaflet/Region.d.ts +0 -15
  290. package/types-3.4/leaflet/Text.d.ts +0 -41
  291. package/types-3.4/leaflet/TileLayer.d.ts +0 -33
  292. package/types-3.4/leaflet/TopoJSON.d.ts +0 -14
  293. package/types-3.4/leaflet/US.d.ts +0 -7
  294. package/types-3.4/leaflet/USCounties.d.ts +0 -6
  295. package/types-3.4/leaflet/USStates.d.ts +0 -6
  296. package/types-3.4/leaflet/World.d.ts +0 -59
  297. package/types-3.4/leaflet/index.d.ts +0 -19
  298. package/types-3.4/test.d.ts +0 -24
@@ -1,43 +0,0 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { D3SurfaceLayer } from "./FeatureLayer";
3
- export type Coordinate = [
4
- number,
5
- number
6
- ];
7
- export type Coordinates = [
8
- Coordinate,
9
- Coordinate
10
- ];
11
- export declare class Path extends D3SurfaceLayer {
12
- lineData(): Array<{
13
- type: string;
14
- coordinates: Coordinates;
15
- }>;
16
- isNull(coord: Coordinate): boolean;
17
- isNull2(coords: Coordinates): boolean;
18
- layerUpdate(map: Map, projection?: any): void;
19
- clickHandler(e: any, row: any): void;
20
- }
21
- export interface Path {
22
- latitudeColumn(): string;
23
- latitudeColumn(_: string): this;
24
- longitudeColumn(): string;
25
- longitudeColumn(_: string): this;
26
- strokeColor(): string;
27
- strokeColor(_: string): this;
28
- omitNullLatLong(): boolean;
29
- omitNullLatLong(_: boolean): this;
30
- }
31
- export declare class Lines extends Path {
32
- lineData(): Array<{
33
- type: string;
34
- coordinates: Coordinates;
35
- }>;
36
- }
37
- export interface Lines {
38
- latitude2Column(): string;
39
- latitude2Column(_: string): this;
40
- longitude2Column(): string;
41
- longitude2Column(_: string): this;
42
- }
43
- //# sourceMappingURL=Path.d.ts.map
@@ -1,32 +0,0 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { Markers } from "./Markers";
3
- export declare class Pins extends Markers {
4
- constructor(cluster?: boolean);
5
- layerUpdate(map: Map): void;
6
- }
7
- export interface Pins {
8
- faChar(): string;
9
- faChar(_: string): any;
10
- faCharColumn(): string;
11
- faCharColumn(_: string): any;
12
- faCharColumn_exists(): boolean;
13
- faCharColor(): string;
14
- faCharColor(_: string): any;
15
- faCharColorColumn(): string;
16
- faCharColorColumn(_: string): any;
17
- faCharColorColumn_exists(): boolean;
18
- strokeColor(): string;
19
- strokeColor(_: string): any;
20
- strokeColorColumn(): string;
21
- strokeColorColumn(_: string): any;
22
- strokColorColumn_exists(): boolean;
23
- fillColor(): string;
24
- fillColor(_: string): any;
25
- fillColorColumn(): string;
26
- fillColorColumn(_: string): any;
27
- fillColorColumn_exists(): boolean;
28
- }
29
- export declare class ClusterPins extends Pins {
30
- constructor();
31
- }
32
- //# sourceMappingURL=Pins.d.ts.map
@@ -1,36 +0,0 @@
1
- import { LeafletEvent, Map } from "@hpcc-js/leaflet-shim";
2
- import { FeatureLayer } from "./FeatureLayer";
3
- type Lat = number;
4
- type Lon = number;
5
- type Point = [
6
- Lon,
7
- Lat
8
- ];
9
- export declare class Polygons extends FeatureLayer {
10
- _palette: any;
11
- protected fixDateLine(points: Point[]): Point[];
12
- hasBounds(): boolean;
13
- updateHexagons(): void;
14
- layerUpdate(map: Map): void;
15
- zoomEnd(e: LeafletEvent): void;
16
- moveEnd(e: LeafletEvent): void;
17
- clickHandler(e: any, row: any): void;
18
- }
19
- export interface Polygons {
20
- paletteID(): string;
21
- paletteID(_: string): this;
22
- paletteID_exists(): boolean;
23
- useClonedPalette(): boolean;
24
- useClonedPalette(_: boolean): this;
25
- useClonedPalette_exists(): boolean;
26
- polygonColumn(): string;
27
- polygonColumn(_: string): this;
28
- weightColumn(): string;
29
- weightColumn(_: string): this;
30
- opacity(): number;
31
- opacity(_: number): this;
32
- opacity_default(_: number): this;
33
- opacity_exists(): boolean;
34
- }
35
- export {};
36
- //# sourceMappingURL=Polygons.d.ts.map
@@ -1,15 +0,0 @@
1
- import { World } from "./World";
2
- export declare class Region extends World {
3
- constructor();
4
- protected fetchTopo(regionID: string): Promise<any>;
5
- protected fetchTopoIdx(regionID: string): Promise<unknown>;
6
- updateDataMap(_?: any): void;
7
- _prevRegion: string;
8
- init(): Promise<void>;
9
- tooltipHandler(l: any, featureID: any): string;
10
- }
11
- export interface Region {
12
- region(): string;
13
- region(_: string): this;
14
- }
15
- //# sourceMappingURL=Region.d.ts.map
@@ -1,41 +0,0 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { Markers } from "./Markers";
3
- export declare class Text extends Markers {
4
- constructor(cluster?: boolean);
5
- layerUpdate(map: Map): void;
6
- }
7
- export interface Text {
8
- text(): string;
9
- text(_: string): any;
10
- textColumn(): string;
11
- textColumn(_: string): any;
12
- textColumn_exists(): boolean;
13
- textColor(): string;
14
- textColor(_: string): any;
15
- textColorColumn(): string;
16
- textColorColumn(_: string): any;
17
- textColorColumn_exists(): boolean;
18
- strokeColor(): string;
19
- strokeColor(_: string): any;
20
- strokeColorColumn(): string;
21
- strokeColorColumn(_: string): any;
22
- strokColorColumn_exists(): boolean;
23
- fillColor(): string;
24
- fillColor(_: string): any;
25
- fillColorColumn(): string;
26
- fillColorColumn(_: string): any;
27
- fillColorColumn_exists(): boolean;
28
- fontFamily(): string;
29
- fontFamily(_: string): any;
30
- fontFamily_exists(): boolean;
31
- fontSize(): number;
32
- fontSize(_: number): any;
33
- textOffsetX(): number;
34
- textOffsetX(_: number): this;
35
- textOffsetY(): number;
36
- textOffsetY(_: number): this;
37
- textFormat(): string;
38
- textFormat(_: string): this;
39
- textFormat_exists(): boolean;
40
- }
41
- //# sourceMappingURL=Text.d.ts.map
@@ -1,33 +0,0 @@
1
- import { Widget } from "@hpcc-js/common";
2
- import { LatLngBounds, LeafletEvent, Map } from "@hpcc-js/leaflet-shim";
3
- export interface ILayer {
4
- init(): Promise<void>;
5
- hasBounds(): boolean;
6
- getBounds(): LatLngBounds;
7
- layerEnter(map: Map): any;
8
- layerUpdate(map: Map): any;
9
- layerExit(map: Map): any;
10
- zoomEnd(e: any): any;
11
- moveEnd(e: any): any;
12
- viewReset(e: any): any;
13
- }
14
- export declare class TileLayer extends Widget implements ILayer {
15
- private _layer;
16
- protected _crs: any;
17
- constructor(cluster?: boolean);
18
- crs(): any;
19
- attribution(): string;
20
- clear(): void;
21
- add(layer: any): void;
22
- protected _initPromise: any;
23
- init(): Promise<void>;
24
- hasBounds(): boolean;
25
- getBounds(): LatLngBounds;
26
- layerEnter(map: Map): void;
27
- layerUpdate(map: Map): void;
28
- layerExit(map: Map): void;
29
- zoomEnd(e: LeafletEvent): void;
30
- moveEnd(e: LeafletEvent): void;
31
- viewReset(e: LeafletEvent): void;
32
- }
33
- //# sourceMappingURL=TileLayer.d.ts.map
@@ -1,14 +0,0 @@
1
- import { GeoJSON, Map } from "@hpcc-js/leaflet-shim";
2
- import { FeatureLayer } from "./FeatureLayer";
3
- export declare function fixDateLine(feature: any, layer: any): void;
4
- export declare class TopoJSON extends GeoJSON {
5
- constructor(data: any, options: any);
6
- addData(data: any): this;
7
- }
8
- export declare class TopoJSONLayer extends FeatureLayer {
9
- initStates(): Promise<void>;
10
- initCounties(): Promise<void>;
11
- init(): Promise<void>;
12
- layerEnter(map: Map): void;
13
- }
14
- //# sourceMappingURL=TopoJSON.d.ts.map
@@ -1,7 +0,0 @@
1
- import { LatLngBounds } from "@hpcc-js/leaflet-shim";
2
- import { World } from "./World";
3
- export declare class US extends World {
4
- constructor();
5
- getBounds(): LatLngBounds;
6
- }
7
- //# sourceMappingURL=US.d.ts.map
@@ -1,6 +0,0 @@
1
- import { US } from "./US";
2
- export declare class USCounties extends US {
3
- init(): Promise<void>;
4
- tooltipHandler(l: any, featureID: any): string;
5
- }
6
- //# sourceMappingURL=USCounties.d.ts.map
@@ -1,6 +0,0 @@
1
- import { US } from "./US";
2
- export declare class USStates extends US {
3
- init(): Promise<void>;
4
- tooltipHandler(l: any, featureID: any): string;
5
- }
6
- //# sourceMappingURL=USStates.d.ts.map
@@ -1,59 +0,0 @@
1
- import { Utility } from "@hpcc-js/common";
2
- import { LatLngBounds, Map } from "@hpcc-js/leaflet-shim";
3
- import { FeatureLayer } from "./FeatureLayer";
4
- import "../../src/leaflet/World.css";
5
- export declare class World extends FeatureLayer {
6
- protected _features: any;
7
- protected _selection: Utility.SimpleSelection;
8
- _palette: any;
9
- protected _dataMap: {};
10
- protected _dataMinWeight: any;
11
- protected _dataMaxWeight: any;
12
- constructor();
13
- hasBounds(): boolean;
14
- getBounds(): LatLngBounds;
15
- updateDataMap(_?: any): void;
16
- data(_?: any): any;
17
- styleFeature(feature: any): {
18
- color: string;
19
- opacity: number;
20
- weight: number;
21
- fillColor: any;
22
- fillOpacity: number;
23
- };
24
- svgGlowID(): string;
25
- private _topoJson;
26
- private _svgElement;
27
- layerEnter(map: Map): void;
28
- private _prevFeatures;
29
- layerUpdate(map: Map): void;
30
- clickHandler(e: any, l: any, featureID: any): boolean;
31
- tooltipText(row: object, tooltip: string): string;
32
- tooltipHandler(l: any, featureID: any): string;
33
- click(row: any, col: any, sel: any): void;
34
- }
35
- export interface World {
36
- autoScaleMode(): string;
37
- autoScaleMode(_: string): this;
38
- autoScaleMode_exists(): boolean;
39
- paletteID(): string;
40
- paletteID(_: string): this;
41
- paletteID_exists(): boolean;
42
- useClonedPalette(): boolean;
43
- useClonedPalette(_: boolean): this;
44
- useClonedPalette_exists(): boolean;
45
- opacity(): number;
46
- opacity(_: number): this;
47
- opacity_default(_: number): this;
48
- opacity_exists(): boolean;
49
- meshVisible(): boolean;
50
- meshVisible(_: boolean): this;
51
- meshVisible_exists(): boolean;
52
- meshColor(): string;
53
- meshColor(_: string): this;
54
- meshColor_exists(): boolean;
55
- meshStrokeWidth(): number;
56
- meshStrokeWidth(_: number): this;
57
- meshStrokeWidth_exists(): boolean;
58
- }
59
- //# sourceMappingURL=World.d.ts.map
@@ -1,19 +0,0 @@
1
- export * from "./Circles";
2
- export * from "./ClusterCircles";
3
- export * from "./Countries";
4
- export * from "./DrawLayer";
5
- export * from "./FeatureLayer";
6
- export * from "./HeatLayer";
7
- export * from "./Icons";
8
- export * from "./Leaflet";
9
- export * from "./Markers";
10
- export * from "./Polygons";
11
- export * from "./Path";
12
- export * from "./Pins";
13
- export * from "./Region";
14
- export * from "./Text";
15
- export * from "./TileLayer";
16
- export * from "./USCounties";
17
- export * from "./USStates";
18
- export * from "./World";
19
- //# sourceMappingURL=index.d.ts.map
@@ -1,24 +0,0 @@
1
- import { Region } from "./leaflet/Region";
2
- import { Countries } from "./leaflet/Countries";
3
- import { USCounties } from "./leaflet/USCounties";
4
- import { USStates } from "./leaflet/USStates";
5
- import { Leaflet } from "./leaflet/Leaflet";
6
- export declare class Test1 extends Countries {
7
- constructor();
8
- }
9
- export declare class Test2 extends USStates {
10
- constructor();
11
- }
12
- export declare class Test3 extends USCounties {
13
- constructor();
14
- }
15
- export declare class Test4 extends Region {
16
- constructor();
17
- }
18
- export declare class Test5 extends Leaflet {
19
- constructor();
20
- }
21
- export declare class Test extends Region {
22
- constructor();
23
- }
24
- //# sourceMappingURL=test.d.ts.map