Skip to content

Commit

Permalink
WMSTileLayer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
emilhe committed Oct 7, 2024
1 parent 23691d6 commit 56b70ec
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
13 changes: 10 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,18 @@

All notable changes to this project will be documented in this file.

## [1.0.16] - UNRELEASED

### Changed

- Fix issue with `TileLayer` component on non-integer zoom update [#236](https://github.com/emilhe/dash-leaflet/issues/236)
- Fix issue with extra Dash props making it into `WMSTileLayer` component [#225](https://github.com/emilhe/dash-leaflet/issues/225)

## [1.0.15] - 11-01-24

### Changed

- Propagate pane information to GeoJSON object, thereby fixing [#221](https://github.com/emilhe/dash-leaflet/issues/221)
- Propagate pane information to `GeoJSON` object, thereby fixing [#221](https://github.com/emilhe/dash-leaflet/issues/221)

## [1.0.13] - 27-12-23

Expand All @@ -19,8 +26,8 @@ All notable changes to this project will be documented in this file.

### Changed

- Bugfix in GeoJSON component correcting wrong behaviour when changing clustered data dynamically
- Correct GeoJSON data type definition (remove string as allowed type)
- Bugfix in `GeoJSON` component correcting wrong behavior when changing clustered data dynamically
- Correct `GeoJSON` component data type definition (remove string as allowed type)

## [1.0.11] - 07-10-23

Expand Down
2 changes: 1 addition & 1 deletion src/ts/components/WMSTileLayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export type Props = Modify<WMSTileLayerProps, {
* Used to display WMS services as tile layers on the map.
*/
const WMSTileLayer = ({crs, url, ...props}: Props) => {
const nProps = omit(assignLoadEventHandlers(props), 'id')
const nProps = omit(assignLoadEventHandlers(props), 'id', 'loading_state', 'setProps', 'children');
return (
<ReactLeafletWMSTileLayer url={url} crs={resolveCRS(crs)} {...nProps}></ReactLeafletWMSTileLayer>
)
Expand Down

0 comments on commit 56b70ec

Please sign in to comment.