Samuel Lapointe c2c4dbfc32 Add a zoom setting to MouseWheelZoomInteraction
By default, zooming in or out zooms using the mouse's location
as an anchor, which makes it possible to navigate the map
using scrolling only, and makes zooming in more intuitive.

This commit adds a new useAnchor option to the MouseWheelZoom
interaction. It is enabled by default, which changes nothing
to the current behavior of the interaction. When disabled,
the interaction stops registering its lastAnchor_ value. This
turns the zoom into a very basic one, that zooms to the center
of the screen.

To use the map center zoom, set the useAnchor option to
false when creating the MouseWheelZoomInteraction, or use its
setMouseAnchor function.
2015-09-11 16:20:10 -04:00
2015-08-26 10:36:55 +02:00
2015-09-10 10:44:20 +02:00
2015-09-09 07:43:22 +02:00
2015-09-04 13:51:25 -06:00
2015-08-19 14:49:28 +02:00
2015-01-07 21:06:04 -07:00
2015-03-30 10:05:21 +02:00
2015-08-26 10:36:55 +02:00
2015-09-10 10:45:01 +02:00
2015-09-04 13:51:25 -06:00
2015-08-26 10:36:55 +02:00

OpenLayers 3

Travis CI Status Coverage Status

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

Description
Languages
JavaScript 99%
CSS 0.6%
Handlebars 0.3%
Shell 0.1%