@liquidcars/atlas 0.1.37 → 0.1.38
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 -0
- package/dist/liquidcars-atlas.js +180 -143
- package/dist/liquidcars-atlas.js.map +1 -1
- package/package.json +1 -1
- package/src/liquidcars-atlas.js +8 -0
package/README.md
CHANGED
|
@@ -194,6 +194,11 @@ expone `registerGeometryPack()`, `unregisterGeometryPack()` y
|
|
|
194
194
|
publican como `geo.box`, `geo.sphere`, etc. Los nombres históricos sin
|
|
195
195
|
namespace siguen siendo compatibles.
|
|
196
196
|
|
|
197
|
+
El módulo exporta también `ATLAS_VERSION`, y la clase registrada expone la
|
|
198
|
+
misma versión mediante `customElements.get("liquidcars-atlas").version`. Esta
|
|
199
|
+
segunda forma identifica la implementación que el navegador utiliza realmente
|
|
200
|
+
si accidentalmente se cargan varias versiones del core.
|
|
201
|
+
|
|
197
202
|
```js
|
|
198
203
|
import { registerGeometryPack } from "@liquidcars/atlas";
|
|
199
204
|
|