Skip to content

Commit 91ad2dc

Browse files
author
Joe Niemi
authored
Merge pull request #1967 from HSLdevcom/1961_change_digitransitUrl_v1_into_v2
1961 change digitransit url v1 into v2
2 parents 55e4536 + fa84f5c commit 91ad2dc

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
## 1.4.0 (2022-02-17)
2+
3+
* StopArea name max length is now 20 ([1424515](https://github.com/HSLdevcom/jore-map-ui/commit/1424515))
4+
5+
6+
7+
## 1.3.0 (2022-01-12)
8+
9+
* Last rpLinkNode can never be shown as disabled ([e405e28](https://github.com/HSLdevcom/jore-map-ui/commit/e405e28))
10+
11+
12+
113
## 1.2.0 (2021-06-11)
214

315
* 1822 sort by start date and end date (#1878) ([184fe8f](https://github.com/HSLdevcom/jore-map-ui/commit/184fe8f)), closes [#1878](https://github.com/HSLdevcom/jore-map-ui/issues/1878)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "jore-map-ui",
3-
"version": "1.2.0",
3+
"version": "1.4.0",
44
"private": true,
55
"dependencies": {
66
"@babel/core": "7.10.5",

src/components/map/Map.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class LeafletMap extends React.Component<IMapProps> {
163163
<TileLayer
164164
url={
165165
this.props.mapStore?.visibleMapBaseLayer === MapBaseLayer.DIGITRANSIT
166-
? 'https://digitransit-prod-cdn-origin.azureedge.net/map/v1/hsl-map/{z}/{x}/{y}.png'
166+
? 'https://cdn.digitransit.fi/map/v2/hsl-map/{z}/{x}/{y}.png'
167167
: 'https://ortophotos.blob.core.windows.net/hsy-map/hsy_tiles2/{z}/{x}/{y}.jpg'
168168
}
169169
attribution={
@@ -172,7 +172,7 @@ class LeafletMap extends React.Component<IMapProps> {
172172
<a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>
173173
Imagery © <a href="http://mapbox.com">Mapbox</a>
174174
/>`
175-
: `© Espoon, Helsingin ja Vantaan kauupungit, Kirkkonummen ja Nurmijärven kunnat sekä HSL ja HSY`
175+
: `© Espoon, Helsingin ja Vantaan kaupungit, Kirkkonummen ja Nurmijärven kunnat sekä HSL ja HSY`
176176
}
177177
baseLayer={true}
178178
maxZoom={19}

src/project/version.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"version": "1.2.0"
2+
"version": "1.4.0"
33
}

0 commit comments

Comments
 (0)