Skip to content

Commit

Permalink
Improve the handling of map options (#4145)
Browse files Browse the repository at this point in the history
* Improve the handling of map options

* Get ride of the src/types
  • Loading branch information
vicb authored May 23, 2024
1 parent 2ec7902 commit 6d49f57
Show file tree
Hide file tree
Showing 6 changed files with 144 additions and 125 deletions.
3 changes: 1 addition & 2 deletions src/source/load_tilejson.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import {pick, extend} from '../util/util';
import {pick, extend, TileJSON} from '../util/util';
import {getJSON} from '../util/ajax';
import {ResourceType} from '../util/request_manager';
import {browser} from '../util/browser';

import type {RequestManager} from '../util/request_manager';
import type {TileJSON} from '../types/tilejson';
import type {RasterDEMSourceSpecification, RasterSourceSpecification, VectorSourceSpecification} from '@maplibre/maplibre-gl-style-spec';

export type LoadTileJsonResponse = {
Expand Down
16 changes: 0 additions & 16 deletions src/types/tilejson.ts

This file was deleted.

Loading

0 comments on commit 6d49f57

Please sign in to comment.