Skip to content

Commit

Permalink
IE compatibility for CustomEvent and doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gcebelieu committed Jun 23, 2017
1 parent b87cc6c commit 09e5056
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
* LayerChanged Event. Triggered when one of the map's layers has changed in some way : <br/>
* * If a layer has be removed from the map, property **layerRemoved** will host the removed layer definition.
* * If a layer has be added to the map, property **layerAdded** will host the added layer definition.
* * If properties (among *visibility*, *opacity* and *position*) of a layer has changed, property **layerChanged** will host the modified layer definition and **property**, **oldValue** and **newValues** will host the modified property with its old and new value.
* * If properties (among *visibility*, *opacity*, *position* and *grayScaled*) of a layer has changed, property **layerChanged** will host the modified layer definition and **property**, **oldValue** and **newValues** will host the modified property with its old and new value.
* <br/>
* One can listen to this event with [Gp.Map.listen()](Gp.Map.html#listen) method
*
Expand Down
2 changes: 1 addition & 1 deletion src/ol3/OL3.js
Original file line number Diff line number Diff line change
Expand Up @@ -2631,7 +2631,7 @@ define([

this._colorGrayscaleLayerSwitch(gpLayer,toGrayScale);

var event = new CustomEvent(
var event = IMap.CustomEvent(
"change:grayScaled",
{
detail : {
Expand Down

0 comments on commit 09e5056

Please sign in to comment.