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 a button to open in full mapstore (see #1632) #1696

Merged
merged 4 commits into from
Apr 6, 2017

Conversation

offtherailz
Copy link
Member

GoFull plugins autoshows when originalUrl is present in config (JsAPI use case) or when the url match with a regex (embedded iframe use case).
In both cases it opens MapStore full in a new tab (using originalUrl or parsing the current href to create the url to open.

GoFull plugins autoshows when originalUrl is present in config (JsAPI use case) or when the url match with a regex (embedded iframe use case).
In both cases it opens MapStore full in a new tab (using originalUrl or parsing the current href to create the url to open.
},

render() {
if (!this.display()) return <noscript></noscript>;
Copy link
Contributor

Choose a reason for hiding this comment

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

return null;

* @memberof plugins
* @class
*/
const GoFull = React.createClass({
Copy link
Contributor

Choose a reason for hiding this comment

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

Externalize the component, please

Copy link
Contributor

Choose a reason for hiding this comment

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

do some test also

@coveralls
Copy link

Coverage Status

Coverage remained the same at 77.292% when pulling 0964d4d on offtherailz:gofull into a9046d3 on geosolutions-it:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 77.304% when pulling 53a51b9 on offtherailz:gofull into a9046d3 on geosolutions-it:master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 77.304% when pulling 067d027 on offtherailz:gofull into a9046d3 on geosolutions-it:master.

@offtherailz offtherailz merged commit f7437a4 into geosolutions-it:master Apr 6, 2017
@offtherailz offtherailz deleted the gofull branch July 18, 2018 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants