Commit Graph

10913 Commits

Author SHA1 Message Date
Tom Payne
e63f7d166f Don't crop against TileGrid extent in TileGrid 2012-07-11 17:20:07 +02:00
Tom Payne
fe38bb694b Re-order functions alphabetically 2012-07-11 17:20:07 +02:00
Tom Payne
e656597a59 Stricter type checking on ol.TileGrid origins 2012-07-11 17:20:07 +02:00
Tom Payne
ad30fbe544 Add initial ol.TileGrid tests 2012-07-11 17:20:06 +02:00
Tom Payne
896c4c102a Check resolutions are strictly monotonically decreasing 2012-07-11 17:20:06 +02:00
Tom Payne
b92a958bcd Add more ol.Array tests 2012-07-11 17:20:06 +02:00
Tom Payne
7b6fb0b4ca Enumerate ol.Array properties 2012-07-11 17:20:06 +02:00
Tom Payne
d70869c702 Rename ol.MVCArray to ol.Array 2012-07-11 17:20:06 +02:00
Tom Payne
331ee15ac8 Enumerate ol.Object properties 2012-07-11 17:20:06 +02:00
Tom Payne
438d5f2484 Rename ol.MVCObject to ol.Object 2012-07-11 17:20:06 +02:00
Tom Payne
4bdaf293b0 Add ol.Extent.transform 2012-07-11 17:20:06 +02:00
Tom Payne
9368f05d1c Factor out ol.TransformFunction 2012-07-11 17:20:06 +02:00
Tom Payne
a2cf655bfa Add ol.Layer 2012-07-11 17:20:06 +02:00
Tom Payne
89ec9bf07a Update ol.Projection 2012-07-11 17:20:06 +02:00
Tom Payne
bd61a0be15 Add ol.LayerView 2012-07-11 17:20:06 +02:00
Tom Payne
9900084f46 Add initial ol.TileGrid skeleton 2012-07-11 17:20:05 +02:00
Tom Payne
afb37035dc Add ol.Extent 2012-07-11 17:20:05 +02:00
Tom Payne
dc2993b61d Add ol.Camera 2012-07-11 17:20:05 +02:00
Tom Payne
c04e3d339f Add ol.TileUrl 2012-07-11 17:20:05 +02:00
Tom Payne
6ced2b5815 Update ol.Bounds, remove referenced/unreferenced bounds distinction 2012-07-11 17:20:05 +02:00
Tom Payne
a3322aa9e1 Add ol.TileBounds 2012-07-11 17:20:05 +02:00
Tom Payne
9f0738aa99 Add ol.TileCoord 2012-07-11 17:20:05 +02:00
Tom Payne
b4e2e45166 Add ol.MVCArray 2012-07-11 17:20:05 +02:00
Tom Payne
97b062fb73 Add ol.MVCObject 2012-07-11 17:20:05 +02:00
Tom Payne
46b4d96fb0 Add all.js for testing 2012-07-11 17:20:05 +02:00
Tom Payne
61038cde5f Move ol.js and ol.export.js into exports/ol.js 2012-07-11 17:20:05 +02:00
Éric Lemoine
357d08df99 the drag handler moves the map by default 2012-07-11 08:31:38 +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
f9cb029a74 ol.control.Zoom no longer require ol.event 2012-07-09 21:32:10 +02:00
Éric Lemoine
77b809bead ol.control.Attribution no longer require ol.event 2012-07-09 21:31:56 +02:00
Éric Lemoine
a3387bc673 ol.Map requires ol.handler.MouseWheel 2012-07-09 21:11:13 +02:00
Éric Lemoine
04f87f8f73 ol.Map:destroy is back (api tests pass again) 2012-07-09 21:09:42 +02:00
Éric Lemoine
aebfb643ac better type checking 2012-07-09 20:51:28 +02:00
Éric Lemoine
127a2c9606 [ol.handler.Drag] receive mousemove/touchmove events when dragstart and dragend only 2012-07-09 20:50:59 +02:00
Éric Lemoine
32757f2cd5 Merge remote branch 'upstream/master' into event 2012-07-09 19:47:46 +02:00
Éric Lemoine
484d0f8d04 use goog.events.dispatchEvent 2012-07-09 09:33:53 +02:00
Éric Lemoine
1679a59835 reset the map DEFAULT_CONTROLS array 2012-07-09 09:33:32 +02:00
Éric Lemoine
406a2da466 do no export ol.Map.prototype.destroy, it is gone 2012-07-09 09:32:57 +02:00
Éric Lemoine
f2e0adc24f make the drag handler prevent page scrolling 2012-07-09 09:32:18 +02:00
Éric Lemoine
bc72e2e444 ol.control.Attribution no longer relies on map.getEvents 2012-07-09 09:31:33 +02:00
Éric Lemoine
e0b53360d2 ol.Popup no longer relies on map.getEvents 2012-07-09 09:30:34 +02:00
Éric Lemoine
9e693f29c5 use the mousewheel handler 2012-07-09 09:28:56 +02:00
Éric Lemoine
2c61e16b55 add a mouse wheel handler 2012-07-09 09:27:36 +02:00
Tim Schaub
7f594364ca Pixels aligned top,left to origin. 2012-07-09 01:15:56 -06:00
Éric Lemoine
34a450a009 Merge branch 'master' into event
Conflicts:
	src/ol/Map.js
	src/ol/event/Drag.js
2012-07-09 08:57:55 +02:00
Tim Schaub
5a485ea856 Getting explicit about pixels and size.
Eventually, well have to ask renderers for all pixel and size related stuff.  And the map overlay renderer will do all pixel<->loc math.  For now, we let the map do this math based on its viewport - as this is where the mouse events are handled and it is pixels relative to the viewport that are being generated.  For now, the getViewportPixelForLoc and getLocForViewportPixel are now more explicitly named.
2012-07-08 20:57:36 -06:00
Tim Schaub
3d130d3325 Letting the map ask renderer for resolution. 2012-07-08 20:56:36 -06:00
Tim Schaub
4dfb5d0dee Set center on reset. Only shift if offset. 2012-07-08 20:42:15 -06:00
Tim Schaub
b24d63a898 Spaces for tabs. 2012-07-08 19:34:53 -06:00