b606f4996b7ce651c2446af8d1278a4f1fd8de67
The `ol.extent.containsExtent` documentation had its arguments backwards (or the implementation did). The documentation said "the first extent is contained by or on the edge of the second", but the function checked the opposite. The wording was also a little strange, since from the name of the function alone `containsExtent` I'd guess that the first argument would be the (potential) container, and the second would be the (potentially) contained. But the documentation has the wording "check if one extent is *contained by* or on the edge of another", suggesting the first argument is the contained and the second the container. This patch keeps the current functionality but clarifies the documentation.
OpenLayers 3
OpenLayers 3 is a high-performance, feature-packed library for creating interactive maps on the web.
Getting Started
- Download the latest release
- Install with npm:
npm install openlayers - Clone the repo:
git clone git@github.com:openlayers/ol3.git
Documentation
Check out the hosted examples, the workshop or API docs.
Bugs
Please use the GitHub issue tracker for all bugs and feature requests. Before creating a new issue, do a quick search to see if the problem has been reported already.
Contributing
Please see our guide on contributing if you're interested in getting involved.
Community
- Need help? Find it on stackoverflow using the tag 'openlayers-3'
- Follow @openlayers on Twitter
- Discuss with openlayers users on IRC in
#openlayersatchat.freenode
Description
Languages
JavaScript
99%
CSS
0.6%
Handlebars
0.3%
Shell
0.1%