-
Notifications
You must be signed in to change notification settings - Fork 14
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
Feature change layer color2 #14
Conversation
…h (update occurs in event handler _onLayerChange
…eoportal-sdk into feature-changeLayerColor2
…eoportal-sdk into feature-changeLayerColor2
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.
Passage sur IMap.CustomEvent() pour compatibilité IE
et documentation de la propriété grayScaled dans l'événement layerChanged.
Je me charge des modifs.
src/ol3/OL3.js
Outdated
@@ -2598,6 +2630,17 @@ define([ | |||
} | |||
|
|||
this._colorGrayscaleLayerSwitch(gpLayer,toGrayScale); | |||
|
|||
var event = new CustomEvent( |
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.
Utiliser le polyfill IMap.CustomEvent() pour construire l'événement pour assurer la compatibilité IE)
No description provided.