@tachyon-charts/geo 0.0.0-stage → 1.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/LICENSE +202 -0
- package/README.md +10 -2
- package/dist/charts.d.ts +24 -0
- package/dist/charts.d.ts.map +1 -0
- package/dist/charts.js +36 -0
- package/dist/charts.js.map +1 -0
- package/dist/geo-map.d.ts +92 -0
- package/dist/geo-map.d.ts.map +1 -0
- package/dist/geo-map.js +408 -0
- package/dist/geo-map.js.map +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/index.js.map +1 -0
- package/dist/map-series.d.ts +95 -0
- package/dist/map-series.d.ts.map +1 -0
- package/dist/map-series.js +370 -0
- package/dist/map-series.js.map +1 -0
- package/dist/projection.d.ts +51 -0
- package/dist/projection.d.ts.map +1 -0
- package/dist/projection.js +96 -0
- package/dist/projection.js.map +1 -0
- package/dist/shapefile.d.ts +48 -0
- package/dist/shapefile.d.ts.map +1 -0
- package/dist/shapefile.js +210 -0
- package/dist/shapefile.js.map +1 -0
- package/dist/tiles.d.ts +118 -0
- package/dist/tiles.d.ts.map +1 -0
- package/dist/tiles.js +338 -0
- package/dist/tiles.js.map +1 -0
- package/dist/triangulator.d.ts +20 -0
- package/dist/triangulator.d.ts.map +1 -0
- package/dist/triangulator.js +270 -0
- package/dist/triangulator.js.map +1 -0
- package/maps/countries-10m.tgeo.gz +0 -0
- package/maps/countries-110m.tgeo.gz +0 -0
- package/maps/countries-50m.tgeo.gz +0 -0
- package/package.json +37 -3
package/dist/geo-map.js
ADDED
|
@@ -0,0 +1,408 @@
|
|
|
1
|
+
// Maps of regions in degrees, as GeoMap, GeoRegion and WorldMap of the .NET version, in the same packed form ("TGEO",
|
|
2
|
+
// version 1, gzip): the countries of the world come with the package, so a map works without the internet.
|
|
3
|
+
import { Polygon, PolygonRing } from '@tachyon-charts/core';
|
|
4
|
+
import { triangulateArea } from './triangulator.js';
|
|
5
|
+
const magic = 0x4f454754; // "TGEO"
|
|
6
|
+
const formatVersion = 1;
|
|
7
|
+
/** A region of a map, such as a country: its name, its code and its areas in degrees of longitude and latitude. */
|
|
8
|
+
export class GeoRegion {
|
|
9
|
+
name;
|
|
10
|
+
code;
|
|
11
|
+
polygons;
|
|
12
|
+
cut;
|
|
13
|
+
/** The box of the region in degrees. */
|
|
14
|
+
bounds;
|
|
15
|
+
/**
|
|
16
|
+
* @param name - The name.
|
|
17
|
+
* @param code - The code, such as ISO 3166 alpha-3 for countries.
|
|
18
|
+
* @param polygons - The areas, X the longitude and Y the latitude in degrees.
|
|
19
|
+
*/
|
|
20
|
+
constructor(
|
|
21
|
+
/** The name. */
|
|
22
|
+
name,
|
|
23
|
+
/** The code. */
|
|
24
|
+
code,
|
|
25
|
+
/** The areas, X the longitude and Y the latitude in degrees. */
|
|
26
|
+
polygons) {
|
|
27
|
+
this.name = name;
|
|
28
|
+
this.code = code;
|
|
29
|
+
this.polygons = polygons;
|
|
30
|
+
this.cut = new Array(polygons.length);
|
|
31
|
+
let west = Infinity;
|
|
32
|
+
let south = Infinity;
|
|
33
|
+
let east = -Infinity;
|
|
34
|
+
let north = -Infinity;
|
|
35
|
+
for (const polygon of polygons) {
|
|
36
|
+
const outer = polygon.outer;
|
|
37
|
+
for (let i = 0; i < outer.count; i++) {
|
|
38
|
+
west = Math.min(west, outer.x[i]);
|
|
39
|
+
south = Math.min(south, outer.y[i]);
|
|
40
|
+
east = Math.max(east, outer.x[i]);
|
|
41
|
+
north = Math.max(north, outer.y[i]);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
this.bounds = { west, south, east, north };
|
|
45
|
+
}
|
|
46
|
+
/** The triangles of an area, cut once when first asked for. */
|
|
47
|
+
triangles(polygon) {
|
|
48
|
+
let cut = this.cut[polygon];
|
|
49
|
+
if (!cut) {
|
|
50
|
+
const area = this.polygons[polygon];
|
|
51
|
+
cut = triangulateArea(area.outer, area.holes);
|
|
52
|
+
this.cut[polygon] = cut;
|
|
53
|
+
}
|
|
54
|
+
return cut;
|
|
55
|
+
}
|
|
56
|
+
/** @internal Takes triangles cut before, as a packed map holds them. */
|
|
57
|
+
setTriangles(polygon, triangles) {
|
|
58
|
+
this.cut[polygon] = triangles;
|
|
59
|
+
}
|
|
60
|
+
/** Whether a place in degrees lies in one of the areas. */
|
|
61
|
+
contains(longitude, latitude) {
|
|
62
|
+
const box = this.bounds;
|
|
63
|
+
if (longitude < box.west || longitude > box.east || latitude < box.south || latitude > box.north) {
|
|
64
|
+
return false;
|
|
65
|
+
}
|
|
66
|
+
return this.polygons.some((polygon) => polygon.contains(longitude, latitude));
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
/** A map file in its packed form that cannot be read. */
|
|
70
|
+
export class GeoMapError extends Error {
|
|
71
|
+
constructor(message) {
|
|
72
|
+
super(message);
|
|
73
|
+
this.name = 'GeoMapError';
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* A map: regions with names and codes, such as the countries of the world, in degrees of longitude and latitude. It
|
|
78
|
+
* comes from a shapefile or from {@link WorldMap}, and keeps in a compact packed form of its own.
|
|
79
|
+
*/
|
|
80
|
+
export class GeoMap {
|
|
81
|
+
regions;
|
|
82
|
+
byCode = new Map();
|
|
83
|
+
/** @param regions - The regions. */
|
|
84
|
+
constructor(
|
|
85
|
+
/** The regions. */
|
|
86
|
+
regions) {
|
|
87
|
+
this.regions = regions;
|
|
88
|
+
for (const region of regions) {
|
|
89
|
+
const code = region.code.toUpperCase();
|
|
90
|
+
if (code.length > 0 && !this.byCode.has(code)) {
|
|
91
|
+
this.byCode.set(code, region);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
/** Finds a region by its code, in any case. */
|
|
96
|
+
find(code) {
|
|
97
|
+
return this.byCode.get(code.toUpperCase());
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Makes a map of the areas of a shapefile in degrees of longitude and latitude: each shape a region, its outer rings
|
|
101
|
+
* the areas, the rings inside them their holes.
|
|
102
|
+
* @param file - The shapefile, of areas.
|
|
103
|
+
* @param nameField - The field of the names, in any case.
|
|
104
|
+
* @param codeField - The field of the codes, in any case.
|
|
105
|
+
* @throws RangeError when the shapefile holds no areas.
|
|
106
|
+
*/
|
|
107
|
+
static fromShapefile(file, nameField = 'NAME', codeField = 'ISO_A3') {
|
|
108
|
+
if (file.kind !== 'polygon') {
|
|
109
|
+
throw new RangeError(`A map needs areas; the shapefile holds ${file.kind} shapes.`);
|
|
110
|
+
}
|
|
111
|
+
const field = (attributes, wanted) => {
|
|
112
|
+
const direct = attributes.get(wanted);
|
|
113
|
+
if (direct !== undefined) {
|
|
114
|
+
return direct;
|
|
115
|
+
}
|
|
116
|
+
for (const [key, value] of attributes) {
|
|
117
|
+
if (key.toUpperCase() === wanted.toUpperCase()) {
|
|
118
|
+
return value;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return '';
|
|
122
|
+
};
|
|
123
|
+
return new GeoMap(file.shapes.map((shape) => new GeoRegion(field(shape.attributes, nameField), field(shape.attributes, codeField), toPolygons(shape.parts))));
|
|
124
|
+
}
|
|
125
|
+
/**
|
|
126
|
+
* Reads a map in its packed form, its areas already cut into triangles.
|
|
127
|
+
* @param packed - The bytes, gzip-packed or already unpacked, or a response that brings them.
|
|
128
|
+
* @throws GeoMapError when the bytes hold no packed map.
|
|
129
|
+
*/
|
|
130
|
+
static async load(packed) {
|
|
131
|
+
const raw = packed instanceof Response ? new Uint8Array(await packed.arrayBuffer()) : bytesOf(packed);
|
|
132
|
+
// A server that sends the file with its packing named has the browser unpack it already.
|
|
133
|
+
if (raw[0] !== 0x1f || raw[1] !== 0x8b) {
|
|
134
|
+
return readMap(raw);
|
|
135
|
+
}
|
|
136
|
+
let bytes;
|
|
137
|
+
try {
|
|
138
|
+
const stream = new Blob([raw.slice()]).stream().pipeThrough(new DecompressionStream('gzip'));
|
|
139
|
+
bytes = new Uint8Array(await new Response(stream).arrayBuffer());
|
|
140
|
+
}
|
|
141
|
+
catch {
|
|
142
|
+
throw new GeoMapError('The bytes hold no gzip-packed map.');
|
|
143
|
+
}
|
|
144
|
+
return readMap(bytes);
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* Writes the map in its packed form: corners as floats, areas already cut into triangles, gzip-packed; the form
|
|
148
|
+
* {@link WorldMap} keeps the countries in.
|
|
149
|
+
*/
|
|
150
|
+
async save() {
|
|
151
|
+
const writer = new PackedWriter();
|
|
152
|
+
writer.uint32(magic);
|
|
153
|
+
writer.int32(formatVersion);
|
|
154
|
+
writer.int32(this.regions.length);
|
|
155
|
+
for (const region of this.regions) {
|
|
156
|
+
writer.string(region.name);
|
|
157
|
+
writer.string(region.code);
|
|
158
|
+
// Areas too small to cut are left out.
|
|
159
|
+
const cut = region.polygons.map((_, p) => region.triangles(p)).filter((polygon) => polygon.rings.length > 0);
|
|
160
|
+
writer.int32(cut.length);
|
|
161
|
+
for (const polygon of cut) {
|
|
162
|
+
// The corners as the triangles count them: the outer ring, then the holes, each turned as the cutting turned it.
|
|
163
|
+
writer.int32(polygon.rings.length);
|
|
164
|
+
for (const ring of polygon.rings) {
|
|
165
|
+
writer.int32(ring);
|
|
166
|
+
}
|
|
167
|
+
for (let i = 0; i < polygon.x.length; i++) {
|
|
168
|
+
writer.float32(polygon.x[i]);
|
|
169
|
+
writer.float32(polygon.y[i]);
|
|
170
|
+
}
|
|
171
|
+
writer.int32(polygon.triangles.length);
|
|
172
|
+
for (const corner of polygon.triangles) {
|
|
173
|
+
writer.int32(corner);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
const packed = new Blob([writer.bytes()]).stream().pipeThrough(new CompressionStream('gzip'));
|
|
178
|
+
return new Uint8Array(await new Response(packed).arrayBuffer());
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
function readMap(bytes) {
|
|
182
|
+
const reader = new PackedReader(bytes);
|
|
183
|
+
if (bytes.length < 12 || reader.uint32() !== magic || reader.int32() !== formatVersion) {
|
|
184
|
+
throw new GeoMapError('The bytes hold no packed map of version 1.');
|
|
185
|
+
}
|
|
186
|
+
const regions = [];
|
|
187
|
+
const total = reader.int32();
|
|
188
|
+
for (let r = 0; r < total; r++) {
|
|
189
|
+
const name = reader.string();
|
|
190
|
+
const code = reader.string();
|
|
191
|
+
const areas = reader.int32();
|
|
192
|
+
const polygons = [];
|
|
193
|
+
const cuts = [];
|
|
194
|
+
for (let p = 0; p < areas; p++) {
|
|
195
|
+
const rings = reader.ints();
|
|
196
|
+
const corners = rings.reduce((sum, ring) => sum + ring, 0);
|
|
197
|
+
const x = new Float64Array(corners);
|
|
198
|
+
const y = new Float64Array(corners);
|
|
199
|
+
for (let i = 0; i < corners; i++) {
|
|
200
|
+
x[i] = reader.float32();
|
|
201
|
+
y[i] = reader.float32();
|
|
202
|
+
}
|
|
203
|
+
const triangles = reader.ints();
|
|
204
|
+
let start = 0;
|
|
205
|
+
const parts = Array.from(rings, (ring) => {
|
|
206
|
+
const part = new PolygonRing(x.subarray(start, start + ring), y.subarray(start, start + ring));
|
|
207
|
+
start += ring;
|
|
208
|
+
return part;
|
|
209
|
+
});
|
|
210
|
+
polygons.push(new Polygon(parts[0], parts.slice(1)));
|
|
211
|
+
cuts.push({ x, y, triangles, rings });
|
|
212
|
+
}
|
|
213
|
+
const region = new GeoRegion(name, code, polygons);
|
|
214
|
+
cuts.forEach((cut, p) => {
|
|
215
|
+
region.setTriangles(p, cut);
|
|
216
|
+
});
|
|
217
|
+
regions.push(region);
|
|
218
|
+
}
|
|
219
|
+
return new GeoMap(regions);
|
|
220
|
+
}
|
|
221
|
+
// The rings of a shape: those turning clockwise are outer rings, the others holes of the outer ring around them.
|
|
222
|
+
function toPolygons(parts) {
|
|
223
|
+
const outers = [];
|
|
224
|
+
const holes = [];
|
|
225
|
+
for (const { x, y } of parts) {
|
|
226
|
+
if (x.length < 3) {
|
|
227
|
+
continue;
|
|
228
|
+
}
|
|
229
|
+
let area = 0;
|
|
230
|
+
for (let i = 0, j = x.length - 1; i < x.length; j = i++) {
|
|
231
|
+
area += (x[j] - x[i]) * (y[j] + y[i]);
|
|
232
|
+
}
|
|
233
|
+
// The sum is negative for a ring turning clockwise, the outer rings of a shapefile.
|
|
234
|
+
const ring = new PolygonRing(x, y);
|
|
235
|
+
if (area < 0) {
|
|
236
|
+
outers.push({ ring, holes: [] });
|
|
237
|
+
}
|
|
238
|
+
else {
|
|
239
|
+
holes.push(ring);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
for (const hole of holes) {
|
|
243
|
+
const home = outers.find((outer) => new Polygon(outer.ring).contains(hole.x[0], hole.y[0]));
|
|
244
|
+
if (home) {
|
|
245
|
+
home.holes.push(hole);
|
|
246
|
+
}
|
|
247
|
+
else {
|
|
248
|
+
// A ring turned the wrong way outside every area is an area of its own.
|
|
249
|
+
outers.push({ ring: hole, holes: [] });
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
return outers.map((outer) => new Polygon(outer.ring, outer.holes));
|
|
253
|
+
}
|
|
254
|
+
// Little-endian values and strings with a 7-bit length, as the .NET version writes them.
|
|
255
|
+
class PackedReader {
|
|
256
|
+
data;
|
|
257
|
+
view;
|
|
258
|
+
text = new TextDecoder();
|
|
259
|
+
at = 0;
|
|
260
|
+
constructor(data) {
|
|
261
|
+
this.data = data;
|
|
262
|
+
this.view = new DataView(data.buffer, data.byteOffset, data.byteLength);
|
|
263
|
+
}
|
|
264
|
+
uint32() {
|
|
265
|
+
const value = this.view.getUint32(this.at, true);
|
|
266
|
+
this.at += 4;
|
|
267
|
+
return value;
|
|
268
|
+
}
|
|
269
|
+
int32() {
|
|
270
|
+
const value = this.view.getInt32(this.at, true);
|
|
271
|
+
this.at += 4;
|
|
272
|
+
return value;
|
|
273
|
+
}
|
|
274
|
+
float32() {
|
|
275
|
+
const value = this.view.getFloat32(this.at, true);
|
|
276
|
+
this.at += 4;
|
|
277
|
+
return value;
|
|
278
|
+
}
|
|
279
|
+
ints() {
|
|
280
|
+
const length = this.int32();
|
|
281
|
+
const values = new Int32Array(length);
|
|
282
|
+
for (let i = 0; i < length; i++) {
|
|
283
|
+
values[i] = this.int32();
|
|
284
|
+
}
|
|
285
|
+
return values;
|
|
286
|
+
}
|
|
287
|
+
string() {
|
|
288
|
+
let length = 0;
|
|
289
|
+
let shift = 0;
|
|
290
|
+
for (;;) {
|
|
291
|
+
const byte = this.data[this.at++];
|
|
292
|
+
if (byte === undefined) {
|
|
293
|
+
throw new GeoMapError('The packed map is cut off.');
|
|
294
|
+
}
|
|
295
|
+
length |= (byte & 0x7f) << shift;
|
|
296
|
+
if (byte < 0x80) {
|
|
297
|
+
break;
|
|
298
|
+
}
|
|
299
|
+
shift += 7;
|
|
300
|
+
}
|
|
301
|
+
const value = this.text.decode(this.data.subarray(this.at, this.at + length));
|
|
302
|
+
this.at += length;
|
|
303
|
+
return value;
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
class PackedWriter {
|
|
307
|
+
data = new Uint8Array(1 << 16);
|
|
308
|
+
view = new DataView(this.data.buffer);
|
|
309
|
+
at = 0;
|
|
310
|
+
text = new TextEncoder();
|
|
311
|
+
bytes() {
|
|
312
|
+
return this.data.slice(0, this.at);
|
|
313
|
+
}
|
|
314
|
+
uint32(value) {
|
|
315
|
+
this.room(4);
|
|
316
|
+
this.view.setUint32(this.at, value, true);
|
|
317
|
+
this.at += 4;
|
|
318
|
+
}
|
|
319
|
+
int32(value) {
|
|
320
|
+
this.room(4);
|
|
321
|
+
this.view.setInt32(this.at, value, true);
|
|
322
|
+
this.at += 4;
|
|
323
|
+
}
|
|
324
|
+
float32(value) {
|
|
325
|
+
this.room(4);
|
|
326
|
+
this.view.setFloat32(this.at, value, true);
|
|
327
|
+
this.at += 4;
|
|
328
|
+
}
|
|
329
|
+
string(value) {
|
|
330
|
+
const bytes = this.text.encode(value);
|
|
331
|
+
this.room(bytes.length + 5);
|
|
332
|
+
let length = bytes.length;
|
|
333
|
+
while (length >= 0x80) {
|
|
334
|
+
this.data[this.at++] = (length & 0x7f) | 0x80;
|
|
335
|
+
length >>>= 7;
|
|
336
|
+
}
|
|
337
|
+
this.data[this.at++] = length;
|
|
338
|
+
this.data.set(bytes, this.at);
|
|
339
|
+
this.at += bytes.length;
|
|
340
|
+
}
|
|
341
|
+
room(bytes) {
|
|
342
|
+
if (this.at + bytes <= this.data.length) {
|
|
343
|
+
return;
|
|
344
|
+
}
|
|
345
|
+
let size = this.data.length * 2;
|
|
346
|
+
while (size < this.at + bytes) {
|
|
347
|
+
size *= 2;
|
|
348
|
+
}
|
|
349
|
+
const grown = new Uint8Array(size);
|
|
350
|
+
grown.set(this.data.subarray(0, this.at));
|
|
351
|
+
this.data = grown;
|
|
352
|
+
this.view = new DataView(grown.buffer);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
const mapFiles = {
|
|
356
|
+
coarse: 'countries-110m.tgeo.gz',
|
|
357
|
+
medium: 'countries-50m.tgeo.gz',
|
|
358
|
+
fine: 'countries-10m.tgeo.gz',
|
|
359
|
+
};
|
|
360
|
+
// Each file named in full, so that a bundler finds and copies it.
|
|
361
|
+
function packagedFile(detail) {
|
|
362
|
+
switch (detail) {
|
|
363
|
+
case 'coarse':
|
|
364
|
+
return new URL('../maps/countries-110m.tgeo.gz', import.meta.url);
|
|
365
|
+
case 'medium':
|
|
366
|
+
return new URL('../maps/countries-50m.tgeo.gz', import.meta.url);
|
|
367
|
+
default:
|
|
368
|
+
return new URL('../maps/countries-10m.tgeo.gz', import.meta.url);
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
const loaded = new Map();
|
|
372
|
+
/**
|
|
373
|
+
* The countries of the world from Natural Earth 5.1.1 (public domain), in three levels of detail, inside the package:
|
|
374
|
+
* usable without the internet. Each region has the name and the code (ADM0_A3) of its country.
|
|
375
|
+
*/
|
|
376
|
+
export const WorldMap = {
|
|
377
|
+
/** Where the files of the countries lie, if not beside the package, such as on a server of the application. */
|
|
378
|
+
folder: undefined,
|
|
379
|
+
/** The countries at a level of detail (1:110, 1:50 or 1:10 million), read once. */
|
|
380
|
+
countries(detail = 'medium') {
|
|
381
|
+
let map = loaded.get(detail);
|
|
382
|
+
if (!map) {
|
|
383
|
+
const address = WorldMap.folder === undefined ? packagedFile(detail) : new URL(mapFiles[detail], WorldMap.folder);
|
|
384
|
+
map = fetch(address).then((response) => {
|
|
385
|
+
if (!response.ok) {
|
|
386
|
+
throw new GeoMapError(`The map ${mapFiles[detail]} could not be read (${String(response.status)}).`);
|
|
387
|
+
}
|
|
388
|
+
return GeoMap.load(response);
|
|
389
|
+
});
|
|
390
|
+
// A failed read is tried again next time.
|
|
391
|
+
map.catch(() => {
|
|
392
|
+
loaded.delete(detail);
|
|
393
|
+
});
|
|
394
|
+
loaded.set(detail, map);
|
|
395
|
+
}
|
|
396
|
+
return map;
|
|
397
|
+
},
|
|
398
|
+
/** The countries at every level, coarse to fine, each read when a map first needs it. */
|
|
399
|
+
get countryLevels() {
|
|
400
|
+
return [() => WorldMap.countries('coarse'), () => WorldMap.countries('medium'), () => WorldMap.countries('fine')];
|
|
401
|
+
},
|
|
402
|
+
/** The notice of the source of the countries, to show with a map. */
|
|
403
|
+
attribution: 'Made with Natural Earth',
|
|
404
|
+
};
|
|
405
|
+
function bytesOf(packed) {
|
|
406
|
+
return packed instanceof Uint8Array ? packed : new Uint8Array(packed);
|
|
407
|
+
}
|
|
408
|
+
//# sourceMappingURL=geo-map.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"geo-map.js","sourceRoot":"","sources":["../src/geo-map.ts"],"names":[],"mappings":"AAAA,sHAAsH;AACtH,2GAA2G;AAC3G,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAG5D,OAAO,EAAE,eAAe,EAAqB,MAAM,gBAAgB,CAAC;AAEpE,MAAM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Q,CAAC,MAAM,CAAC,CAAC;YAClH,GAAG,GAAG,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,QAAQ,EAAE,EAAE;gBACrC,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;oBACjB,MAAM,IAAI,WAAW,CAAC,WAAW,QAAQ,CAAC,MAAM,CAAC,uBAAuB,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;gBACvG,CAAC;gBACD,OAAO,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC;YAC/B,CAAC,CAAC,CAAC;YACH,0CAA0C;YAC1C,GAAG,CAAC,KAAK,CAAC,GAAG,EAAE;gBACb,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;YACxB,CAAC,CAAC,CAAC;YACH,MAAM,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;QAC1B,CAAC;QACD,OAAO,GAAG,CAAC;IACb,CAAC;IAED,yFAAyF;IACzF,IAAI,aAAa;QACf,OAAO,CAAC,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,QAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;IACpH,CAAC;IAED,qEAAqE;IACrE,WAAW,EAAE,yBAAyB;CACvC,CAAC;AAEF,SAAS,OAAO,CAAC,MAAgC;IAC/C,OAAO,MAAM,YAAY,UAAU,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,UAAU,CAAC,MAAM,CAAC,CAAC;AACxE,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** Version of the package `@tachyon-charts/geo`. */
|
|
2
|
+
export declare const version = "1.1.0";
|
|
3
|
+
export { GeoProjection, type GeoBounds, type GeoPlace, type GeoPoint } from './projection.js';
|
|
4
|
+
export { ShapefileError, ShapefileReader, type GeoShape, type ShapeKind, type ShapePart, type Shapefile, } from './shapefile.js';
|
|
5
|
+
export { GeoMap, GeoMapError, GeoRegion, WorldMap, type GeoMapLevel, type MapDetail } from './geo-map.js';
|
|
6
|
+
export type { GeoTriangles } from './triangulator.js';
|
|
7
|
+
export { GeoMapSeries } from './map-series.js';
|
|
8
|
+
export { AttributionOverlay, TileLayerSeries, TileSource, type TileImage, type TileSourceOptions } from './tiles.js';
|
|
9
|
+
export { map, tiles } from './charts.js';
|
|
10
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,eAAO,MAAM,OAAO,UAAU,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAE,KAAK,SAAS,EAAE,KAAK,QAAQ,EAAE,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAC3F,OAAO,EACL,cAAc,EACd,eAAe,EACf,KAAK,QAAQ,EACb,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,GACf,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,WAAW,CAAC;AACvG,YAAY,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,UAAU,EAAE,KAAK,SAAS,EAAE,KAAK,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAClH,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC"}
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Version of the package `@tachyon-charts/geo`. */
|
|
2
|
+
export const version = '1.1.0';
|
|
3
|
+
export { GeoProjection } from './projection.js';
|
|
4
|
+
export { ShapefileError, ShapefileReader, } from './shapefile.js';
|
|
5
|
+
export { GeoMap, GeoMapError, GeoRegion, WorldMap } from './geo-map.js';
|
|
6
|
+
export { GeoMapSeries } from './map-series.js';
|
|
7
|
+
export { AttributionOverlay, TileLayerSeries, TileSource } from './tiles.js';
|
|
8
|
+
export { map, tiles } from './charts.js';
|
|
9
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,oDAAoD;AACpD,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC;AAE/B,OAAO,EAAE,aAAa,EAAgD,MAAM,cAAc,CAAC;AAC3F,OAAO,EACL,cAAc,EACd,eAAe,GAKhB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,MAAM,EAAE,WAAW,EAAE,SAAS,EAAE,QAAQ,EAAoC,MAAM,WAAW,CAAC;AAEvG,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAC5C,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,UAAU,EAA0C,MAAM,SAAS,CAAC;AAClH,OAAO,EAAE,GAAG,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { ChartSeries, DoubleRange, type Axis, type CommandList, type FoundPoint, type RenderDevice, type Rgba8, type SeriesFrame } from '@tachyon-charts/core';
|
|
2
|
+
import type { GeoMapLevel, GeoRegion } from './geo-map.js';
|
|
3
|
+
import type { GeoProjection } from './projection.js';
|
|
4
|
+
/** The regions of a map in the plane of a projection: the sea, the regions in their colors and their borders. */
|
|
5
|
+
export declare class GeoMapSeries extends ChartSeries {
|
|
6
|
+
/** The projection. */
|
|
7
|
+
readonly projection: GeoProjection;
|
|
8
|
+
private readonly levels;
|
|
9
|
+
private readonly loading;
|
|
10
|
+
private readonly projected;
|
|
11
|
+
private readonly colors;
|
|
12
|
+
private readonly world;
|
|
13
|
+
private readonly worldX;
|
|
14
|
+
private readonly worldY;
|
|
15
|
+
private mesh;
|
|
16
|
+
private words;
|
|
17
|
+
private meshCount;
|
|
18
|
+
private borders;
|
|
19
|
+
private borderData;
|
|
20
|
+
private buffer;
|
|
21
|
+
private appearance;
|
|
22
|
+
private built;
|
|
23
|
+
private builtFrame;
|
|
24
|
+
private landColor;
|
|
25
|
+
private seaColor;
|
|
26
|
+
private borderColor;
|
|
27
|
+
private thickness;
|
|
28
|
+
private shown;
|
|
29
|
+
private failure;
|
|
30
|
+
/** Whether the chart keeps one scale on both axes, so that the map is not stretched. */
|
|
31
|
+
keepsAspect: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* @param levels - The levels of detail, coarse to fine: maps, or functions that bring them when first needed.
|
|
34
|
+
* @param projection - The projection.
|
|
35
|
+
* @param xAxis - The X axis, east on the plane.
|
|
36
|
+
* @param yAxis - The Y axis, north on the plane.
|
|
37
|
+
* @throws RangeError without a level.
|
|
38
|
+
*/
|
|
39
|
+
constructor(levels: readonly GeoMapLevel[],
|
|
40
|
+
/** The projection. */
|
|
41
|
+
projection: GeoProjection, xAxis: Axis, yAxis: Axis);
|
|
42
|
+
private readonly sources;
|
|
43
|
+
/** The color of regions without one of their own. */
|
|
44
|
+
get land(): Rgba8;
|
|
45
|
+
set land(value: Rgba8);
|
|
46
|
+
/** The color of the sea, the world outside the regions; transparent for none. */
|
|
47
|
+
get sea(): Rgba8;
|
|
48
|
+
set sea(value: Rgba8);
|
|
49
|
+
/** The color of the borders; transparent for none. */
|
|
50
|
+
get border(): Rgba8;
|
|
51
|
+
set border(value: Rgba8);
|
|
52
|
+
/**
|
|
53
|
+
* The thickness of the borders in device-independent pixels.
|
|
54
|
+
* @throws RangeError when negative.
|
|
55
|
+
*/
|
|
56
|
+
get borderThickness(): number;
|
|
57
|
+
set borderThickness(value: number);
|
|
58
|
+
/** The level of detail of the last frame, 0 the coarsest. */
|
|
59
|
+
get level(): number;
|
|
60
|
+
/** Why a level could not be read, if one could not. */
|
|
61
|
+
get error(): unknown;
|
|
62
|
+
/** {@inheritDoc @tachyon-charts/core#ChartSeries.accentColor} */
|
|
63
|
+
get accentColor(): Rgba8;
|
|
64
|
+
/** {@inheritDoc @tachyon-charts/core#ChartSeries.version} */
|
|
65
|
+
get version(): number;
|
|
66
|
+
/** {@inheritDoc @tachyon-charts/core#ChartSeries.drawnPointCount} */
|
|
67
|
+
get drawnPointCount(): number;
|
|
68
|
+
/** Sets the colors of regions by their codes, such as data by country; the others take the color of the land. */
|
|
69
|
+
setColors(colors: ReadonlyMap<string, Rgba8> | Readonly<Record<string, Rgba8>>): void;
|
|
70
|
+
/** The region at a place in degrees, on the finest level that is read; undefined on the sea. */
|
|
71
|
+
regionAt(longitude: number, latitude: number): GeoRegion | undefined;
|
|
72
|
+
/** Waits until the levels the map has asked for so far are read, such as before a picture of a test. */
|
|
73
|
+
whenLoaded(): Promise<void>;
|
|
74
|
+
/** {@inheritDoc @tachyon-charts/core#ChartSeries.dataRange} */
|
|
75
|
+
dataRange(axis: 'x' | 'y'): DoubleRange | undefined;
|
|
76
|
+
/** {@inheritDoc @tachyon-charts/core#ChartSeries.findPoint} */
|
|
77
|
+
findPoint(frame: SeriesFrame, pixelX: number, pixelY: number): FoundPoint | undefined;
|
|
78
|
+
/** {@inheritDoc @tachyon-charts/core#ChartSeries.prepare} */
|
|
79
|
+
prepare(device: RenderDevice, frame: SeriesFrame): void;
|
|
80
|
+
private shownLevel;
|
|
81
|
+
private uploadBorders;
|
|
82
|
+
/** {@inheritDoc @tachyon-charts/core#ChartSeries.draw} */
|
|
83
|
+
draw(commands: CommandList, frame: SeriesFrame): void;
|
|
84
|
+
/** {@inheritDoc @tachyon-charts/core#ChartSeries.releaseResources} */
|
|
85
|
+
releaseResources(): void;
|
|
86
|
+
private request;
|
|
87
|
+
private finestLoaded;
|
|
88
|
+
private addRegion;
|
|
89
|
+
private addRings;
|
|
90
|
+
private addSea;
|
|
91
|
+
private add;
|
|
92
|
+
private keepAspect;
|
|
93
|
+
private project;
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=map-series.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map-series.d.ts","sourceRoot":"","sources":["../src/map-series.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,WAAW,EACX,WAAW,EAIX,KAAK,IAAI,EACT,KAAK,WAAW,EAChB,KAAK,UAAU,EAEf,KAAK,YAAY,EACjB,KAAK,KAAK,EACV,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAU,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAChE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAuBlD,iHAAiH;AACjH,qBAAa,YAAa,SAAQ,WAAW;IAmCzC,sBAAsB;IACtB,QAAQ,CAAC,UAAU,EAAE,aAAa;IAnCpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAyB;IAChD,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgC;IACxD,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoC;IAC9D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAA4B;IACnD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAuC;IAC7D,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;IACrC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAc;IACrC,OAAO,CAAC,IAAI,CAA8B;IAC1C,OAAO,CAAC,KAAK,CAAqC;IAClD,OAAO,CAAC,SAAS,CAAK;IACtB,OAAO,CAAC,OAAO,CAAgB;IAC/B,OAAO,CAAC,UAAU,CAAuB;IACzC,OAAO,CAAC,MAAM,CAAwB;IACtC,OAAO,CAAC,UAAU,CAAK;IACvB,OAAO,CA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