Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne f897c743b1 Merge pull request #255 from twpayne/dont-check-requires-in-comments
Don't check for requires in comments
2013-03-03 09:36:29 -08:00
Tom Payne b75298e957 Don't check for requires in comments 2013-03-03 18:29:16 +01:00
Tom Payne 7126d63db5 Merge pull request #247 from twpayne/hyperbolic-functions
Add hyperbolic functions
2013-03-03 06:47:32 -08:00
Tom Payne 1c5e29f5a7 Merge pull request #246 from twpayne/xyztilegrid-tests
Add ol.tilegrid.XYZ tests
2013-03-03 06:47:16 -08:00
Tom Payne 183df560ad Merge pull request #245 from twpayne/projection-refactoring
Projection refactoring
2013-03-03 06:46:38 -08:00
Tom Payne a94418edab Add ol.tilegrid.XYZ tests 2013-03-03 14:48:37 +01:00
Tom Payne 00ce5c6a78 Add hyperbolic functions 2013-03-03 14:47:25 +01:00
Tom Payne bf944e158a Make Proj4js classes and functions private 2013-03-03 13:14:08 +01:00
Tom Payne fcc620af7d Separate ol.projection module from ol.Projection class 2013-03-03 13:09:13 +01:00
Tom Payne 3e420313a2 Only require things that start with a capital letter 2013-03-03 13:08:34 +01:00
Tom Payne f6575f3195 Add EPSG:4326 example 2013-03-03 12:22:24 +01:00
Tom Payne 17bd715495 Cope with axis orientation in single image WMS sources 2013-03-03 12:22:24 +01:00
Tom Payne 66e5b1d736 Cope with axis orientation for tiled WMS sources 2013-03-03 12:22:24 +01:00
Tom Payne 6b26cbfb38 Refactor projection architecture 2013-03-03 12:22:24 +01:00
Tom Payne 6ce3ebba5b Merge pull request #226 from twpayne/preserve-low-resolution-tiles
Preserve low resolution tiles
2013-02-22 02:14:41 -08:00
Tom Payne c36de098bd Avoid creating a TileCoord object when marking used tiles 2013-02-21 16:52:52 +01:00
Tom Payne 4c9b70fa5c Move useLowResolutionTiles from layer renderer to tile source 2013-02-21 16:47:10 +01:00
Tom Payne b139757987 Merge pull request #224 from twpayne/jslint-clean-ups
Satisfy JSLint
2013-02-21 07:23:56 -08:00
Tom Payne 47e799ced0 Mark all low resolution tiles as used to prevent cache expiration 2013-02-21 16:19:38 +01:00
Tom Payne 57b446fa0a Implement useTile for image tile sources with caches 2013-02-21 16:14:15 +01:00
Tom Payne e68c1adbae Add ol.source.TileSource.useTile 2013-02-21 16:13:34 +01:00
Tom Payne e513b8cc39 Make it explicit that functions operate on tile sources 2013-02-21 16:12:45 +01:00
Tom Payne fabcb313f1 Satisfy JSLint
JSLint complains about functions being declared in blocks.
2013-02-21 15:13:33 +01:00
Tom Payne 6e8f5ef0fd Merge pull request #202 from twpayne/proj4js-non-global
Proj4js should not have to be global
2013-02-19 03:25:05 -08:00
Tom Payne f27c749e49 Allow Proj4js to be non-global and cache test result 2013-02-19 09:12:40 +01:00
Tom Payne 4c2463dd91 Merge pull request #203 from twpayne/work-around-python-extract-all-bug
Work around extractall bug in older versions of Python
2013-02-18 10:32:04 -08:00
Tom Payne 8c2eb55f64 Work around extractall bug in older versions of Python
Python bug: http://bugs.python.org/issue4710
Refs #200
2013-02-18 19:15:31 +01:00
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