@mapxus/mapxus-map-jp 7.4.0 → 7.5.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/README.md +5 -2
- package/index.d.ts +358 -178
- package/index.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -6,14 +6,17 @@ maplibre-gl
|
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
```
|
|
9
|
-
npm install
|
|
9
|
+
npm install @mapxus/mapxus-map-jp
|
|
10
10
|
```
|
|
11
11
|
|
|
12
|
+
**Tips**: We do not recommend you install `maplibre-gl` by yourself. Each version of `@mapxus/mapxus-map-jp` uses a specific version of `maplibre-gl`,
|
|
13
|
+
`@mapxus/mapxus-map-jp` will automatically install it with the matched version.
|
|
14
|
+
|
|
12
15
|
## Example
|
|
13
16
|
```js
|
|
14
17
|
import 'maplibre-gl/dist/maplibre-gl.css';
|
|
15
18
|
import maplibregl from 'maplibre-gl';
|
|
16
|
-
import * as MapxusMap from '@mapxus/mapxus-map';
|
|
19
|
+
import * as MapxusMap from '@mapxus/mapxus-map-jp';
|
|
17
20
|
|
|
18
21
|
const maplibreMap = new maplibregl.Map({
|
|
19
22
|
container: 'map',
|