@macrostrat/cesium-martini 1.3.0 → 1.4.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 +14 -3
- package/dist/index.cjs +306 -662
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +307 -659
- package/dist/index.js.map +1 -1
- package/package.json +7 -4
- package/typings/worker-loader.d.ts +10 -0
- package/webpack.config.js +75 -0
- package/.gitmodules +0 -3
package/README.md
CHANGED
|
@@ -39,7 +39,6 @@ Your mileage with `npm` may vary.
|
|
|
39
39
|
### Quick start
|
|
40
40
|
|
|
41
41
|
1. Clone the repository
|
|
42
|
-
2. Run `git submodule update --init` to fetch the [martini](https://github.com/mapbox/martini) submodule
|
|
43
42
|
2. Install dependencies with `yarn install`
|
|
44
43
|
3. Build the package with `yarn run build`
|
|
45
44
|
|
|
@@ -49,13 +48,16 @@ After cloning this repository, you can build the module (using Rollup) with
|
|
|
49
48
|
### Example applications
|
|
50
49
|
|
|
51
50
|
Several example applications are available in the [`examples/`](examples/) directory and runnable from the root project.
|
|
52
|
-
The main example is built with Vite and others are built with Webpack v5. As well as showing how to use this module,
|
|
51
|
+
The main example is built with Vite and others are built with Webpack v5. As well as showing how to use this module,
|
|
52
|
+
these examples contain configuration for bundling Cesium in each packaging system.
|
|
53
53
|
|
|
54
54
|
To run an example application, add `MAPBOX_API_TOKEN=<your-mapbox-token>` to a `.env` file.
|
|
55
55
|
in the root of this repository, and then start the appropriate example:
|
|
56
56
|
|
|
57
57
|
- `yarn run example` (Vite)
|
|
58
|
+
- `yarn run example:mapzen` (Vite + Mapzen)
|
|
58
59
|
- `yarn run example:webpack` (Webpack)
|
|
60
|
+
- `yarn run example:webpack-mapzen` (Webpack + Mapzen)
|
|
59
61
|
- `yarn run example:webpack-react` (Webpack + React)
|
|
60
62
|
|
|
61
63
|
Contributions in the form of bug reports and pull requests are welcome.
|
|
@@ -141,6 +143,15 @@ Pull requests for any and all of these priorities are appreciated!
|
|
|
141
143
|
|
|
142
144
|
## Changelog
|
|
143
145
|
|
|
146
|
+
### `[1.4.0]`: February 2025
|
|
147
|
+
|
|
148
|
+
- Merge [**PR #10**](https://github.com/davenquinn/cesium-martini/pull/10) from [*Stuart Attenborrow*](https://github.com/stuarta0) to allow loading of non-Mapbox terrain tiles
|
|
149
|
+
- Created Vite and Webpack examples of using the module with Mapzen Terrarium tiles
|
|
150
|
+
- Migrated Vite examples to Vite 5
|
|
151
|
+
- Upgraded `axios` dependency
|
|
152
|
+
- Remove submodule dependency for `@mapbox/martini` in favor of directly importing from [my fork](https://github.com/davenquinn/martini)
|
|
153
|
+
- Upgrade `yarn` to `4.6.0`
|
|
154
|
+
|
|
144
155
|
### `[1.3.0]`: September 2023
|
|
145
156
|
|
|
146
157
|
- Add compilation to ESModules, which allows the package to be used with modern bundlers like [**Vite**](https://vitejs.dev). *Contributed by [@fc](https://github.com/fc).*
|
|
@@ -149,7 +160,7 @@ Pull requests for any and all of these priorities are appreciated!
|
|
|
149
160
|
|
|
150
161
|
#### Development environment
|
|
151
162
|
|
|
152
|
-
We reorganized the development environment and examples
|
|
163
|
+
We reorganized the development environment and examples for a more modern overall design.
|
|
153
164
|
|
|
154
165
|
- Switched to `yarn` from `npm` as the default package manager
|
|
155
166
|
- Enabled Yarn Plug'n'Play for faster development
|