Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne 5a2483e224 Increase default tile cache size 2013-04-09 22:14:54 +02:00
Tom Payne 29b78a32e8 Merge pull request #519 from twpayne/tile-garbage-clean-ups
Tile garbage clean-ups
2013-04-09 13:12:01 -07:00
Tom Payne 680b31c5e0 Eliminate an ol.TileCoord allocation 2013-04-09 19:54:15 +02:00
Tom Payne fe03ebe99c Re-use ol.Extent objects 2013-04-09 19:19:45 +02:00
Tom Payne ee8e565be2 Enable ol.Extent re-use 2013-04-09 19:19:45 +02:00
Tom Payne e08d19ac55 Add ol.Extent.createOrUpdate 2013-04-09 19:19:44 +02:00
Tom Payne e556c87a7c Re-use ol.TileRange objects 2013-04-09 19:19:20 +02:00
Tom Payne e30109913e Enable ol.TileRange re-use 2013-04-09 19:19:20 +02:00
Tom Payne 7a4672d429 Add ol.TileRange.createOrUpdate 2013-04-09 19:19:19 +02:00
Tom Payne 5bd67e1325 Re-use ol.TileCoord objects 2013-04-09 19:19:11 +02:00
Tom Payne 5a4033db7a Enable ol.TileCoord re-use 2013-04-09 19:19:11 +02:00
Tom Payne 7b58685462 Add ol.TileCoord.createOrUpdate 2013-04-09 19:19:11 +02:00
Tom Payne aa12232ec3 Merge pull request #509 from twpayne/use-high-resolution-tiles
Use high resolution tiles
2013-04-09 06:34:45 -07:00
Tom Payne e732a67382 Propagate return value 2013-04-09 13:15:16 +02:00
Tom Payne cdc67a141a Remove preload from examples that don't need it 2013-04-09 13:15:16 +02:00
Tom Payne 66f0e0d8e8 Add optimized version of getTileCoordChildTileRange for ol.tilegrid.XYZ 2013-04-09 13:15:16 +02:00
Tom Payne c5748f1fd7 Store maxZoom in ol.tilegrid.XYZ 2013-04-09 13:15:16 +02:00
Tom Payne 1b7ee36680 Use high resolution tiles in DOM renderer 2013-04-09 13:15:16 +02:00
Tom Payne 8da1f3400b Use high resolution tiles in Canvas renderer 2013-04-09 13:15:16 +02:00
Tom Payne 4d6e060052 Use high resolution tiles in WebGL renderer 2013-04-09 13:15:16 +02:00
Tom Payne 7a7ea8a072 Add ol.tilegrid.TileGrid.getTileCoordChildTileRange 2013-04-09 13:15:16 +02:00
Tom Payne e39aae6662 Merge pull request #514 from twpayne/remove-stray-comment
Remove stray comment
2013-04-09 04:14:34 -07:00
Tom Payne 52893f1ba2 Remove stray comment 2013-04-09 13:07:02 +02:00
Tom Payne e68f744ad1 Merge pull request #513 from twpayne/fix-tilequeue-assert
Remove incorrect assert, thanks @elemoine
2013-04-09 03:41:49 -07:00
Tom Payne e12b30ba91 Remove incorrect assert, thanks @elemoine 2013-04-09 12:18:04 +02:00
Tom Payne eee24870b5 Merge pull request #506 from twpayne/refactor-webgl-shaders
Refactor WebGL shaders
2013-04-08 11:11:47 -07:00
Tom Payne 1f679bbd1c Merge pull request #508 from twpayne/remove-matrix-filter
Remove references to Matrix Filter
2013-04-08 11:10:28 -07:00
Tom Payne 60a33a86bb Remove references to Matrix Filter 2013-04-08 19:43:41 +02:00
Tom Payne ba3746a8d9 Merge pull request #507 from twpayne/asserts
Clean up use of goog.asserts
2013-04-08 10:39:55 -07:00
Tom Payne a6a60149f1 Merge pull request #494 from twpayne/use-goog-base
Use Closure type identification functions
2013-04-08 10:16:52 -07:00
Tom Payne e132943eef Use goog.asserts.fail 2013-04-08 19:14:16 +02:00
Tom Payne 098bddb72f Use goog.asserts.assertInstanceof 2013-04-08 19:03:49 +02:00
Tom Payne 667f3de6d9 Remove unused constants 2013-04-08 16:40:53 +02:00
Tom Payne ee54aaaea4 Use simpler, faster shader when brightness, contrast, hue and saturation are unchanged 2013-04-08 16:40:53 +02:00
Tom Payne f7f799be27 Use automatically generated locations in WebGL tile layer renderer 2013-04-08 16:40:53 +02:00
Tom Payne aa5ce41cb5 Automatically generate uniform and attribute locations 2013-04-08 16:40:49 +02:00
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 7a2ad8c506 Use Closure type identification functions 2013-04-07 12:31:54 +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