Commit Graph

999 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
f4532f1548 Completing tests for map handlers. 2012-07-12 23:48:13 +02:00
Éric Lemoine
d73410a9b3 add a click handler 2012-07-11 17:45:32 +02:00
Éric Lemoine
da11a8c34d add ol.ENABLE_DRAG_HANDLER and ol.ENABLE_MOUSEWHEEL_HANDLER @defines, and pass a an object to the handlers for sharing states 2012-07-11 17:43:42 +02:00
Éric Lemoine
82b5a59647 remove ol.event entirely 2012-07-09 21:34:47 +02:00
Éric Lemoine
e4ff1a7574 ol.Tile inherits from goog.events.EventTarget 2012-07-09 21:33:08 +02:00
Éric Lemoine
7c7cd08494 base tests for ol.handler.Drag and ol.handler.MouseWheel 2012-07-09 21:09:09 +02:00
Tim Schaub
1dd2512765 Specs for getting tile coords. 2012-07-09 01:15:56 -06:00
ahocevar
d76eea8ac4 Fixing tests. 2012-07-09 08:26:25 +02:00
ahocevar
b7c8486289 Testing Control.js. 2012-06-26 00:18:29 +02:00
ahocevar
56542de1f3 More Events.js tests. 2012-06-26 00:00:36 +02:00
Marc Jansen
1d12c1b5d8 Better test description. 2012-06-25 23:23:42 +02:00
Marc Jansen
f477fd8ced Allow multi* geometries in Collections/collections. 2012-06-25 23:19:25 +02:00
Marc Jansen
29b684f916 Correct the formatPoint test to use API methods. 2012-06-25 23:03:01 +02:00
Marc Jansen
0a60d2dc82 Include test spec in api.html. 2012-06-25 22:45:17 +02:00
Marc Jansen
7eef78ed4c Add geom/multilinestring classes and tests. 2012-06-25 22:44:42 +02:00
Marc Jansen
f2577bbf12 Correct test for remove method. 2012-06-25 22:43:22 +02:00
Marc Jansen
6d84d4d3a1 Add geom/MultiLineString classes and tests. 2012-06-25 21:36:17 +02:00
Éric Lemoine
192caa1c65 [ol.layer.TileLayer] do not load tiles outside the layer's extent 2012-06-24 22:25:01 +02:00
ahocevar
1b93856e89 Keep track of the number of events we have registered.
This is needed to reliably prevent the handleBrowserEvent method to perform potentially expensive calculations.
2012-06-24 20:03:16 +02:00
ahocevar
53a1f9b579 Adding tests for Loc.add. 2012-06-24 12:02:45 +02:00
Éric Lemoine
b615eb94b7 add a ol.layer.wms factory 2012-06-23 21:53:45 +02:00
ahocevar
bba7500ab7 Making Popup tests pass. 2012-06-23 17:00:58 +02:00
Éric Lemoine
0eaaefdf1d make the TileLayerRenderer tests pass 2012-06-22 20:43:13 +02:00
Éric Lemoine
f92e128636 [ol.layer.WMS] add a basic tiled WMS layer implementation 2012-06-22 20:39:56 +02:00
Mike Adair
e7240062b3 adding some more tests 2012-06-22 13:05:18 -04:00
Éric Lemoine
5dc156995a [ol.layer.TileLayer] use ol.error 2012-06-22 18:46:52 +02:00
Éric Lemoine
a26913f26e [ol.layer.TileLayer] getTileUrl should be implemented in subclasses 2012-06-22 18:31:32 +02:00
Marc Jansen
c54dda723a Remove debugg statement 2012-06-22 18:26:09 +02:00
Marc Jansen
be9448457d Test & improve the getCentroid/centroid method of collections 2012-06-22 18:24:53 +02:00
Marc Jansen
abb254a0fb Test the getCentroid/centroid Method of multipoints 2012-06-22 18:24:53 +02:00
Tim Schaub
2fffa0293d Test renderer type. 2012-06-22 17:48:44 +02:00
Éric Lemoine
68fdab6824 [ol.layer.TileLayer] do not create tiles outside the layer extent 2012-06-22 17:30:35 +02:00
Marc Jansen
4dd3e695a4 Test the getCentroid/centroid Method of linestrings 2012-06-22 17:25:39 +02:00
Marc Jansen
bddb84ec14 Fix the the 'remove' exists test. 2012-06-22 17:25:39 +02:00
ahocevar
d9537b558a Simplified ISequence API; add object property also for browser events. 2012-06-22 17:12:29 +02:00
Éric Lemoine
22f569750f [ol.TileCache] tile cache size is not 1 2012-06-22 16:53:56 +02:00
Éric Lemoine
c501559413 Revert "[ol.TileCache] tile cache size is not 1"
This reverts commit 3f9fd2f47a.
2012-06-22 16:51:28 +02:00
Éric Lemoine
3f9fd2f47a [ol.TileCache] tile cache size is not 1 2012-06-22 16:48:48 +02:00
Marc Jansen
e23b119059 Whitespace changes only. 2012-06-22 16:26:19 +02:00
Marc Jansen
09d7f15fb2 Give points a getCentroid/centroid method. 2012-06-22 16:26:19 +02:00
Tim Schaub
db3a6e9c4a Get closest resolution. 2012-06-22 16:14:33 +02:00
Éric Lemoine
1df7c048b8 [ol.layer.TileLayer] tileOriginCorner is tl by default 2012-06-22 15:43:18 +02:00
Tim Schaub
ef06bee222 Allowing people to set up things backwards. 2012-06-22 15:42:56 +02:00
Éric Lemoine
71a804c5e0 [ol.layer.TileLayer] add a getTileForXYZ func 2012-06-22 15:16:58 +02:00
Mike Adair
675dd2b47e Merge branch 'master' of github.com:openlayers/ol3 2012-06-22 08:14:42 -04:00
ahocevar
494305d725 Simplified the ISequence interface and sequence event handling. 2012-06-22 14:14:10 +02:00
Mike Adair
368bb28671 initial version of popups 2012-06-22 08:13:34 -04:00
Éric Lemoine
01668a2748 [ol.layer.TileLayer] add a getTileSize function 2012-06-22 14:09:57 +02:00
Tim Schaub
4e2ea47e73 Decode what we encode. 2012-06-22 13:12:47 +02:00