Commit Graph

35 Commits

Author SHA1 Message Date
Éric Lemoine b501230164 Bigger + and - zoom buttons on touch devices 2013-04-14 23:28:45 +02:00
Frederic Junod 7b0e036b83 Hide the control if the Fullscreen API is not supported 2013-04-11 18:25:31 +02:00
Tim Schaub 93041becbe Toggle css class and use css content for anchor 2013-04-11 18:25:31 +02:00
Tom Payne cef6fe4930 Add full screen control 2013-04-11 18:25:31 +02:00
Tom Payne dfed88a8c2 Add ol.control.Logo 2013-04-05 18:38:52 +02:00
Frederic Junod 56afdb31c0 Remove unused ol-renderer-webgl-canvas css class 2013-04-03 14:09:42 +02:00
Frederic Junod ffa879dad7 Hide the zoom buttons on print 2013-04-03 14:09:42 +02:00
Marc Jansen 1040a082c1 Remove CSS workarounds as suggested by @fredj. 2013-03-14 09:37:36 +01:00
Marc Jansen 8bf71ebb3a Add a zoomslider control. 2013-03-14 09:37:35 +01:00
Tom Payne 8c2b01948b Add ScaleLine control 2013-03-04 00:43:37 +01:00
Frederic Junod 0fcc06b8ae Set ol-zoom content in css using :before pseudo class 2013-03-03 12:23:29 +01:00
Frederic Junod 7d79a77052 Remove css size dependent rule (hover color) 2013-03-03 12:10:12 +01:00
Frederic Junod 9eeea82338 Remove CSS color workarounds. 2013-02-21 15:21:17 +01:00
Tom Payne c2c87a80a1 Remove duplicate CSS rule 2013-01-29 11:21:57 +01:00
Marc Jansen 9af78dd2fe Adjust border-radius of zoom buttons. 2013-01-23 08:14:55 +01:00
Tom Payne d0a330c870 Use an em space to separate attributions 2012-10-03 17:59:44 +02:00
Tom Payne 7bcb5886ad Use CSS rule to separate attributions 2012-09-28 14:57:54 +02:00
Tom Payne ed67bdc489 Make attribution control less ugly 2012-09-28 14:53:45 +02:00
Tom Payne acb411ef43 Use consistent naming for CSS classes 2012-09-28 14:32:41 +02:00
Tom Payne a26f796577 Prettify CSS 2012-09-28 14:32:41 +02:00
Tom Payne 7bdb86b10e Remove unused CSS classes 2012-09-28 14:32:40 +02:00
Tom Payne da5ad0bf20 Minify CSS with Closure Stylesheets
See https://code.google.com/p/closure-stylesheets/
2012-09-28 14:16:25 +02:00
Tom Payne 31411ae33f Remove unused style 2012-09-28 13:48:20 +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
ahocevar 303960731c CSS for previous commit 2012-09-26 18:33:07 +02:00
ahocevar 3bd204fb6a DragBox control provides visual shiftdragzoom feedback
Adding a new DragBox control and using it in the shiftdragzoom interaction to provide visual feedback of the zoom box. The control is nicely separated from the interaction - it only draws the box and does not perform any action.
2012-09-26 12:50:14 +02:00
ahocevar 3c099a96b7 No longer tap-selecting elements on touch devices
This finalizes the effort to improve map browser event handling.
2012-09-25 19:32:08 +02:00
Tom Payne 6c0b719aef Remove OpenLayers 2, as discussed with @ahocevar, @elemoine and @tschaub 2012-08-30 15:00:23 +02:00
ahocevar 9c46aadd22 Adding attribution control and attribution. 2012-06-24 22:22:18 +02:00
Tim Schaub 76d90428bd Pleasant zoom. 2012-06-23 03:32:27 +02:00
Tim Schaub af73489bd5 Create a renderer and draw when possible. 2012-06-22 20:08:44 +02:00
ahocevar 0420d2efb9 Adding Zoom control.
Tests still missing.
2012-06-22 17:14:22 +02:00
Mike Adair 368bb28671 initial version of popups 2012-06-22 08:13:34 -04:00
ahocevar e9e5fd27dc The map now has a viewport and can render to a container. 2012-06-21 18:56:48 +02:00
Petr Pridal 638d00b759 First css styles in /css/ol.css 2012-06-21 12:23:37 +02:00