Commit Graph

14 Commits

Author SHA1 Message Date
Frederic Junod
d4ad9ad616 Add missing goog.require('ol') 2016-08-17 09:57:21 +02:00
Tim Schaub
ce0cb1392d Move ol/control/zoomcontrol.js to ol/control/zoom.js 2016-08-07 10:49:07 -06:00
Tom Payne
e5d39724c9 Give each source file a unique name 2012-10-26 11:25:26 +02:00
Tom Payne
9d253ab6bb Refactor exports and externs 2012-10-04 15:11:26 +02:00
ahocevar
6b395cafb5 Stop click event, as previously promised
This should have gone in with 3910318f1b.
2012-09-28 16:47:54 +02:00
ahocevar
3d62b67172 Introducing ol.overlay.Overlay and an overlayContainer
ol.overlay.Overlay can be used to bind DOM elements to a
coordinate on the map. It has positioning options to support
e.g. popups or image markers that have an anchor at the bottom
and an unknown size.

The overlayContainer stops propagation on mousedown and
touchstart events, so clicks and gestures on overlays don't
trigger any MapBrowserEvent. To make this work reliably, we now
only fire dblclick in mapbrowserevent.js when there was a
previous mousedown or touchstart. The default container for
controls is now the overlayContainer.
2012-09-28 13:01:56 +02:00
Tom Payne
7415a11c63 More responsive zoom buttons on touch devices thanks to @ahocevar 2012-09-27 18:07:17 +02:00
Tom Payne
0faab71e3f Implement new control architecture 2012-09-27 17:54:20 +02:00
Éric Lemoine
bd0f3d2015 Zoom control does not know about the constraints 2012-09-27 13:42:30 +02:00
ahocevar
26e3179b2e Making linter and Travis happy 2012-09-27 12:18:05 +02:00
ahocevar
caaec7c366 Use the map's zoom method instead of our own
This also allows us to get rid of the resolutions constraint and configuration.
2012-09-27 12:05:53 +02:00
Éric Lemoine
25e00e5d74 Add FIXME to control/zoom.js 2012-09-27 00:10:54 +02:00
Éric Lemoine
79166dc1d6 Constraint objects moved to ol namespace from ol.interaction namespace 2012-09-27 00:10:54 +02:00
ahocevar
e390ff80ea Adding zoom control 2012-09-26 18:27:45 +02:00