Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne 4520d81153 Don't lint examples/loader.js 2013-04-05 20:20:13 +02:00
Tom Payne 6cd7acfb8e Merge pull request #480 from twpayne/logo-control
Add logo control
2013-04-05 10:47:49 -07:00
Tom Payne 2ec13c45f5 Merge pull request #481 from twpayne/attribution-control-clean-ups
Minor attribution control clean-ups
2013-04-05 09:46:35 -07:00
Tom Payne cfe5234104 Add logo control by default 2013-04-05 18:38:52 +02:00
Tom Payne dfed88a8c2 Add ol.control.Logo 2013-04-05 18:38:52 +02:00
Tom Payne 5680b89c48 Update logos in renderers 2013-04-05 18:27:51 +02:00
Tom Payne cca770097b Add logos to frame state 2013-04-05 18:27:51 +02:00
Tom Payne 0caf5efef6 Configure logo for MapQuest sources 2013-04-05 18:27:45 +02:00
Tom Payne 78abd1b103 Minor attribution control clean-ups 2013-04-05 18:19:20 +02:00
Tom Payne 5b2cbe76f2 Configure logo for Bing Maps source 2013-04-05 18:12:45 +02:00
Tom Payne a876332f0e Add logo option to ol.source.Source subclasses 2013-04-05 18:12:12 +02:00
Tom Payne 6c90bcc5cd Add logo option to ol.source.Source 2013-04-05 18:11:22 +02:00
Tom Payne 5a2f7f44d4 Merge pull request #448 from kalbermattenm/windows_paths
Windows installation support
2013-04-05 08:57:28 -07:00
Tom Payne bcdff5a011 Merge pull request #437 from twpayne/throttle-image-loads
Throttle image requests
2013-04-05 07:24:13 -07:00
Tom Payne 3b416c485b Merge pull request #465 from twpayne/coordinate-as-array
Replace ol.Coordinate with Array.<number>
2013-04-05 06:58:20 -07:00
Tom Payne 58a512b52c Remove unused constant 2013-04-05 12:30:38 +02:00
Tom Payne a8295ba113 Use ol.vec.Mat4.multVec2 2013-04-05 12:30:38 +02:00
Tom Payne c7ed933c9d Add ol.vec.Mat4.multVec2 2013-04-05 12:30:38 +02:00
Tom Payne d892ef2b6a Use slice to extract sub-arrays 2013-04-05 12:30:38 +02:00
Tom Payne 02196c94b5 Redefine ol.Coordinate to be Array.<number> 2013-04-05 12:30:37 +02:00
Tom Payne 0a1b1751f1 Merge pull request #470 from szymonc/error-fix
Add goog.base(this) to the MapBrowserEventHandler's constructor
2013-04-04 15:28:24 -07:00
Tom Payne 4cb9685271 Merge pull request #469 from twpayne/webgl-context-lost
Abort rendering when WebGL context is lost
2013-04-04 15:16:14 -07:00
Tom Payne b32a2e101c Abort rendering when WebGL context is lost 2013-04-05 00:14:10 +02:00
Tom Payne 0e12d16c37 Move configuration of maximum tiles loading into map.js 2013-04-04 23:49:21 +02:00
Tom Payne 71d1207201 Start a maximum of two new tile downloads per frame 2013-04-04 23:33:18 +02:00
Tom Payne 382caa36b8 Merge pull request #455 from twpayne/update-pake
Update to latest version of pake
2013-04-03 04:05:46 -07:00
Tom Payne 33db796141 Update to latest version of pake 2013-04-03 13:04:37 +02:00
Tom Payne d8ae60ab85 Merge pull request #454 from twpayne/download-plovr-into-build-dir
Download plovr into build dir
2013-04-02 07:59:04 -07:00
Tom Payne fe78b49e28 Add logging messages for downloading proj4js 2013-04-02 16:29:11 +02:00
Tom Payne 15b7bb1cdb Add logging messages to indicate when a download is in progress 2013-04-02 16:28:42 +02:00
Tom Payne 69d42f0f94 Download Plovr into build directory
This means that all build artefacts except for the examples are in
build.
2013-04-02 16:16:45 +02:00
Tom Payne d1c91b9663 Merge pull request #452 from twpayne/limit-post-renderer-set-timeout
Don't schedule a new post render delay if one is already active
2013-04-02 05:49:04 -07:00
Tom Payne 8278b2641b Don't schedule a new post render delay if one is already active 2013-04-02 12:58:11 +02:00
Tom Payne dfe30f9feb Merge pull request #423 from twpayne/preemptive-webgl-texture-uploads
White flash occurs when zooming out from initially zoomed in view with WebGL renderer
2013-03-27 16:00:56 -07:00
Tom Payne 7fc3784a0b Merge pull request #443 from twpayne/only-use-glsl-unit-if-available
Only use glsl-unit if it is available
2013-03-27 10:05:23 -07:00
Tom Payne c13c7a7208 Only use glsl-unit if it is available 2013-03-27 17:53:25 +01:00
Tom Payne a32c69c8ff Merge pull request #442 from twpayne/fix-types-js-dependency
Fix build/src/external/src/types.js dependency
2013-03-27 09:35:46 -07:00
Tom Payne 13a2848665 Fix build/src/external/src/types.js dependency
The dependencies for build/src/external/src/types.js were wrong, which
meant that build/src/external/src/types.js would always be rebuilt,
which meant that almost everything else would be rebuilt too.
2013-03-27 17:17:04 +01:00
Tom Payne cbe4d7bd84 Merge pull request #441 from twpayne/dont-install-phantomjs-on-windows
Do not install PhamtomJS on Windows
2013-03-27 08:56:13 -07:00
Tom Payne 8c5b778595 Don't attempt to install PhantomJS on Windows
Instead, assume that phantomjs.exe is already in the user's path. It can
also be overridden on the build.py command line:

  build.py PHANTOMJS=path/to/phantomjs

or with an environment variable:

  set PHANTOMJS=path/to/phantomjs
  build.py
2013-03-27 16:44:44 +01:00
Tom Payne 6b01ff9327 Correct preload example tags, thanks @fredj 2013-03-27 15:10:34 +01:00
Tom Payne 66c6a8a3e0 Make preload a number of levels instead of a boolean 2013-03-27 14:34:29 +01:00
Tom Payne 421135b3e7 Set preload appropriately in examples 2013-03-27 14:34:29 +01:00
Tom Payne 5077413c34 Add preload example 2013-03-27 14:34:29 +01:00
Tom Payne 494d61250e Make tile pre-loading a per-layer option 2013-03-27 14:34:29 +01:00
Tom Payne 1d22d2fdde Tune tile priority functions 2013-03-27 14:34:29 +01:00
Tom Payne 5e8b0de66d Use tile texture queue 2013-03-27 14:34:29 +01:00
Tom Payne 6221680b0b Add tile texture queue 2013-03-27 14:34:29 +01:00
Tom Payne 00b862de10 Store focus in frame state 2013-03-27 14:34:29 +01:00
Tom Payne 96912c271d Add optional per-tile callback to manageTilePyramid 2013-03-27 14:34:28 +01:00
Tom Payne 3e4f1773bc Replace isHeap with assertValid 2013-03-27 14:34:28 +01:00
Tom Payne 27f9e83780 Refactor ol.TileQueue to extend ol.structs.PriorityQueue 2013-03-27 14:34:28 +01:00
Tom Payne f12f5ccc67 Factor out core elements of ol.TileQueue into ol.structs.PriorityQueue 2013-03-27 14:34:28 +01:00
Tom Payne 588e0c1cdc Merge pull request #434 from twpayne/build-clean-ups
Build clean-ups
2013-03-25 05:01:04 -07:00
Tom Payne c22b971b45 Sort .gitignore 2013-03-25 12:33:27 +01:00
Tom Payne 116370f7f1 Only shallow clone jsdoc
glsl-unit is not shallow cloned because code.google.com returns a 500
Internal Server Error.
2013-03-25 12:33:27 +01:00
Tom Payne e196a9e68e Clone jsdoc into build/jsdoc 2013-03-25 12:28:04 +01:00
Tom Payne 59f5484cde Rename hostexamples to host-examples 2013-03-25 12:25:37 +01:00
Tom Payne 5a4acc1262 Merge pull request #429 from twpayne/dont-shrink-canvas
Don't shrink canvas
2013-03-25 04:11:35 -07:00
Tom Payne 4e7591394d Merge pull request #433 from twpayne/clean-up-xyz-tests
Move ol.tilegrid.XYZ tests to their proper place
2013-03-25 04:04:48 -07:00
Tom Payne 7a243b310f Move ol.tilegrid.XYZ tests to their proper place 2013-03-25 12:03:13 +01:00
Tom Payne 62877fdf02 Reuse ol.Size object 2013-03-25 11:54:50 +01:00
Tom Payne 4e883b7099 Don't shrink canvas 2013-03-25 11:54:50 +01:00
Tom Payne b396673932 Fix typo in ol.TileRange.containsTileRange 2013-03-25 11:54:50 +01:00
Tom Payne 6cfe918501 Merge pull request #428 from twpayne/gc-optimizations
GC optimizations
2013-03-25 03:54:15 -07:00
Tom Payne 9906c518a7 Rename useTileZXY to useTile 2013-03-25 11:45:20 +01:00
Tom Payne 658b919d20 Merge pull request #425 from twpayne/glsl-unit
Use glsl-unit for WebGL shaders
2013-03-25 03:42:27 -07:00
Tom Payne c72fc4476c Merge pull request #431 from twpayne/rename-anchoredelement-to-overlay
Rename AnchoredElement to Overlay
2013-03-25 03:36:57 -07:00
Tom Payne f7cc8fa738 Remove ol.TileRange.clone 2013-03-25 11:33:06 +01:00
Tom Payne 65e6ed3485 Rename getTileZXY to getTile 2013-03-25 10:10:03 +01:00
Tom Payne 69d06a6e18 Add comment about automatically generated files 2013-03-25 10:04:32 +01:00
Tom Payne 096d48b4e8 Rename AnchoredElement to Overlay 2013-03-24 20:30:12 +01:00
Tom Payne 25e1211621 Merge pull request #430 from twpayne/fix-bing-maps-scope
Fix use of this in ol.source.BingMaps
2013-03-24 11:52:50 -07:00
Tom Payne e62178759c Fix use of this in ol.source.BingMaps 2013-03-24 19:26:34 +01:00
Tom Payne 685f2b6f5f Make time-sensitive test less sensitive 2013-03-24 16:14:04 +01:00
Tom Payne 3a4ef83e79 Tidy up ol.webgl namespace 2013-03-24 15:51:09 +01:00
Tom Payne dfb631a08f Replace getTile with getTileZXY
This massively reduces the number of temporary ol.TileCoord objects.

Previously an ol.TileCoord object was generated for every potentially
visible tile at the current zoom level and lower, every frame.  This
commit eliminates all of those.  Now new ol.TileCoord objects are only
allocated when a new tile is created.
2013-03-24 15:24:49 +01:00
Tom Payne 247fc8f031 Make reverseIntersection argument mandatory 2013-03-24 13:59:35 +01:00
Tom Payne aeeaa79393 Avoid creating ol.Coordinate objects to call getTileCoordForCoordAndResolution_ 2013-03-24 13:56:23 +01:00
Tom Payne e023e6fa2f Avoid creating extra ol.Size object in getPixelBoundsForTileCoordAndResolution 2013-03-24 13:49:47 +01:00
Tom Payne 5771057ae1 Reuse ol.TileRange object in forEachTileCoordParentTileRange 2013-03-24 13:46:23 +01:00
Tom Payne 731fcd3d17 Move shader support code into ol.webgl 2013-03-23 18:29:26 +01:00
Tom Payne 4ec8bf2360 Configure Travis to build shaders with glsl-unit 2013-03-23 18:20:34 +01:00
Tom Payne 711e4be19e Use glsl-unit in WebGL tile layer renderer 2013-03-23 17:47:02 +01:00
Tom Payne 7300051b69 Use glsl-unit in WebGL map renderer 2013-03-23 17:46:38 +01:00
Tom Payne c48df12a33 Add infrastructure for glsl-unit 2013-03-23 17:45:44 +01:00
Tom Payne 3fbf7b8c20 Merge pull request #357 from twpayne/load-low-resolution-tiles
Load low resolution tiles
2013-03-23 06:00:45 -07:00
Tom Payne cb1b1b8883 Merge pull request #418 from twpayne/webgl-core-improvements
WebGL core improvements
2013-03-23 05:55:23 -07:00
Tom Payne 80df629319 Premptively load low resolution tiles 2013-03-22 21:02:09 +01:00
Tom Payne e3abe376f1 Remove ol.source.TileSource.useLowResolutionTiles 2013-03-22 21:02:06 +01:00
Tom Payne 24452b0bcb Use operators instead of Math.max/min 2013-03-22 19:27:52 +01:00
Tom Payne 876fea2fb7 Rename shader variables to match CSS specification 2013-03-22 18:02:31 +01:00
Tom Payne b7184641b0 Use shorter module name and clean up requires 2013-03-22 17:58:15 +01:00
Tom Payne 72437ff57b Use more compact constants 2013-03-22 17:33:19 +01:00
Tom Payne 69370ce629 Use ol.structs.Buffer.getUsage 2013-03-22 17:33:19 +01:00
Tom Payne 35df0693e0 Add usage to ol.structs.Buffer 2013-03-22 17:33:19 +01:00
Tom Payne 705b71ae2a Track buffer dirty state by map 2013-03-22 17:33:19 +01:00
Tom Payne ba0e7ae89c Allow a ol.structs.Buffer to update multiple dirty sets 2013-03-22 17:33:19 +01:00
Tom Payne 4ee73bc02f Add ol.structs.IntegerSet.intersectsRange 2013-03-22 17:33:13 +01:00
Tom Payne 35ee45cefc Use local variable for texCoordMatrix 2013-03-22 17:25:58 +01:00