Loading CHANGELOG.md +7 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.8.1] - 2023-01-29 ### Fixed - Resolved [#265 TypeError: this.getPane() is undefined](https://github.com/vue-leaflet/vue-leaflet/issues/265). ## [0.8.0] - 2023-01-26 ### Added Loading src/utils.js +2 −4 Original line number Diff line number Diff line Loading @@ -60,10 +60,8 @@ export const propsToLeafletOptions = ( if (!defn) continue; // Custom vue-leaflet props should not be passed to Leaflet. if (defn && defn.custom === true) continue; // Vue defaults Boolean properties to `false` instead of omitting them, // so they must be given explicit defaults of `undefined` and then dropped // here in order to use Leaflet's default values. if (defn && defn.type === Boolean && val === undefined) continue; // Exclude undefined values so that Leaflet uses its own defaults. if (val === undefined) continue; output[prop] = val; } Loading Loading
CHANGELOG.md +7 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [0.8.1] - 2023-01-29 ### Fixed - Resolved [#265 TypeError: this.getPane() is undefined](https://github.com/vue-leaflet/vue-leaflet/issues/265). ## [0.8.0] - 2023-01-26 ### Added Loading
src/utils.js +2 −4 Original line number Diff line number Diff line Loading @@ -60,10 +60,8 @@ export const propsToLeafletOptions = ( if (!defn) continue; // Custom vue-leaflet props should not be passed to Leaflet. if (defn && defn.custom === true) continue; // Vue defaults Boolean properties to `false` instead of omitting them, // so they must be given explicit defaults of `undefined` and then dropped // here in order to use Leaflet's default values. if (defn && defn.type === Boolean && val === undefined) continue; // Exclude undefined values so that Leaflet uses its own defaults. if (val === undefined) continue; output[prop] = val; } Loading