You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+3-35
Original file line number
Diff line number
Diff line change
@@ -7,96 +7,78 @@ Once we reach 1.0 all deprecations will be removed and the project will switch t
7
7
8
8
## Uncommitted
9
9
10
+
## 0.21.3 - 2022-10-01
11
+
- Add `dir="ltr"` to map container div.
12
+
10
13
## 0.21.2 - 2022-09-18
11
-
### Changes
12
14
- Support custom content as children of `<Marker><Icon /></Marker>`
13
15
14
16
## 0.21.1 - 2022-09-18
15
-
### Changes
16
17
- Fix the usage of `<ZoomControl />` buttons inside `<form>` tags.
17
18
18
19
## 0.21.0 - 2022-03-13
19
-
### Changes
20
20
- Add `GeoJson`, `GeoJsonLoader`, `GeoJsonFeature` by @baldulin#149
21
21
22
22
## 0.20.0 - 2022-01-29
23
-
### Changes
24
23
- Add `tileComponent` prop, which lets you swap out the default `<img />` component for a custom one.
25
24
26
25
## 0.19.7 - 2021-07-04
27
-
### Changes
28
26
- Improve `<Draggable />` for cases when controlling its location via `onDragMove`.
29
27
30
28
## 0.19.6 - 2021-05-29
31
-
### Changes
32
29
- Minor change: the default value for `dpr` in `provider` functions now defaults to `1` (instead of `undefined`)
33
30
34
31
## 0.19.5 - 2021-03-20
35
-
### Changes
36
32
- Draggable: Set the cursor to `grab` and`grabbing` by default
37
33
38
34
## 0.19.4 - 2021-03-20
39
-
### Changes
40
35
- Center align the tiles and overlays when the pre-rendered map is not the same size as on the final rendered page.
41
36
42
37
## 0.19.3 - 2021-03-20
43
-
### Changes
44
38
- Add `maptiler` to providers
45
39
46
40
## 0.19.0 - 2021-03-19
47
-
### Changes
48
41
- Add `<Draggable />` overlay
49
42
50
43
## 0.18.1 - 2021-03-19
51
-
### Changes
52
44
- Support `import { osm, ... } from 'pigeon-maps/providers'`
53
45
54
46
## 0.18.0 - 2021-03-17
55
-
### Changes
56
47
- Remove default export of `Map`. You must now do `import { Map } from 'pigeon-maps'`.
57
48
- Add `<ZoomControl />`
58
49
- Add `mapProps` and `setCenterZoom` to the props given to child components
59
50
- Set the default provider to OSM again (from stamenToner)
60
51
61
52
## 0.17.3 - 2021-03-16
62
-
### Changes
63
53
- With `metaWheelZoom` you can now also scroll with the CTRL key (#120 by olehmaksym)
64
54
65
55
## 0.17.2 - 2021-03-16
66
-
### Changes
67
56
- Use a `ResizeObserver` to update the size even when the window doesn't resize (#125 by @mischnic)
68
57
- Add classes `pigeon-tile-box`, `pigeon-tiles`, `pigeon-overlays` and `pigeon-overlay-warning` to internal divs.
69
58
70
59
## 0.17.1 - 2021-02-13
71
-
### Changes
72
60
- Fixes faulty types for `Marker` and `Overlay`
73
61
74
62
## 0.17.0 - 2020-12-03
75
-
### Changes
76
63
- Add `Marker` and `Overlay` components to the pigeon-maps "standard library"
77
64
- Fix a bug with mousewheel scroll when width & height present (#117 by @roux1max)
78
65
79
66
## 0.16.1 - 2020-08-28
80
-
### Changes
81
67
- Add empty ALT attribute to map tiles
82
68
83
69
## 0.16.0 - 2020-08-10
84
-
### Changes
85
70
- Rewritten in TypeScript without changing any functionality
86
71
- Attribution links now open in a new tab
87
72
88
73
## 0.15.0 - 2020-03-03
89
-
### Changes
90
74
- Changed the default tile provider from the broken Wikimedia to OSM
91
75
- Add more information about setting up your own tile provider
92
76
- Add lazy loading for tiles (#87 by @maxsteenbergen)
93
77
94
78
## 0.14.0 - 2019-08-31
95
-
### Changes:
96
79
- React 16.8 support by removing deprecated componentWillReceiveProps and replacing it with componentDidUpdate. #70@JoaquimEsteves
97
80
98
81
## 0.13.0 - 2019-05-09
99
-
### Changes
100
82
- Add the `dprs` parameter to `<Map />` and `dpr` as the 4th argument for the `provider` functions.
101
83
102
84
Previously if you wanted to support HiDPI screens your `provider` function looked something like this:
@@ -125,56 +107,42 @@ The value of `dpr` will be `undefined` for the default tile (`<img src>`) which
125
107
If you don't need server rendering, then the old approach of having no `dprs` array and figuring out the `dpr` from the `window` inside `provider` will continue to work fine.
126
108
127
109
## 0.12.1 - 2019-03-26
128
-
### Fixes
129
110
- Fix 100% height issue. #48 and #4
130
111
131
112
## 0.12.0 - 2019-03-26
132
-
### Changes
133
113
- Removed inferno support, which reportedly didn't even work (#39).
134
114
- Started using rollup and babel loose mode to reduce the size even more. #59@markusenglund (a [~8% reduction!](https://bundlephobia.com/result?p=pigeon-maps@0.12.0))
135
115
136
116
## 0.11.11 - 2018-11-16
137
-
### Fixes
138
117
- Fix wheel/touchpad scrolling on Chrome 73+, which requires non-passive event handlers for wheel events. [See also this](https://github.com/facebook/react/issues/14856).
139
118
140
119
## 0.11.8 - 2018-11-16
141
-
### Fixes
142
120
- Another edge case bug with animation and changing the center before the animation had time to finish.
143
121
144
122
## 0.11.7 - 2018-11-16
145
-
### Fixes
146
123
- Bug when animating between screens and forced to jump to a far away screen, it would freeze instead of jumping.
147
124
148
125
## 0.11.6 - 2018-11-05
149
-
### Fixes
150
126
- The `pigeon-drag-block` class also works with touch events
151
127
152
128
## 0.11.5 - 2018-10-18
153
-
### Changes
154
129
- Fixes "0 0 0 0" appearing if the map has no size. #46@PofMagicfingers
155
130
156
131
## 0.11.4 - 2018-10-18
157
-
### Changes
158
132
- Added an undocumented feature `limitBounds`. If defaults to `center`, but if set to `edge`, we will try show as much map as possible. See issue #45 for details.
159
133
160
134
## 0.11.3 - 2018-10-17
161
-
### Changes
162
135
- Added a polyfill for `window.requestAnimationFrame`
163
136
- Updated attribution URL to https://pigeon-maps.js.org/
164
137
165
138
## 0.11.2 - 2018-10-10
166
-
### Addition
167
139
- Added `boxClassname` props allowing you to apply css for the tiles div only #43@sgerin
168
-
169
-
### Fix
170
140
- Fix bug zoom position when browser loses focus #41@benrampon
171
141
172
142
## 0.11.1 - 2018-09-29
173
-
### Updates
174
143
- Explicitly set touch event listeners to use non-passive mode. Fixes iOS 11.3 dragging issue. #40@Jercik
175
144
176
145
## 0.11.0 - 2018-09-19
177
-
### Updates
178
146
- Added `minZoom` and `maxZoom` to limit the zoom range
0 commit comments