Commit Graph

7677 Commits

Author SHA1 Message Date
Éric Lemoine 98b264e8ce Add comment 2013-01-24 22:31:57 +01:00
Éric Lemoine 80b38e608b No more need for listener keys array 2013-01-24 22:31:53 +01:00
Éric Lemoine 4a64837ba1 Make map handle background color changes 2013-01-24 22:31:08 +01:00
Éric Lemoine 2a28b7c699 Add comment 2013-01-24 22:31:08 +01:00
Éric Lemoine 15898b559b Make map handle size changes 2013-01-24 22:31:08 +01:00
Éric Lemoine 71a462cd54 Make map handle view changes
With the frameState stuff the map renderer need not listen to view changes. The map renderer receives orders from the map. These orders are renderFrame_ calls with frameState objects representing the current state.
2013-01-24 22:31:06 +01:00
Tom Payne 0bb31150b0 Merge pull request #148 from twpayne/anchored-elements
Replace ol.overlay.Overlay with ol.AnchoredElement
2013-01-24 09:36:40 -08:00
Tom Payne 309ddad4fe Merge pull request #152 from twpayne/texture-cache-expiry
Texture cache expiry
2013-01-24 07:36:06 -08:00
Tom Payne 8cac270234 Use + rather than Number for string to number conversion 2013-01-24 16:31:56 +01:00
Tom Payne ace0728e8a Merge pull request #151 from twpayne/tile-cache-expiry
Tile cache expiry
2013-01-24 07:24:33 -08:00
Éric Lemoine 197ef89964 Merge pull request #156 from elemoine/examplefix
Remove ref to userProjection
2013-01-24 01:35:14 -08:00
Éric Lemoine dc9fb06185 Remove ref to userProjection
The wms-custom-proj example sets a userProjection in the map while userProjection is gone for now. It was removed in 927cffb2.
2013-01-24 10:32:32 +01:00
Éric Lemoine 0945f19620 Merge pull request #155 from elemoine/typo
Fix typo in a typedef
2013-01-24 01:29:43 -08:00
Éric Lemoine d04b2bb2bd Fix typo 2013-01-24 10:28:28 +01:00
Tim Schaub 483e309216 Merge pull request #153 from tschaub/extent
Care with transform
2013-01-24 00:56:18 -08:00
Tim Schaub 3ccfaebcfc Punctuated 2013-01-23 22:18:00 -07:00
Tim Schaub afb9add911 Checked with third-party tool 2013-01-23 22:12:17 -07:00
Tim Schaub 0845dea366 Care with transform
Since the transform method takes an arbitrary transform function, new coordinates may not be ordered in the same way as the originals.
2013-01-23 22:03:08 -07:00
Tom Payne b0eb7a4b9b Port ol.TileCache to ol.structs.LinkedMap 2013-01-23 19:59:03 +01:00
Tom Payne 0d7196c098 Expire old textures from texture cache 2013-01-23 19:59:02 +01:00
Tom Payne 3f6ef77a5a Add ol.structs.LinkedMap.prototype.peekLastKey 2013-01-23 19:59:02 +01:00
Tom Payne c7d0712480 Rename goog.structs.LinkedMap to ol.structs.LinkedMap 2013-01-23 19:59:02 +01:00
Shawn Brenneman 140f8c8683 Add goog.structs.LinkedMap from Closure Library 2013-01-23 19:58:50 +01:00
Frédéric Junod d6c96c058f Merge pull request #133 from fredj/options-obj
ol.animation.create* functions should use options objects rather than positional arguments
2013-01-23 08:50:22 -08:00
Tom Payne 0f3d708525 Use ol.TileCache in ol.source.DebugTileSource 2013-01-23 17:22:01 +01:00
Tom Payne 09ec444958 Use ol.TileCache in ol.source.ImageTileSource 2013-01-23 17:22:01 +01:00
Tom Payne b034299158 Add ol.TileCache 2013-01-23 17:22:00 +01:00
Frederic Junod 7568688301 Use option object rather than positional arguments for ol.animation.create* functions 2013-01-23 17:07:55 +01:00
Tom Payne b770aaa2f5 Add tile cache expiry infrastructure 2013-01-23 14:31:24 +01:00
Marc Jansen 6d3e0778e1 Merge pull request #150 from marcjansen/zoombtn-radius
Adjust border-radius of zoom buttons.
2013-01-22 23:56:28 -08:00
Marc Jansen 9af78dd2fe Adjust border-radius of zoom buttons. 2013-01-23 08:14:55 +01:00
Tom Payne dda51ecec2 Replace ol.overlay.Overlay with ol.AnchoredElement
This commit adds several features:
- rename of class to better reflect its behaviour
- full ol.Object support
- integration with postrender event for integration with animations and
  render loop
- minimised DOM modifications
- more precise positioning
- element placed in DIV to avoid modifications to user-supplied element
- correctly handle changes to the positioning property
2013-01-22 15:12:25 +01:00
Tom Payne 4ab09d6df2 Merge pull request #140 from twpayne/array-clean-ups
Array clean ups
2013-01-22 06:00:04 -08:00
Tom Payne f2164e5028 Export map.getLayers 2013-01-22 13:08:40 +01:00
Marc Jansen 577fc86684 Merge pull request #147 from marcjansen/goog.now
Use goog.now() instead of Date.now().
2013-01-22 03:13:15 -08:00
Marc Jansen 8d979127fc Use goog.now() instead of Date.now().
Date.now() is not supported in Internet Explorer up to IE 9. The goog.now()
method can be used as a replacement.
2013-01-22 12:01:44 +01:00
Éric Lemoine a1ff01e7a5 Merge pull request #145 from elemoine/readme
Update readme.md
2013-01-21 23:42:01 -08:00
Éric Lemoine 8d56b5f261 Update readme.md 2013-01-22 08:39:37 +01:00
Frederic Junod be64408728 Export map as jpeg instead of png 2013-01-21 16:13:19 +01:00
Frédéric Junod 9969a64d81 Merge pull request #143 from fredj/get-renderer-canvas
Get renderer canvas
2013-01-21 07:09:18 -08:00
Frederic Junod 8cbe0fbbbb Export canvas map as jpeg image 2013-01-21 16:08:33 +01:00
Tom Payne c0ef84fd5d Remove stale dependencies 2013-01-21 16:07:06 +01:00
Frederic Junod 2f2ea373ca Add ol.renderer.Map.getCanvas function. Only valid with the canvas and webgl renderers 2013-01-21 15:18:18 +01:00
Frederic Junod c836c8d9c4 Add ol.Map.getRenderer function 2013-01-21 15:08:15 +01:00
Tom Payne f1b11866fd Remove dependency on goog.array 2013-01-21 14:20:12 +01:00
Tom Payne 3967e17366 Use in-place filtering for pre-render functions 2013-01-21 14:20:12 +01:00
Tom Payne d76db2005f Use for loop for iterating over layers 2013-01-21 14:20:12 +01:00
Tom Payne 7229428741 Use in-place filtering for post-render functions 2013-01-21 14:20:11 +01:00
Tom Payne 386bb636bb Add missing dependencies on goog.array 2013-01-21 14:20:11 +01:00
Frédéric Junod a51cd3b9bd Merge pull request #139 from fredj/easing
Add new ol.easing.elastic and ol.easing.bounce easing functions.
2013-01-21 04:36:45 -08:00