Skip to content

Commit

Permalink
Merge pull request #652 from etalab/tusbar/fix-identifiers
Browse files Browse the repository at this point in the history
Start map feature ids at 1
  • Loading branch information
tusbar authored Jul 12, 2018
2 parents d5c0d8a + 7e93857 commit 5200aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/centered-map/enhance-map-data.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default Map => hoist(class extends React.PureComponent {

transformedData.features = transformedData.features.map((feature, id) => ({
...feature,
id
id: id + 1
}))
}
}
Expand Down

0 comments on commit 5200aa9

Please sign in to comment.