Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@

### 🐞 Bug fixes

- *...Add fixed bugs here...*
- Add void return for some method declaration to match TS strict mode (#194)

## 1.15.0

### Features and improvements

- ** Breaking Change: ** Rename css classes ((#83)[https://github.com/maplibre/maplibre-gl-js/issues/83])
- Added custom protocol support to allow overriding ajax calls ((#29)[https://github.com/maplibre/maplibre-gl-js/issues/29])
- ** Breaking Change: ** Rename css classes (#83)
- Added custom protocol support to allow overriding ajax calls (#29)
- Added setTransformRequest to map (#159)
- Publish @maplibre/maplibre-gl-style-spec v14.0.0 on NPM (#149)
- Replace link to mapbox on LogoControl by link to maplibre (#151)
- Migrate style spec files from mapbox to maplibre (#147)
- Publish the MapLibre style spec in NPM (#140)
- Replace mapboxgl with maplibregl in JSDocs inline examples (#134)
- Bring in typescript definitions file (#24)
- Bring in typescript definitions file (#24)
- Update example links to https://maplibre.org/maplibre-gl-js-docs/ (#131)
- Improve performance of layers with constant `*-sort-key` (#78)

Expand Down
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ declare namespace maplibregl {
* return { cancel: () => { } };
* });
*/
export function addProtocol(customProtocol: string, loadFn: (requestParameters: RequestParameters, callback: ResponseCallback<any>) => Cancelable);
export function addProtocol(customProtocol: string, loadFn: (requestParameters: RequestParameters, callback: ResponseCallback<any>) => Cancelable): void;
/**
* Removes a previusly added protocol
* @param {string} customProtocol - the custom protocol to remove registration for
* @example
* maplibregl.removeProtocol('custom');
*/
export function removeProtocol(customProtocol: string);
export function removeProtocol(customProtocol: string): void;

export function setRTLTextPlugin(pluginURL: string, callback: (error: Error) => void, deferred?: boolean): void;
export function getRTLTextPluginStatus(): PluginStatus;
Expand Down