Skip to content

Commit

Permalink
Added print zoom scale to action (#1770)
Browse files Browse the repository at this point in the history
  • Loading branch information
allyoucanmap authored and offtherailz committed May 3, 2017
1 parent 3212993 commit 58292f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/components/mapcontrols/scale/ScaleBox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ var ScaleBox = React.createClass({
},
onComboChange(event) {
var selectedZoomLvl = parseInt(event.nativeEvent.target.value, 10);
this.props.onChange(selectedZoomLvl);
this.props.onChange(selectedZoomLvl, this.props.scales[selectedZoomLvl]);
},
getOptions() {
return this.props.scales.map((item, index) => {
Expand Down

0 comments on commit 58292f5

Please sign in to comment.