Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne c6cd3e0227 Refactor glsl-unit templates
This abuses the template system to allow both a single anonymous shader
and multiple named shaders to be defined in a namespace.
2013-04-08 15:57:26 +02:00
Tom Payne 24cfd8a9be Merge pull request #496 from twpayne/check-whitespace
Check whitespace
2013-04-08 06:06:15 -07:00
Tom Payne 9d38b21831 Check for whitespace errors in jsdoc files 2013-04-08 13:40:13 +02:00
Tom Payne a103b5acd7 Fix whitespace errors in jsdoc 2013-04-08 13:25:01 +02:00
Tom Payne 7b2c2369ae Check for whitespace errors in lint 2013-04-08 13:25:01 +02:00
Tom Payne f1cc5b87da Fix whitespace errors in JavaScript source 2013-04-08 13:25:01 +02:00
Tom Payne a4763e0b69 Fix whitespace errors in exports 2013-04-08 13:25:01 +02:00
Tom Payne 81712a28a3 Fix whitespace errors in examples 2013-04-08 13:24:10 +02:00
Tom Payne 220dc2eab6 Merge pull request #499 from twpayne/fix-openstreetmap-licenses
OpenStreetMap licenses are inconsistent
2013-04-08 03:59:44 -07:00
Tom Payne 75c1642c82 Merge pull request #498 from twpayne/boost-tile-loading
Boost tile loading
2013-04-08 03:54:53 -07:00
Tom Payne 0221998120 Fix OpenStreetMap attributions 2013-04-08 12:32:03 +02:00
Tom Payne 01440b484b Only manage the tile queue if it is not empty and improve comment 2013-04-08 12:14:33 +02:00
Tom Payne 6f49cb8abe Assert that loadMoreTiles is only called when more tiles will be loaded 2013-04-08 12:12:25 +02:00
Tom Payne 09110098ae Merge pull request #497 from openlayers/doc-objectliterals
Documentation for exported object literals
2013-04-07 13:03:26 -07:00
Tom Payne 60a913aef3 Compute number of new tiles to load exactly 2013-04-07 19:12:40 +02:00
Tom Payne 5b133d40d9 Only reprioritize tile queue when more tiles will be loaded 2013-04-07 18:31:56 +02:00
Tom Payne b93283e8f3 Boost number of loading tiles when not animating or interacting 2013-04-07 18:25:19 +02:00
Tom Payne da6f4cc764 Make maximum number of tiles loading a parameter to loadMoreTiles 2013-04-07 18:10:19 +02:00
Tom Payne 1d5431226e Use objectliterals.jsdoc instead of objectliterals.exports 2013-04-07 18:00:11 +02:00
Tom Payne b83352549e Correct typos in objectliterals.jsdoc 2013-04-07 18:00:11 +02:00
Tom Payne 5f817476c2 Merge pull request #495 from twpayne/logo-control-exports
Add ol.control.Logo exports
2013-04-07 04:18:05 -07:00
Tom Payne f724e40179 Add ol.control.Logo exports 2013-04-07 12:53:52 +02:00
Tom Payne a90797852e Merge pull request #489 from twpayne/consistent-options
Consistent options
2013-04-07 03:13:07 -07:00
Tom Payne b74ebcdae5 Be more consistent with view options 2013-04-07 11:44:59 +02:00
Tom Payne 5b104635cf Be more consistent with tilegrid options 2013-04-07 11:44:59 +02:00
Tom Payne dfc4dcc5f9 Be more consistent with style options 2013-04-07 11:44:58 +02:00
Tom Payne 3f637ec2c4 Be more consistent with overlay options 2013-04-07 11:44:58 +02:00
Tom Payne f1c6ea4bab Be more consistent with map options 2013-04-07 11:44:58 +02:00
Tom Payne a537632199 Be more consistent with source options 2013-04-07 11:44:58 +02:00
Tom Payne 042cf9b7a9 Merge pull request #493 from twpayne/correct-example
Update use of ol.Coordinate in example
2013-04-07 02:40:48 -07:00
Tom Payne 99caf9a6fe Update use of ol.Coordinate in example 2013-04-07 11:40:16 +02:00
Tom Payne 81486c261d Merge pull request #491 from twpayne/openstreetmap-options
OpenStreetMap options
2013-04-07 02:09:29 -07:00
Tom Payne fe6b418cbd Use common attribution for OpenStreetMap 2013-04-07 10:43:04 +02:00
Tom Payne 910ee493e5 Add localized OpenStreetMap example 2013-04-07 10:24:44 +02:00
Tom Payne 93e9b4524b Add OpenStreetMap options 2013-04-06 21:41:01 +02:00
Tom Payne ac8762b493 Be more consistent with projection options 2013-04-06 20:44:23 +02:00
Tom Payne ec77455c14 Be more consistent with parser options 2013-04-06 20:44:23 +02:00
Tom Payne 3197e278f8 Be more consistent with layer options 2013-04-06 20:44:23 +02:00
Tom Payne 42c029be84 Be more consistent with interaction options 2013-04-06 20:44:23 +02:00
Tom Payne 85af2bf912 Be more consistent with geolocation options 2013-04-06 20:44:23 +02:00
Tom Payne ea22f0f8cc Be more consistent with control options 2013-04-06 20:44:23 +02:00
Tom Payne 7e8db559fe Be more consistent with animation options 2013-04-06 19:12:39 +02:00
Tom Payne 027806d114 Merge pull request #488 from twpayne/remove-logger
Remove (mostly unused) logger
2013-04-06 09:11:45 -07:00
Tom Payne 4d1ec1ff90 Remove (mostly unused) logger 2013-04-06 17:32:41 +02:00
Tom Payne d90c871ebb Merge pull request #484 from twpayne/check-goog-requires
Check requires from Closure Library
2013-04-06 05:52:58 -07:00
Tom Payne 5d36f1de83 Merge pull request #485 from twpayne/no-social-widgets-when-debugging
Remove social widgets when debugging
2013-04-06 05:32:49 -07:00
Tom Payne 1e8a47be13 Speed up requirements checking 2013-04-06 14:28:12 +02:00
Tom Payne 4be8c991f7 Add missing Closure Library requires 2013-04-06 14:28:12 +02:00
Tom Payne 12a6d6b43f Read provides from Closure Library 2013-04-06 14:23:56 +02:00
Tom Payne f8ea6fefd3 Merge pull request #486 from twpayne/build-py-pep8
Make build.py PEP8 compliant again
2013-04-06 05:22:43 -07:00
Tom Payne a2bae2d893 Merge pull request #487 from twpayne/update-url
Update examples URL to openlayers.github.io
2013-04-06 05:21:57 -07:00
Tom Payne 8073be7f3a Update examples URL to openlayers.github.io 2013-04-06 14:21:16 +02:00
Tom Payne 764872d619 Remove social widgets when debugging
Social widgets increase load times, add uncontrolled JavaScript code,
and open potential security holes.  None of these are desirable,
especially when debugging.  This commit removes the Twitter and Google
Plus widgets, at least when the window location has a query string
(e.g. "?mode=RAW").
2013-04-06 14:12:03 +02:00
Tom Payne 622ac870fd Merge pull request #482 from twpayne/control-clean-ups
Control clean-ups
2013-04-06 05:10:22 -07:00
Tom Payne 8bf14f8f98 Make build.py PEP8 compliant again 2013-04-06 14:08:56 +02:00
Tom Payne d3f6691cf1 Merge pull request #483 from twpayne/sort-objectliterals-exports
Sort src/objectliterals.exports
2013-04-05 12:05:45 -07:00
Tom Payne e068135a66 Sort src/objectliterals.exports 2013-04-05 21:00:40 +02:00
Tom Payne 25eb18d2c8 Handle unlistening in base class 2013-04-05 20:59:16 +02:00
Tom Payne 06bcab8374 Move postrender event listening into base class 2013-04-05 20:59:16 +02:00
Tom Payne da1e5aadd3 Factor out css.js and fix requires 2013-04-05 20:59:16 +02:00
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