Skip to content

Fixes #550 Mouse position plugin improvements#561

Merged
mbarto merged 1 commit intogeosolutions-it:masterfrom
nmco:issue-550-mouseposition-onclick
May 13, 2016
Merged

Fixes #550 Mouse position plugin improvements#561
mbarto merged 1 commit intogeosolutions-it:masterfrom
nmco:issue-550-mouseposition-onclick

Conversation

@nmco
Copy link
Copy Markdown

@nmco nmco commented May 12, 2016

Associated issue: #550


const MousePositionPlugin = connect(selector)(require('../components/mapcontrols/mouseposition/MousePosition'));
const MousePositionPlugin = connect(selector, {
copyToClipboardEnabled: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

remove this, we cannot disable it in any way otherwise

@nmco nmco force-pushed the issue-550-mouseposition-onclick branch from 83c7dcd to 44e6961 Compare May 12, 2016 10:47
}

// mouse position will only be show on map click
assign(newState, assign(newState.mousePosition || {}, {showOnClick: true}));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We do not want this by default. Remove

@nmco nmco force-pushed the issue-550-mouseposition-onclick branch from 44e6961 to 26a7845 Compare May 12, 2016 23:44
@nmco
Copy link
Copy Markdown
Author

nmco commented May 13, 2016

Updated, deactivating onClick and the clipboard copy.

@mbarto mbarto merged commit aa6936e into geosolutions-it:master May 13, 2016
offtherailz pushed a commit to offtherailz/MapStore2 that referenced this pull request May 18, 2016
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.

3 participants