Skip to content

Commit

Permalink
v0.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dimfeld committed Nov 10, 2023
1 parent 3800dbc commit e3be209
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
5 changes: 0 additions & 5 deletions .changeset/polite-bags-exist.md

This file was deleted.

24 changes: 15 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,24 +1,30 @@
# svelte-maplibre

## 0.7.0

### Major Changes

- [#92](https://github.com/dimfeld/svelte-maplibre/pull/92) [`3800dbc`](https://github.com/dimfeld/svelte-maplibre/commit/3800dbcdb0808e280e0adc2ef1b29a77e23e7d1d) Thanks [@dabreegster](https://github.com/dabreegster)! - Add RasterTileSource and RasterLayer. This is a breaking change in that the required version of maplibre-gl is changed from ^3.0.0 to ^3.5.0.

## 0.6.0

### Major Changes

- [#94](https://github.com/dimfeld/svelte-maplibre/pull/94) [`90cde79`](https://github.com/dimfeld/svelte-maplibre/commit/90cde791dd6222086197edfc6a872177bf6c1920) Thanks [@dimfeld](https://github.com/dimfeld)!

Allow setting layers to be non-interactive. Layers with `interactive={false}` will not emit mouse events, and will not
participate in hit testing when comparing to other layers with `eventsIfTopMost`.
participate in hit testing when comparing to other layers with `eventsIfTopMost`.

This is useful, for example, when placing a SymbolLayer on top of a
CircleLayer. See the updated "Clusters and Popups" example; previous the popup would disappear when the mouse was over
the labels, but not it does not.
This is useful, for example, when placing a SymbolLayer on top of a
CircleLayer. See the updated "Clusters and Popups" example; previous the popup would disappear when the mouse was over
the labels, but not it does not.

This is a breaking change:
This is a breaking change:

- The `interactive` prop for `Marker` and `MarkerLayer` has been renamed to `asButton`, to make room for the new
`interactive` prop.
- DeckGlLayer still continues to allow the `pickable` prop, but `interactive` should be used instead for consistency.
The behavior here is unchanged though.
- The `interactive` prop for `Marker` and `MarkerLayer` has been renamed to `asButton`, to make room for the new
`interactive` prop.
- DeckGlLayer still continues to allow the `pickable` prop, but `interactive` should be used instead for consistency.
The behavior here is unchanged though.

### Minor Changes

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-maplibre",
"version": "0.6.0",
"version": "0.7.0",
"description": "Svelte bindings for MapLibre",
"author": {
"name": "Daniel Imfeld",
Expand Down

1 comment on commit e3be209

@vercel
Copy link

@vercel vercel bot commented on e3be209 Nov 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.