@opensystemslab/map 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensystemslab/map",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "license": "OGL-UK-3.0",
5
5
  "private": false,
6
6
  "repository": {
package/types/my-map.d.ts CHANGED
@@ -30,6 +30,7 @@ export declare class MyMap extends LitElement {
30
30
  disableVectorTiles: boolean;
31
31
  osVectorTilesApiKey: string;
32
32
  osFeaturesApiKey: string;
33
+ osCopyright: string;
33
34
  hideResetControl: boolean;
34
35
  staticMode: boolean;
35
36
  areaUnit: AreaUnitEnum;
@@ -1,5 +1,5 @@
1
1
  import { Tile as TileLayer } from "ol/layer";
2
2
  import VectorTileLayer from "ol/layer/VectorTile";
3
3
  import { XYZ } from "ol/source";
4
- export declare function makeRasterBaseMap(apiKey?: string): TileLayer<XYZ>;
5
- export declare function makeOsVectorTileBaseMap(apiKey: string): VectorTileLayer;
4
+ export declare function makeRasterBaseMap(copyright: string, apiKey?: string): TileLayer<XYZ>;
5
+ export declare function makeOsVectorTileBaseMap(copyright: string, apiKey: string): VectorTileLayer;