Skip to content

Commit 4059c5a

Browse files
authored
Merge pull request #167 from osmlab/release/v1.3.0
Release/v1.3.0
2 parents 397c098 + 92282ed commit 4059c5a

File tree

7 files changed

+575
-321
lines changed

7 files changed

+575
-321
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1-
### Change Log
1+
# Change Log
22

33
Log of changes since the 1.1.0 version
44

5-
# 1.2.0
5+
#### 1.3.0
6+
7+
* Update mapbox-gl-js to 0.4.3
8+
* Update @turf/helpers and @turf/bbox-polygon to 5.1.5
9+
10+
#### 1.2.0
611

712
* Link the id of the old version changeset to OSMCha
813
* Add section 'Tags added, updated, deleted'

lib/helpers.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
import mapboxgl from 'mapbox-gl';
2-
import turfHelpers from '@turf/helpers';
2+
import { featureCollection } from '@turf/helpers';
33
import turfBboxPolygon from '@turf/bbox-polygon';
44

5-
const featureCollection = turfHelpers.featureCollection;
6-
75
export function getBounds(bbox) {
86
var left = +bbox.left,
97
right = +bbox.right,

lib/render.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import mapboxgl from 'mapbox-gl';
2-
import { EventEmitter as events } from 'events';
2+
import { EventEmitter as Events } from 'events';
33
import { render as reactDOM } from 'react-dom';
44
import React from 'react';
55

@@ -9,7 +9,7 @@ import { Map as GlMap } from './map';
99
//filterLayers, renderMap, selectFeature, clearFeature
1010
import { config } from './config';
1111

12-
export const cmap = new events();
12+
export const cmap = new Events();
1313

1414
let map;
1515

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "changeset-map",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"description": "",
55
"main": "dist/bundle.js",
66
"scripts": {
@@ -19,10 +19,10 @@
1919
"react-dom": "^15.5.4"
2020
},
2121
"dependencies": {
22-
"@turf/bbox-polygon": "^4.3.0",
23-
"@turf/helpers": "^4.3.0",
24-
"mapbox-gl": "^0.37.0",
22+
"@turf/bbox-polygon": "^5.1.5",
23+
"@turf/helpers": "^5.1.5",
2524
"global": "^4.3.2",
25+
"mapbox-gl": "^0.43.0",
2626
"moment": "^2.18.1",
2727
"osm-adiff-parser-saxjs": "^1.0.0",
2828
"real-changesets-parser": "^1.2.3",

public/css/mapbox-gl.css

Lines changed: 328 additions & 221 deletions
Large diffs are not rendered by default.

public/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<div id='map'></div>
1010
<script defer src="./bundle.js"></script>
1111
<link rel="stylesheet" type="text/css" href="./css/reset.css" />
12-
<link rel="stylesheet" type="text/css" href="./css/mapbox-gl.css" />
1312
<link rel="stylesheet" type="text/css" href="./css/style.css" />
1413
</body>
1514
@@ -23,6 +22,7 @@
2322
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
2423
<title>Changeset Map</title>
2524

25+
<link rel="stylesheet" type="text/css" href="css/mapbox-gl.css" />
2626
<link href='css/style.css' rel='stylesheet' />
2727

2828
<style>
@@ -63,4 +63,4 @@
6363
<script src='bundle.js'></script>
6464
</body>
6565

66-
</html>
66+
</html>

0 commit comments

Comments
 (0)