Skip to content

Commit

Permalink
Merge pull request #27 from marcjansen/map-docs
Browse files Browse the repository at this point in the history
Fix minors in the docs of map util
  • Loading branch information
dnlkoch authored Sep 12, 2018
2 parents 4e87910 + 3b5849f commit ee1379f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MapUtil/MapUtil.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class MapUtil {
}

/**
* Returns all interactions by the given name of a map.
* Returns all interactions of the given class of the passed map.
*
* @param {ol.Map} map The map to use for lookup.
* @param {ol.interaction} clazz The class of the interaction to look for.
Expand Down Expand Up @@ -112,7 +112,7 @@ export class MapUtil {
*
* @param {ol.Map|ol.layer.Group} collection The collection to get the layers
* from. This can be an ol.layer.Group
* or and ol.Map.
* or an ol.Map.
* @param {function} [filter] A filter function that receives the layer.
* If it returns true it will be included in the
* returned layers.
Expand Down

0 comments on commit ee1379f

Please sign in to comment.