mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
12 lines
334 B
TypeScript
12 lines
334 B
TypeScript
import { startMapLibre } from 'maplibre_rs'
|
|
// @ts-ignore
|
|
//import maplibreWasm from 'maplibre_rs/dist/parcel-cjs/index_bg.900705f4.wasm'
|
|
// @ts-ignore
|
|
//import maplibreWorker from 'maplibre_rs/dist/parcel-cjs/pool_worker.584c4c50'
|
|
|
|
|
|
// cjs
|
|
//startMapLibre("./maplibre.wasm", "./worker.js")
|
|
// esm
|
|
startMapLibre(undefined, undefined)
|