Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne a455473a28 Merge pull request #200 from twpayne/proj4js-tests
Proj4js tests
2013-02-18 06:28:39 -08:00
Tom Payne 3a20eaed32 Merge pull request #198 from twpayne/ellipsoid
Add ellipsoid geometry functions
2013-02-18 06:27:36 -08:00
Tom Payne 7b42b62033 Add Proj4js integration tests 2013-02-18 14:44:44 +01:00
Tom Payne cb9fbc3dec Add Proj4js to test framework 2013-02-18 14:44:35 +01:00
Tom Payne be48a30d6a Add target to download and install Proj4js 2013-02-18 14:44:14 +01:00
Tom Payne 281f01889e Merge pull request #196 from twpayne/sphere
Add spherical geometry functions
2013-02-18 03:35:44 -08:00
Tom Payne 36a3d02816 Add ellipsoid geometry functions 2013-02-18 12:32:43 +01:00
Tom Payne 684a336dd4 Merge pull request #197 from twpayne/geolocation-all-properties
Add remaining geolocation properties
2013-02-18 01:53:04 -08:00
Tom Payne fc9f323f83 Store heading in radians, thanks @fredj 2013-02-17 23:53:37 +01:00
Tom Payne 7de6cb4fd4 Add remaining geolocation properties 2013-02-16 20:19:38 +01:00
Tom Payne 544f399e04 Add spherical geometry functions 2013-02-15 18:07:19 +01:00
Tom Payne ea6bf83c61 Merge pull request #195 from twpayne/tmp-fix-phantomjs
Temporarily work around pake's eager evaluation of variables in target names
2013-02-15 04:40:17 -08:00
Tom Payne e6ed1c1a89 Temporarily work around pake's eager evaluation of variables in target names 2013-02-15 00:45:13 +01:00
Tom Payne 012cb501df Don't re-lint files that have already passed after a lint failure 2013-02-15 00:33:05 +01:00
Tom Payne f581040b0f Add ol.renderer.canvas.ImageLayer 2013-02-14 23:36:36 +01:00
Tom Payne 5a0adf2345 Add ol.source.ImageSource 2013-02-14 23:36:36 +01:00
Tom Payne 27125640ef Add ol.layer.ImageLayer 2013-02-14 23:36:36 +01:00
Tom Payne 83a00c13fa Don't use problematic glob function 2013-02-12 23:03:15 +01:00
Tom Payne 110720d7d3 Merge pull request #191 from twpayne/windows-build
Windows build
2013-02-12 07:24:39 -08:00
Tom Payne 9a3e090c2b Run tests on Windows 2013-02-12 16:07:34 +01:00
Tom Payne 357ca379db Update build instructions for Windows 2013-02-12 15:47:55 +01:00
Tom Payne 3d34360070 Add build.cmd for Windows developers 2013-02-12 15:47:55 +01:00
Tom Payne d828fee582 Set path to gjslint on Windows 2013-02-12 15:47:54 +01:00
Tom Payne 169555f2be Use ifind rather than glob to work around Windows path separator nonsense 2013-02-12 15:31:30 +01:00
Tom Payne a3e7528841 Guess paths to Windows binaries using environment variables 2013-02-12 15:30:36 +01:00
Tom Payne 4481bb011f Update to latest version of pake 2013-02-12 15:30:08 +01:00
Tom Payne 0c09083eb8 Add missing whitespace to satisfy pep8 2013-02-12 15:28:20 +01:00
Tom Payne c884a916bf Merge pull request #178 from twpayne/clean-example-list-xml
Ensure ./build.py -c cleans examples/example-list.xml
2013-02-07 05:27:20 -08:00
Tom Payne 218bf2c78b Improve LRUCache containsKey test, thanks @tschaub 2013-02-07 12:21:12 +01:00
Tom Payne 0b6aeb5b05 Remove unused and erroneous function, thanks @tschaub 2013-02-06 21:43:48 +01:00
Tom Payne 3692918ed7 Remove unnecessary undercores, thanks @fredj 2013-02-06 12:50:34 +01:00
Tom Payne 91141f5c01 Build precommit target by default so precommit dependencies get cleaned by default 2013-02-06 11:25:15 +01:00
Tom Payne 90730e40a3 Ensure ./build.py -c cleans examples/example-list.xml 2013-02-06 11:23:04 +01:00
Tom Payne 0c205da290 Merge pull request #176 from twpayne/lru-cache
LRU Cache
2013-02-06 01:15:04 -08:00
Tom Payne b1df0cac65 Rename object properties so compiler can rename them 2013-02-06 10:08:03 +01:00
Tom Payne c37837ba34 Use an object literal rather than a class for LRUCache entries 2013-02-06 10:08:03 +01:00
Tom Payne c34fe519c0 Remove ol.structs.LinkedMap 2013-02-04 18:37:12 +01:00
Tom Payne 1f460975bb Port WebGL texture cache to ol.structs.LRUCache 2013-02-04 18:37:12 +01:00
Tom Payne 06eb3040af Port ol.TileCache to ol.structs.LRUCache 2013-02-04 18:37:12 +01:00
Tom Payne c99ec2d834 Add ol.structs.LRUCache 2013-02-04 18:37:12 +01:00
Tom Payne 4f1d3c5201 Merge pull request #169 from twpayne/check-requires
Fix use of goog.requires
2013-01-31 01:36:32 -08:00
Tom Payne 93976a5d9f Fix requires relating to recent commits 2013-01-30 23:47:13 +01:00
Tom Payne f9eb7dc477 Add missing requires to examples 2013-01-30 23:47:13 +01:00
Tom Payne e6eb401e36 Add missing goog.requires 2013-01-30 23:47:13 +01:00
Tom Payne c9e8a92265 Detect missing goog.requires 2013-01-30 22:48:04 +01:00
Tom Payne 6e247d9331 Rename modules for support detection 2013-01-30 22:48:03 +01:00
Tom Payne b6f856f962 Remove unused goog.requires 2013-01-30 22:48:03 +01:00
Tom Payne 7d5cc39555 Detect unused goog.requires 2013-01-30 22:48:03 +01:00
Tom Payne bef1b9aea5 Merge pull request #163 from twpayne/attribution-control-clean-ups
Attribution control clean ups
2013-01-29 02:22:30 -08:00
Tom Payne 2e401b43f4 Make attribution control unselectable 2013-01-29 11:21:57 +01:00
Tom Payne c2c87a80a1 Remove duplicate CSS rule 2013-01-29 11:21:57 +01:00
Tom Payne d22c441795 Merge pull request #162 from twpayne/canvas-visibility-and-opacity
Canvas visibility and opacity
2013-01-29 02:20:39 -08:00
Tom Payne 3bd1b92b05 Promote renderFrame from ol.renderer.*.LayerRender to ol.renderer.LayerRenderer 2013-01-28 19:56:57 +01:00
Tom Payne 5558d6108c Promote handleLayerRendererChange from ol.renderer.webgl.Map to ol.renderer.Map 2013-01-28 19:56:56 +01:00
Tom Payne 49734de240 Promote dispatchChangeEvent from ol.renderer.webgl.Layer to ol.renderer.Layer 2013-01-28 19:56:56 +01:00
Tom Payne 4701d117f7 Always dispatch change events on load/opacity/visible changes 2013-01-28 19:56:56 +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
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
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
Tom Payne b770aaa2f5 Add tile cache expiry infrastructure 2013-01-23 14:31:24 +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
Tom Payne c0ef84fd5d Remove stale dependencies 2013-01-21 16:07:06 +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
Tom Payne 202df34e71 Merge pull request #137 from twpayne/alt-shift-rotate
Use Alt+Shift to rotate by default, fixes #21
2013-01-20 10:38:24 -08:00
Tom Payne 9ef5f0b060 Ensure dropped tiles are properly removed from tile queue 2013-01-19 21:58:01 +01:00
Tom Payne 3383c426b3 Use shifts rather than floor 2013-01-19 18:35:24 +01:00
Tom Payne d43abba154 Use stricter types in private methods, operate on array directly 2013-01-19 15:52:55 +01:00
Tom Payne 6507e71dd7 Clear queued tile keys when queue is cleared 2013-01-19 15:44:01 +01:00
Tom Payne 2bdfd3765b Remove stale FIXME 2013-01-19 15:38:15 +01:00
Tom Payne 4b971b5f32 Optimize tile dropping in reprioritize 2013-01-19 15:24:50 +01:00
Tom Payne a8dc810696 Use Infinity rather than undefined to drop tiles 2013-01-19 15:24:02 +01:00
Tom Payne 4846a6a7b3 Only update wanted tiles if not all tiles are loaded 2013-01-19 15:03:01 +01:00
Tom Payne 3ec2014ad1 Rename tileUsage to usedTiles 2013-01-19 15:03:01 +01:00
Tom Payne 1c524caae6 Discard unwanted tiles from tile queue 2013-01-19 15:03:01 +01:00
Tom Payne 111b4585a8 Fix key usage 2013-01-19 14:50:25 +01:00
Tom Payne 7babfebef9 Set frame state immediately after rendering 2013-01-19 14:50:18 +01:00
Tom Payne 9cf314fd64 Sort object properties 2013-01-19 14:50:14 +01:00
Tom Payne f3978d200f Use Alt+Shift to rotate by default, refs #21 2013-01-18 14:09:32 +01:00
Tom Payne 2b8aefbabf Add ol.condition.altShiftKeysOnly 2013-01-18 14:03:37 +01:00
Tom Payne f377a70dc5 Export ol.Map.addPreRenderFunction* 2013-01-18 01:59:59 +01:00
Tom Payne 1c2a1a2a2f Sort object literal exports alphabetically 2013-01-18 01:19:51 +01:00
Tom Payne bff8a2bb1e Add DebugTileSource exports 2013-01-18 01:16:14 +01:00
Tom Payne bb51709945 Use OpenStreetMap tiles in canvas tiles example
Stamen exports aren't quite right yet.
2013-01-18 00:34:44 +01:00
Tom Payne 6542f2037b Merge pull request #127 from twpayne/animated-zoom
Animated zoom
2013-01-17 15:23:39 -08:00
Tom Payne 37d29fb82b Merge pull request #131 from twpayne/add-missing-exports
Add missing exports
2013-01-17 15:21:28 -08:00
Tom Payne e3c85dec8e Export ol.View2D 2013-01-18 00:19:45 +01:00