Skip to content

fix #1176 implemented GraticuleLayer for leaflet#1180

Merged
mbarto merged 2 commits into
geosolutions-it:masterfrom
saidaipparla:GraticuleLayer
Oct 20, 2016
Merged

fix #1176 implemented GraticuleLayer for leaflet#1180
mbarto merged 2 commits into
geosolutions-it:masterfrom
saidaipparla:GraticuleLayer

Conversation

@saidaipparla

Copy link
Copy Markdown
Contributor
  • added unit test too

@@ -0,0 +1,30 @@
/**
* Copyright 2015, GeoSolutions Sas.

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.

2016

create: (options) => {
const graticuleOptions = assign({
interval: 20,
showshowOriginLabel: 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.

showOriginLabel

@saidaipparla saidaipparla Oct 19, 2016

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

should i keep this showOriginLabel:(0,0) as initiial parameter ? instead of 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.

No, the name is wrong, no showshowOriginLabel but showOriginLabel

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

ok

if (SimpleGraticule) {
return new SimpleGraticule(graticuleOptions);
}
return false;

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.

return null;

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage increased (+0.02%) to 80.701% when pulling 28ce313 on saidaipparla:GraticuleLayer into e3ce9ba on geosolutions-it:master.

@mbarto mbarto merged commit f1bea6b into geosolutions-it:master Oct 20, 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