@maptrip/map-tiles 1.3.1 → 1.3.3
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 +3 -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 +15533 -15554
- package/dist/map-tiles.js.map +1 -1
- package/package.json +7 -8
package/README.md
CHANGED
|
@@ -38,6 +38,7 @@ The response body will include the key `token` in the schema:
|
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
## Integration in your mapping API
|
|
41
|
+
To see the subsequent code examples in action, visit our [map tiles demo page](https://demo.infoware.de/examples/npm/map-tiles/).
|
|
41
42
|
|
|
42
43
|
### LeafletJS
|
|
43
44
|
|
|
@@ -277,6 +278,8 @@ To use them, you mapping API has to be able to use both base layers and overlays
|
|
|
277
278
|
|
|
278
279
|
## History
|
|
279
280
|
|
|
281
|
+
- 1.3.3: Added a link for demo apps to README.md
|
|
282
|
+
- 1.3.2: Updated dependencies with security vulnerabilities
|
|
280
283
|
- 1.3.1: Updated all all providers to use the latest build of the project
|
|
281
284
|
- 1.3.0: Added map release data for Leaflet and OpenLayers map attributions
|
|
282
285
|
- 1.2.1: Fixed a bug in MapTripLeafletGridLayer type implementation
|
|
@@ -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, };
|