@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,5 +1,4 @@
1
- import { TileLayer } from "./TileLayer";
1
+ import { TileLayer } from "./TileLayer.ts";
2
2
  export declare class BlankLayer extends TileLayer {
3
3
  constructor();
4
4
  }
5
- //# sourceMappingURL=Blank.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { ClusterLayer, D3SurfaceLayer } from "./FeatureLayer";
1
+ import { Map } from "./leaflet-shim.ts";
2
+ import { ClusterLayer, D3SurfaceLayer } from "./FeatureLayer.ts";
3
3
  export declare class Circles extends ClusterLayer {
4
4
  hasBounds(): boolean;
5
5
  layerUpdate(map: Map): void;
@@ -53,4 +53,3 @@ export interface D3Circles {
53
53
  omitNullLatLong(): boolean;
54
54
  omitNullLatLong(_: boolean): any;
55
55
  }
56
- //# sourceMappingURL=Circles.d.ts.map
@@ -1,5 +1,5 @@
1
- import { DivIcon, Map } from "@hpcc-js/leaflet-shim";
2
- import { FeatureLayer } from "./FeatureLayer";
1
+ import { DivIcon, Map } from "./leaflet-shim.ts";
2
+ import { FeatureLayer } from "./FeatureLayer.ts";
3
3
  import "../../src/leaflet/ClusterCircles.css";
4
4
  export declare class ClusterCircles extends FeatureLayer {
5
5
  _palette: any;
@@ -27,4 +27,3 @@ export interface ClusterCircles {
27
27
  opacity_default(_: number): this;
28
28
  opacity_exists(): boolean;
29
29
  }
30
- //# sourceMappingURL=ClusterCircles.d.ts.map
@@ -1,7 +1,6 @@
1
- import { World } from "./World";
1
+ import { World } from "./World.ts";
2
2
  export declare class Countries extends World {
3
3
  constructor();
4
4
  init(): Promise<void>;
5
5
  tooltipHandler(l: any, featureID: any): string;
6
6
  }
7
- //# sourceMappingURL=Countries.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Circle, Control, LatLng, LatLngBounds, LatLngExpression, Map, Polygon, Polyline, Rectangle } from "@hpcc-js/leaflet-shim";
2
- import { FeatureLayer } from "./FeatureLayer";
1
+ import { Circle, Control, LatLng, LatLngBounds, LatLngExpression, Map, Polygon, Polyline, Rectangle } from "./leaflet-shim.ts";
2
+ import { FeatureLayer } from "./FeatureLayer.ts";
3
3
  export interface DrawState {
4
4
  polylines: LatLngExpression[][];
5
5
  polygons: Array<LatLng[] | LatLng[][] | LatLng[][][]>;
@@ -37,4 +37,3 @@ export interface DrawLayer {
37
37
  enableCircle(): boolean;
38
38
  enableCircle(_: boolean): this;
39
39
  }
40
- //# sourceMappingURL=DrawLayer.d.ts.map
@@ -1,7 +1,7 @@
1
1
  import { HTMLWidget, Utility } from "@hpcc-js/common";
2
- import { D3SvgOverlay, FeatureGroup, LatLngBounds, LeafletEvent, Map, MarkerClusterGroup } from "@hpcc-js/leaflet-shim";
3
- import { Leaflet } from "./Leaflet";
4
- import { ILayer } from "./TileLayer";
2
+ import { D3SvgOverlay, FeatureGroup, LatLngBounds, LeafletEvent, Map, MarkerClusterGroup } from "./leaflet-shim.ts";
3
+ import { Leaflet } from "./Leaflet.ts";
4
+ import { ILayer } from "./TileLayer.ts";
5
5
  export declare class FeatureLayer extends Leaflet implements ILayer {
6
6
  protected _layer: FeatureGroup | MarkerClusterGroup;
7
7
  protected _selection: Utility.SimpleSelection;
@@ -37,4 +37,3 @@ export declare class D3SurfaceLayer extends FeatureLayer {
37
37
  layerUpdate(map: Map, projection?: any): void;
38
38
  clickHandler(e: any, row: any): void;
39
39
  }
40
- //# sourceMappingURL=FeatureLayer.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { TileLayer } from "./TileLayer";
1
+ import { Map } from "./leaflet-shim.ts";
2
+ import { TileLayer } from "./TileLayer.ts";
3
3
  export declare class GMapLayer extends TileLayer {
4
4
  constructor();
5
5
  init(): Promise<void>;
@@ -11,4 +11,3 @@ export interface GMapLayer {
11
11
  googleMapStyles(): object;
12
12
  googleMapStyles(_: object): this;
13
13
  }
14
- //# sourceMappingURL=GMap.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { FeatureLayer } from "./FeatureLayer";
1
+ import { Map } from "./leaflet-shim.ts";
2
+ import { FeatureLayer } from "./FeatureLayer.ts";
3
3
  export declare class HeatLayer extends FeatureLayer {
4
4
  hasBounds(): boolean;
5
5
  layerUpdate(map: Map): void;
@@ -29,4 +29,3 @@ export interface HeatLayer {
29
29
  gradient(): object;
30
30
  gradient(_: object): any;
31
31
  }
32
- //# sourceMappingURL=HeatLayer.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { Markers } from "./Markers";
1
+ import { Map } from "./leaflet-shim.ts";
2
+ import { Markers } from "./Markers.ts";
3
3
  export declare class Icons extends Markers {
4
4
  constructor(cluster?: boolean);
5
5
  layerUpdate(map: Map): void;
@@ -23,4 +23,3 @@ export interface Icons {
23
23
  export declare class ClusterIcons extends Icons {
24
24
  constructor();
25
25
  }
26
- //# sourceMappingURL=Icons.d.ts.map
@@ -1,10 +1,10 @@
1
- import { HTMLWidget, IconBar, publish, Widget } from "@hpcc-js/common";
2
- import { AlbersLayer } from "./AlbersPR";
3
- import { BlankLayer } from "./Blank";
4
- import { GMapLayer } from "./GMap";
5
- import { MapBoxLayer } from "./MapBox";
6
- import { OpenStreetLayer } from "./OpenStreet";
7
- import { ILayer, TileLayer } from "./TileLayer";
1
+ import { HTMLWidget, IconBar, Widget } from "@hpcc-js/common";
2
+ import { AlbersLayer } from "./AlbersPR.ts";
3
+ import { BlankLayer } from "./Blank.ts";
4
+ import { GMapLayer } from "./GMap.ts";
5
+ import { MapBoxLayer } from "./MapBox.ts";
6
+ import { OpenStreetLayer } from "./OpenStreet.ts";
7
+ import { ILayer, TileLayer } from "./TileLayer.ts";
8
8
  import "../../src/leaflet/Leaflet.css";
9
9
  export declare class Leaflet extends HTMLWidget {
10
10
  protected _leafletElement: any;
@@ -48,6 +48,6 @@ export interface Leaflet {
48
48
  defaultLong(_: number): this;
49
49
  defaultZoom(): number;
50
50
  defaultZoom(_: number): this;
51
- autoZoomToFit: publish<this, boolean>;
51
+ autoZoomToFit(): boolean;
52
+ autoZoomToFit(_: boolean): this;
52
53
  }
53
- //# sourceMappingURL=Leaflet.d.ts.map
@@ -1,9 +1,8 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { TileLayer } from "./TileLayer";
1
+ import { Map } from "./leaflet-shim.ts";
2
+ import { TileLayer } from "./TileLayer.ts";
3
3
  export declare class MapBoxLayer extends TileLayer {
4
4
  constructor();
5
5
  attribution(): string;
6
6
  getMaxZoom(): number;
7
7
  layerEnter(map: Map): void;
8
8
  }
9
- //# sourceMappingURL=MapBox.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Map, Direction } from "@hpcc-js/leaflet-shim";
2
- import { ClusterLayer } from "./FeatureLayer";
1
+ import { Map, Direction } from "./leaflet-shim.ts";
2
+ import { ClusterLayer } from "./FeatureLayer.ts";
3
3
  export declare class Markers extends ClusterLayer {
4
4
  constructor(cluster?: boolean);
5
5
  hasBounds(): boolean;
@@ -35,4 +35,3 @@ export interface Markers {
35
35
  popupOffsetY(): number;
36
36
  popupOffsetY(_: number): any;
37
37
  }
38
- //# sourceMappingURL=Markers.d.ts.map
@@ -1,9 +1,8 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { TileLayer } from "./TileLayer";
1
+ import { Map } from "./leaflet-shim.ts";
2
+ import { TileLayer } from "./TileLayer.ts";
3
3
  export declare class OpenStreetLayer extends TileLayer {
4
4
  constructor();
5
5
  attribution(): string;
6
6
  getMaxZoom(): number;
7
7
  layerEnter(map: Map): void;
8
8
  }
9
- //# sourceMappingURL=OpenStreet.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { D3SurfaceLayer } from "./FeatureLayer";
1
+ import { Map } from "./leaflet-shim.ts";
2
+ import { D3SurfaceLayer } from "./FeatureLayer.ts";
3
3
  export type Coordinate = [number, number];
4
4
  export type Coordinates = [Coordinate, Coordinate];
5
5
  export declare class Path extends D3SurfaceLayer {
@@ -34,4 +34,3 @@ export interface Lines {
34
34
  longitude2Column(): string;
35
35
  longitude2Column(_: string): this;
36
36
  }
37
- //# sourceMappingURL=Path.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { Markers } from "./Markers";
1
+ import { Map } from "./leaflet-shim.ts";
2
+ import { Markers } from "./Markers.ts";
3
3
  export declare class Pins extends Markers {
4
4
  constructor(cluster?: boolean);
5
5
  layerUpdate(map: Map): void;
@@ -29,4 +29,3 @@ export interface Pins {
29
29
  export declare class ClusterPins extends Pins {
30
30
  constructor();
31
31
  }
32
- //# sourceMappingURL=Pins.d.ts.map
@@ -1,5 +1,5 @@
1
- import { LeafletEvent, Map } from "@hpcc-js/leaflet-shim";
2
- import { FeatureLayer } from "./FeatureLayer";
1
+ import { LeafletEvent, Map } from "./leaflet-shim.ts";
2
+ import { FeatureLayer } from "./FeatureLayer.ts";
3
3
  type Lat = number;
4
4
  type Lon = number;
5
5
  type Point = [Lon, Lat];
@@ -30,4 +30,3 @@ export interface Polygons {
30
30
  opacity_exists(): boolean;
31
31
  }
32
32
  export {};
33
- //# sourceMappingURL=Polygons.d.ts.map
@@ -1,4 +1,4 @@
1
- import { World } from "./World";
1
+ import { World } from "./World.ts";
2
2
  export declare class Region extends World {
3
3
  constructor();
4
4
  protected fetchTopo(regionID: string): Promise<any>;
@@ -12,4 +12,3 @@ export interface Region {
12
12
  region(): string;
13
13
  region(_: string): this;
14
14
  }
15
- //# sourceMappingURL=Region.d.ts.map
@@ -1,5 +1,5 @@
1
- import { Map } from "@hpcc-js/leaflet-shim";
2
- import { Markers } from "./Markers";
1
+ import { Map } from "./leaflet-shim.ts";
2
+ import { Markers } from "./Markers.ts";
3
3
  export declare class Text extends Markers {
4
4
  constructor(cluster?: boolean);
5
5
  layerUpdate(map: Map): void;
@@ -38,4 +38,3 @@ export interface Text {
38
38
  textFormat(_: string): this;
39
39
  textFormat_exists(): boolean;
40
40
  }
41
- //# sourceMappingURL=Text.d.ts.map
@@ -1,5 +1,5 @@
1
1
  import { Widget } from "@hpcc-js/common";
2
- import { LatLngBounds, LeafletEvent, Map } from "@hpcc-js/leaflet-shim";
2
+ import { LatLngBounds, LeafletEvent, Map } from "./leaflet-shim.ts";
3
3
  export interface ILayer {
4
4
  init(): Promise<void>;
5
5
  hasBounds(): boolean;
@@ -30,4 +30,3 @@ export declare class TileLayer extends Widget implements ILayer {
30
30
  moveEnd(e: LeafletEvent): void;
31
31
  viewReset(e: LeafletEvent): void;
32
32
  }
33
- //# sourceMappingURL=TileLayer.d.ts.map
@@ -1,5 +1,5 @@
1
- import { GeoJSON, Map } from "@hpcc-js/leaflet-shim";
2
- import { FeatureLayer } from "./FeatureLayer";
1
+ import { GeoJSON, Map } from "./leaflet-shim.ts";
2
+ import { FeatureLayer } from "./FeatureLayer.ts";
3
3
  export declare function fixDateLine(feature: any, layer: any): void;
4
4
  export declare class TopoJSON extends GeoJSON {
5
5
  constructor(data: any, options: any);
@@ -11,4 +11,3 @@ export declare class TopoJSONLayer extends FeatureLayer {
11
11
  init(): Promise<void>;
12
12
  layerEnter(map: Map): void;
13
13
  }
14
- //# sourceMappingURL=TopoJSON.d.ts.map
@@ -1,7 +1,6 @@
1
- import { LatLngBounds } from "@hpcc-js/leaflet-shim";
2
- import { World } from "./World";
1
+ import { LatLngBounds } from "./leaflet-shim.ts";
2
+ import { World } from "./World.ts";
3
3
  export declare class US extends World {
4
4
  constructor();
5
5
  getBounds(): LatLngBounds;
6
6
  }
7
- //# sourceMappingURL=US.d.ts.map
@@ -1,6 +1,5 @@
1
- import { US } from "./US";
1
+ import { US } from "./US.ts";
2
2
  export declare class USCounties extends US {
3
3
  init(): Promise<void>;
4
4
  tooltipHandler(l: any, featureID: any): string;
5
5
  }
6
- //# sourceMappingURL=USCounties.d.ts.map
@@ -1,6 +1,5 @@
1
- import { US } from "./US";
1
+ import { US } from "./US.ts";
2
2
  export declare class USStates extends US {
3
3
  init(): Promise<void>;
4
4
  tooltipHandler(l: any, featureID: any): string;
5
5
  }
6
- //# sourceMappingURL=USStates.d.ts.map
@@ -1,10 +1,8 @@
1
- import { Utility } from "@hpcc-js/common";
2
- import { LatLngBounds, Map } from "@hpcc-js/leaflet-shim";
3
- import { FeatureLayer } from "./FeatureLayer";
1
+ import { LatLngBounds, Map } from "./leaflet-shim.ts";
2
+ import { FeatureLayer } from "./FeatureLayer.ts";
4
3
  import "../../src/leaflet/World.css";
5
4
  export declare class World extends FeatureLayer {
6
5
  protected _features: any;
7
- protected _selection: Utility.SimpleSelection;
8
6
  _palette: any;
9
7
  protected _dataMap: {};
10
8
  protected _dataMinWeight: any;
@@ -33,9 +31,6 @@ export declare class World extends FeatureLayer {
33
31
  click(row: any, col: any, sel: any): void;
34
32
  }
35
33
  export interface World {
36
- autoScaleMode(): string;
37
- autoScaleMode(_: string): this;
38
- autoScaleMode_exists(): boolean;
39
34
  paletteID(): string;
40
35
  paletteID(_: string): this;
41
36
  paletteID_exists(): boolean;
@@ -55,5 +50,7 @@ export interface World {
55
50
  meshStrokeWidth(): number;
56
51
  meshStrokeWidth(_: number): this;
57
52
  meshStrokeWidth_exists(): boolean;
53
+ internalOnly(): boolean;
54
+ internalOnly(_: boolean): this;
55
+ internalOnly_exists(): boolean;
58
56
  }
59
- //# sourceMappingURL=World.d.ts.map
@@ -1,19 +1,18 @@
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
+ export * from "./Circles.ts";
2
+ export * from "./ClusterCircles.ts";
3
+ export * from "./Countries.ts";
4
+ export * from "./DrawLayer.ts";
5
+ export * from "./FeatureLayer.ts";
6
+ export * from "./HeatLayer.ts";
7
+ export * from "./Icons.ts";
8
+ export * from "./Leaflet.ts";
9
+ export * from "./Markers.ts";
10
+ export * from "./Polygons.ts";
11
+ export * from "./Path.ts";
12
+ export * from "./Pins.ts";
13
+ export * from "./Region.ts";
14
+ export * from "./Text.ts";
15
+ export * from "./TileLayer.ts";
16
+ export * from "./USCounties.ts";
17
+ export * from "./USStates.ts";
18
+ export * from "./World.ts";
@@ -0,0 +1,14 @@
1
+ import L, { Circle, Control, CRS, Direction, DivIcon, Draw, FeatureGroup, GeoJSON, Icon, LatLng, LatLngBounds, LatLngExpression, LeafletEvent, Map, Marker, point, Point, Polygon, Polyline, Rectangle, TileLayer, Transformation, Util } from "leaflet";
2
+ import "leaflet/dist/leaflet.css";
3
+ import "leaflet-draw";
4
+ import "leaflet-draw/dist/leaflet.draw.css";
5
+ import "leaflet.markercluster";
6
+ import "leaflet.markercluster/dist/MarkerCluster.css";
7
+ import "leaflet.markercluster/dist/MarkerCluster.Default.css";
8
+ export { GoogleMutant } from "./plugins/Leaflet.GoogleMutant.ts";
9
+ export { BeautifyIcon } from "./plugins/BeautifyIcon.ts";
10
+ export { D3SvgOverlay } from "./plugins/D3SvgOverlay.ts";
11
+ export { HeatLayer as LHeatLayer } from "./plugins/HeatLayer.ts";
12
+ export type MarkerClusterGroup = L.MarkerClusterGroup;
13
+ export declare const MarkerClusterGroup: typeof L.MarkerClusterGroup;
14
+ export { L, Circle, Control, CRS, Direction, DivIcon, Draw, FeatureGroup, GeoJSON, Icon, LatLng, LatLngBounds, LatLngExpression, LeafletEvent, Map, Marker, point, Point, Polygon, Polyline, Rectangle, TileLayer, Transformation, Util };
@@ -0,0 +1,2 @@
1
+ import "./BeautifyIcon.css";
2
+ export declare function BeautifyIcon(options: any): any;
@@ -0,0 +1,36 @@
1
+ import * as L from "leaflet";
2
+ import "./D3SvgOverlay.css";
3
+ export declare class LeafletLayer extends L.Layer {
4
+ _rootGroup: any;
5
+ }
6
+ export type DrawCallback = (element: any, projection: any, zoom: any) => void;
7
+ export declare class D3SvgOverlay extends LeafletLayer {
8
+ private _svg;
9
+ map: any;
10
+ selection: any;
11
+ projection: any;
12
+ private _pixelOrigin;
13
+ private _zoomDiff;
14
+ private _zoom;
15
+ private _scale;
16
+ private _shift;
17
+ private _wgsOrigin;
18
+ private _wgsInitialShift;
19
+ constructor(options?: {});
20
+ svg(): any;
21
+ private _drawCallback;
22
+ drawCallback(): DrawCallback;
23
+ drawCallback(_: DrawCallback): this;
24
+ getBounds(): L.LatLngBounds;
25
+ _undef(a: any): a is undefined;
26
+ _options(options: any): any;
27
+ draw(): void;
28
+ _zoomChange(evt: any): void;
29
+ onAdd(map: any): this;
30
+ getEvents(): {
31
+ zoomend: (evt: any) => void;
32
+ viewreset: (evt: any) => void;
33
+ };
34
+ onRemove(map: any): this;
35
+ addTo(map: any): this;
36
+ }
@@ -0,0 +1,23 @@
1
+ import * as L from "leaflet";
2
+ export declare class LeafletLayer2 extends L.Layer {
3
+ }
4
+ export declare class HeatLayer extends LeafletLayer2 {
5
+ _latlngs: any;
6
+ _heat: any;
7
+ _frame: any;
8
+ _canvas: any;
9
+ constructor(latlngs: any, options?: {});
10
+ initialize(options: any): void;
11
+ setLatLngs(latlngs: any): this;
12
+ addLatLng(latlng: any): this;
13
+ setOptions(options: any): this;
14
+ redraw(): this;
15
+ onAdd(map: any): this;
16
+ onRemove(map: any): this;
17
+ addTo(map: any): this;
18
+ _initCanvas(): void;
19
+ _updateOptions(): void;
20
+ _reset(): void;
21
+ _redraw(): void;
22
+ _animateZoom(e: any): void;
23
+ }
@@ -0,0 +1 @@
1
+ export declare const GoogleMutant: any;
@@ -0,0 +1,33 @@
1
+ declare class Entry<T> {
2
+ key: string;
3
+ value: T;
4
+ constructor(key: string, value: T);
5
+ }
6
+ export declare class LRUMap<T> {
7
+ size: number;
8
+ limit: number;
9
+ oldest: Entry<T>;
10
+ newest: Entry<T>;
11
+ _keymap: Map<string, Entry<T>>;
12
+ constructor(entries: Entry<T>[]);
13
+ constructor(limit: number, entries: Entry<T>[]);
14
+ _markEntryAsUsed(entry: Entry<T>): void;
15
+ assign(entries: Entry<T>[]): void;
16
+ get(key: string): T;
17
+ set(key: string, value: T): this;
18
+ shift(): (string | T)[];
19
+ find(key: string): T;
20
+ has(key: string): boolean;
21
+ delete(key: string): T;
22
+ clear(): void;
23
+ keys(): any;
24
+ values(): any;
25
+ entries(): this;
26
+ [Symbol.iterator](): any;
27
+ forEach(fun: any, thisObj: any): void;
28
+ /** Returns a JSON (array) representation */
29
+ toJSON(): any[];
30
+ /** Returns a String representation */
31
+ toString(): string;
32
+ }
33
+ export {};