Commit Graph

36 Commits

Author SHA1 Message Date
Éric Lemoine
c2a30f4ac4 Replace the navigation control by two controls, namely DragPan and MouseWheelZoom. DragPan is the map default drag control. MouseWheelZoom is the map default mouse wheel control. 2012-07-13 08:57:40 +02:00
ahocevar
3cc069186c Allow for using a different set of default behaviors.
The default behavior of dragging and wheel zooming feels specific to 2D maps. So I think it makes sense to introduce a special type of controls (ol.control.DefaultControl) that implement default behaviors. This change also re-introduces the Navigatin control, which is a container for the default behaviors that were previously defined in the map handlers. Maybe this control needs to be renamed to Navigatin2D in the future, and there could be a different Navigation control for 3D maps.
2012-07-12 20:51:47 +02:00
Éric Lemoine
a6b37ff83d remove reference to ol.control.Navigation in ol.js 2012-07-11 18:00:40 +02:00
Éric Lemoine
c6b8a93394 add goog.require for ol.handler.Click in ol.js 2012-07-11 17:52:21 +02:00
Éric Lemoine
82b5a59647 remove ol.event entirely 2012-07-09 21:34:47 +02:00
Éric Lemoine
2c61e16b55 add a mouse wheel handler 2012-07-09 09:27:36 +02:00
Éric Lemoine
946cd33350 make ol.Map inherit from goog.EventTarget, and add an ol.handler.Drag 2012-07-05 11:11:35 +02:00
Marc Jansen
7eef78ed4c Add geom/multilinestring classes and tests. 2012-06-25 22:44:42 +02:00
ahocevar
9c46aadd22 Adding attribution control and attribution. 2012-06-24 22:22:18 +02:00
Éric Lemoine
b615eb94b7 add a ol.layer.wms factory 2012-06-23 21:53:45 +02:00
Tim Schaub
df1dfd5295 Adding exports to get advanced compilation. 2012-06-23 15:22:37 +02:00
Éric Lemoine
f92e128636 [ol.layer.WMS] add a basic tiled WMS layer implementation 2012-06-22 20:39:56 +02:00
ahocevar
c72f803038 Adding scroll sequence and scroll support for the Navigation control. 2012-06-22 19:51:35 +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
Tom Payne
fd4c776181 Create new ol.base and include ol.error 2012-06-22 11:56:45 +02:00
Éric Lemoine
1c7e0f8481 add an ol.TileCache and use it in ol.TileLayer 2012-06-21 19:00:09 +02:00
ahocevar
81a55eb320 Finally fixing event sequences. 2012-06-21 17:26:23 +02:00
Marc Jansen
0374d1abc7 Add geom.Collection & geom.collection.
Also make MultiPoint and multipoint inherit from Collection/collection
respectively.
2012-06-21 16:00:08 +02:00
Petr Pridal
6ca9112af2 WebGL MapRenderer inicializaiton with a test (it may fail on computers without WebGL). 2012-06-21 15:51:00 +02:00
ahocevar
5b747cf7fd Temporarily removing Drag sequence. 2012-06-21 14:14:36 +02:00
ahocevar
6213e07f96 Navigation control with Drag sequence Dragger
This is totally unfinished, but tests pass, and it is only meant to give the map a Navigation control.
2012-06-21 14:08:50 +02:00
Marc Jansen
f85d6402e9 Add MultiPoint and multipoint. 2012-06-21 12:19:42 +02:00
Éric Lemoine
22bffd9d8b add an OSM layer constructor to the API 2012-06-21 08:46:23 +02:00
Tim Schaub
43c8b89460 Initial pass at tiled layer renderer. 2012-06-21 01:18:57 +02:00
ahocevar
6ddda53a70 Initial port of Control.js and Navigation.js.
This also adds an Events instance to the map, so the Navigation control can register events on the map.

Tests still missing.
2012-06-20 23:21:44 +02:00
Mike Adair
4ea2fe3701 adding features 2012-06-20 13:33:20 -04:00
ahocevar
c4c595862f Support for event sequences, and a drag sequence.
Tests still missing.
2012-06-20 18:35:42 +02:00
Éric Lemoine
7413770a46 add an ol.layer.xyz factory 2012-06-20 18:09:10 +02:00
Éric Lemoine
a96b559ddd very first XYZ layer bits 2012-06-20 09:18:46 +02:00
ahocevar
fb8b1e878d Events.js ported, with tests stub. More tests to be added. 2012-06-20 01:09:21 +02:00
Marc Jansen
450f8f7b74 First state of a geom package. 2012-06-19 18:21:21 +02:00
Éric Lemoine
1c8abd38a6 add a basic TileSet class 2012-06-19 15:18:34 +02:00
Éric Lemoine
ce20ba066c add an ol.Tile class 2012-06-19 14:52:25 +02:00
Tom Payne
da7449454e Pass bounds spec. 2012-06-19 11:56:48 +02:00
Tim Schaub
77c07a500e A passing test. 2012-06-19 11:14:53 +02:00