-
Notifications
You must be signed in to change notification settings - Fork 405
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
fix #1176 implemented GraticuleLayer for leaflet #1180
Conversation
saidaipparla
commented
Oct 19, 2016
- added unit test too
@@ -0,0 +1,30 @@ | |||
/** | |||
* Copyright 2015, GeoSolutions Sas. |
There was a problem hiding this comment.
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, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
showOriginLabel
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return null;