@maptrip/map-tiles 1.3.0 → 1.3.2
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/README.md +2 -0
- package/dist/api-extensions/google/MapTripGoogleMapType.d.ts +1 -2
- package/dist/api-extensions/leaflet/MapTripLeafletGridLayer.d.ts +3 -4
- package/dist/api-extensions/openlayers/MapTripOpenLayersSource.d.ts +3 -4
- package/dist/core/CollisionDetector.d.ts +0 -1
- package/dist/core/VectorTileFactory.d.ts +0 -1
- package/dist/core/VectorTileLoader.d.ts +0 -1
- package/dist/core/VectorTileRenderer.d.ts +2 -3
- package/dist/map-tiles.d.ts +7 -8
- package/dist/map-tiles.js +15548 -15585
- package/dist/map-tiles.js.map +1 -1
- package/dist/util/MapReleaseFetcher.d.ts +2 -4
- package/lib/api-extensions/leaflet/MapTripLeafletGridLayer.ts +2 -3
- package/lib/core/constants.ts +3 -2
- package/lib/util/MapReleaseFetcher.ts +17 -33
- package/package.json +6 -8
package/README.md
CHANGED
|
@@ -277,6 +277,8 @@ To use them, you mapping API has to be able to use both base layers and overlays
|
|
|
277
277
|
|
|
278
278
|
## History
|
|
279
279
|
|
|
280
|
+
- 1.3.2: Updated dependencies with security vulnerabilities
|
|
281
|
+
- 1.3.1: Updated all all providers to use the latest build of the project
|
|
280
282
|
- 1.3.0: Added map release data for Leaflet and OpenLayers map attributions
|
|
281
283
|
- 1.2.1: Fixed a bug in MapTripLeafletGridLayer type implementation
|
|
282
284
|
- 1.2.0: Added TypeScript declaration file
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { RENDERING_CONFIG, PointXY } from '../../types/interfaces.js';
|
|
2
1
|
import { VectorTileFactory } from '../../core/VectorTileFactory.js';
|
|
3
|
-
|
|
2
|
+
import { RENDERING_CONFIG, PointXY } from '../../types/interfaces.js';
|
|
4
3
|
declare class MapTripGoogleMapType {
|
|
5
4
|
tileSize: google.maps.Size;
|
|
6
5
|
alt: null;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { PointXY, RENDERING_CONFIG } from '../../types/interfaces.js';
|
|
2
|
-
import { MapReleaseFetcher } from '../../util/MapReleaseFetcher.js';
|
|
3
|
-
import { VectorTileFactory } from '../../core/VectorTileFactory.js';
|
|
4
1
|
import { default as L } from 'leaflet';
|
|
5
|
-
|
|
2
|
+
import { VectorTileFactory } from '../../core/VectorTileFactory.js';
|
|
3
|
+
import { MapReleaseFetcher } from '../../util/MapReleaseFetcher.js';
|
|
4
|
+
import { PointXY, RENDERING_CONFIG } from '../../types/interfaces.js';
|
|
6
5
|
declare class MapTripLeafletGridLayer extends L.GridLayer {
|
|
7
6
|
MIN_ZOOM: number;
|
|
8
7
|
MAX_ZOOM: number;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { MapReleaseFetcher } from '../../main.js';
|
|
2
|
-
import { RENDERING_CONFIG } from '../../types/interfaces.js';
|
|
3
|
-
import { VectorTileFactory } from '../../core/VectorTileFactory.js';
|
|
4
1
|
import { default as XYZ } from 'ol/source/XYZ.js';
|
|
5
|
-
|
|
2
|
+
import { VectorTileFactory } from '../../core/VectorTileFactory.js';
|
|
3
|
+
import { RENDERING_CONFIG } from '../../types/interfaces.js';
|
|
4
|
+
import { MapReleaseFetcher } from '../../main.js';
|
|
6
5
|
declare class MapTripOpenLayersSource extends XYZ {
|
|
7
6
|
token: string;
|
|
8
7
|
factory: VectorTileFactory;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Boundaries, PointXY, PolygonStyle, PolylineStyle, PolylineTextStyle, PositionXY, Renderer, Vertex, RENDERING_CONFIG } from '../types/interfaces.js';
|
|
2
|
-
import { CollisionDetector } from './CollisionDetector.js';
|
|
3
1
|
import { GeoJsonProperties } from 'geojson';
|
|
4
|
-
|
|
2
|
+
import { CollisionDetector } from './CollisionDetector.js';
|
|
3
|
+
import { Boundaries, PointXY, PolygonStyle, PolylineStyle, PolylineTextStyle, PositionXY, Renderer, Vertex, RENDERING_CONFIG } from '../types/interfaces.js';
|
|
5
4
|
declare class VectorTileRenderer {
|
|
6
5
|
private _styles;
|
|
7
6
|
private _images;
|
package/dist/map-tiles.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { MapTripOpenLayersSource } from './api-extensions/openlayers/MapTripOpenLayersSource.js';
|
|
2
|
-
import { MapTripLeafletGridLayer } from './api-extensions/leaflet/MapTripLeafletGridLayer.js';
|
|
3
|
-
import { MapTripGoogleMapType } from './api-extensions/google/MapTripGoogleMapType.js';
|
|
4
|
-
import { MapReleaseFetcher } from './util/MapReleaseFetcher.js';
|
|
5
|
-
import { RENDERING_CONFIG_TRAFFIC } from './core/rendering_config_traffic.js';
|
|
6
|
-
import { RENDERING_CONFIG_GRAYSCALE } from './core/rendering_config_grayscale.js';
|
|
7
|
-
import { RENDERING_CONFIG_DEFAULT } from './core/rendering_config_default.js';
|
|
8
1
|
import { VectorTileFactory } from './core/VectorTileFactory.js';
|
|
9
|
-
|
|
2
|
+
import { RENDERING_CONFIG_DEFAULT } from './core/rendering_config_default.js';
|
|
3
|
+
import { RENDERING_CONFIG_GRAYSCALE } from './core/rendering_config_grayscale.js';
|
|
4
|
+
import { RENDERING_CONFIG_TRAFFIC } from './core/rendering_config_traffic.js';
|
|
5
|
+
import { MapReleaseFetcher } from './util/MapReleaseFetcher.js';
|
|
6
|
+
import { MapTripGoogleMapType } from './api-extensions/google/MapTripGoogleMapType.js';
|
|
7
|
+
import { MapTripLeafletGridLayer } from './api-extensions/leaflet/MapTripLeafletGridLayer.js';
|
|
8
|
+
import { MapTripOpenLayersSource } from './api-extensions/openlayers/MapTripOpenLayersSource.js';
|
|
10
9
|
export { VectorTileFactory, RENDERING_CONFIG_DEFAULT, RENDERING_CONFIG_GRAYSCALE, RENDERING_CONFIG_TRAFFIC, MapReleaseFetcher, MapTripLeafletGridLayer, MapTripGoogleMapType, MapTripOpenLayersSource, };
|