File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66
77### 🐞 Bug fixes
88
9- - * ... Add fixed bugs here... *
9+ - Add void return for some method declaration to match TS strict mode ( # 194 )
1010
1111## 1.15.0
1212
1313### Features and improvements
1414
15- - ** Breaking Change: ** Rename css classes (( #83 ) [ https://github.com/maplibre/maplibre-gl-js/issues/83 ] )
16- - Added custom protocol support to allow overriding ajax calls (( #29 ) [ https://github.com/maplibre/maplibre-gl-js/issues/29 ] )
15+ - ** Breaking Change: ** Rename css classes (#83 )
16+ - Added custom protocol support to allow overriding ajax calls (#29 )
1717- Added setTransformRequest to map (#159 )
1818- Publish @maplibre/maplibre-gl-style-spec v14.0.0 on NPM (#149 )
1919- Replace link to mapbox on LogoControl by link to maplibre (#151 )
2020- Migrate style spec files from mapbox to maplibre (#147 )
2121- Publish the MapLibre style spec in NPM (#140 )
2222- Replace mapboxgl with maplibregl in JSDocs inline examples (#134 )
23- - Bring in typescript definitions file (#24 )
23+ - Bring in typescript definitions file (#24 )
2424- Update example links to https://maplibre.org/maplibre-gl-js-docs/ (#131 )
2525- Improve performance of layers with constant ` *-sort-key ` (#78 )
2626
Original file line number Diff line number Diff line change @@ -73,14 +73,14 @@ declare namespace maplibregl {
7373 * return { cancel: () => { } };
7474 * });
7575 */
76- export function addProtocol ( customProtocol : string , loadFn : ( requestParameters : RequestParameters , callback : ResponseCallback < any > ) => Cancelable ) ;
76+ export function addProtocol ( customProtocol : string , loadFn : ( requestParameters : RequestParameters , callback : ResponseCallback < any > ) => Cancelable ) : void ;
7777 /**
7878 * Removes a previusly added protocol
7979 * @param {string } customProtocol - the custom protocol to remove registration for
8080 * @example
8181 * maplibregl.removeProtocol('custom');
8282 */
83- export function removeProtocol ( customProtocol : string ) ;
83+ export function removeProtocol ( customProtocol : string ) : void ;
8484
8585 export function setRTLTextPlugin ( pluginURL : string , callback : ( error : Error ) => void , deferred ?: boolean ) : void ;
8686 export function getRTLTextPluginStatus ( ) : PluginStatus ;
You can’t perform that action at this time.
0 commit comments