Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add point measurement support #1339

Merged
merged 1 commit into from
Dec 13, 2016
Merged

Conversation

manisandro
Copy link
Contributor

Adds a measurement mode for measuring point coordinates.

@simboss simboss added the ready label Dec 8, 2016
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.04%) to 80.137% when pulling c3d4101 on sourcepole:pointmeasure into bdeb615 on geosolutions-it:master.

@@ -105,6 +114,7 @@ const MeasurementSupport = React.createClass({
areaMeasureEnabled: this.props.measurement.areaMeasureEnabled,
bearingMeasureEnabled: this.props.measurement.bearingMeasureEnabled,
geomType: this.props.measurement.geomType,
point: null, // handled in onDraw.created
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably we also need a pointMeasureEnabled: ... here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, commit amended. BTW I'll have a followup PR which will clean up the code a bit.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.1%) to 80.1% when pulling 57cbf15 on sourcepole:pointmeasure into 7c110f9 on geosolutions-it:master.

@mbarto mbarto merged commit e937622 into geosolutions-it:master Dec 13, 2016
@mbarto mbarto removed the ready label Dec 13, 2016
@manisandro manisandro deleted the pointmeasure branch December 13, 2016 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants