@planet/maps 8.0.0-dev.1666714337006 → 8.0.0-dev.1666715244672
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/package.json +1 -1
- package/readme.md +5 -3
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @planet/maps
|
|
2
2
|
|
|
3
|
+

|
|
4
|
+
|
|
3
5
|
Declarative mapping components
|
|
4
6
|
|
|
5
7
|
## Use
|
|
@@ -12,10 +14,10 @@ Import the components you need for your map. Provide an `options` prop to pass
|
|
|
12
14
|
|
|
13
15
|
```js
|
|
14
16
|
import Map from '@planet/maps/lib/Map';
|
|
15
|
-
import OSM from '@planet/maps/source/OSM';
|
|
16
|
-
import ScaleLine from '@planet/maps/control/ScaleLine';
|
|
17
|
+
import OSM from '@planet/maps/lib/source/OSM';
|
|
18
|
+
import ScaleLine from '@planet/maps/lib/control/ScaleLine';
|
|
17
19
|
import View from '@planet/maps/lib/View';
|
|
18
|
-
import WebGLTile from '@planet/maps/layer/WebGLTile';
|
|
20
|
+
import WebGLTile from '@planet/maps/lib/layer/WebGLTile';
|
|
19
21
|
|
|
20
22
|
function MyApp() {
|
|
21
23
|
return (
|