mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 19:01:08 +00:00
Pmtiles js v4 (#499)
* pmtiles js v4: remove pmtiles spec v2 compatibility [#287] * restructure ts files into src * add tsup for building ESM/CJS and making types work in ESM * bump fflate dependency * update CHANGELOG for js 4.0.0
This commit is contained in:
@@ -5,7 +5,13 @@ import Protobuf from "pbf";
|
||||
import { Dispatch, SetStateAction, useEffect, useRef, useState } from "react";
|
||||
import { UncontrolledReactSVGPanZoom } from "react-svg-pan-zoom";
|
||||
import { useMeasure } from "react-use";
|
||||
import { Entry, Header, PMTiles, TileType, tileIdToZxy } from "../../js/index";
|
||||
import {
|
||||
Entry,
|
||||
Header,
|
||||
PMTiles,
|
||||
TileType,
|
||||
tileIdToZxy,
|
||||
} from "../../js/src/index";
|
||||
import { styled } from "./stitches.config";
|
||||
|
||||
const TableContainer = styled("div", {
|
||||
|
||||
Reference in New Issue
Block a user