Commit Graph
100 Commits
Author SHA1 Message Date
Tim Schaub d50082b860 Upgrade note regarding tile rendering 2016-05-19 09:17:23 -06:00
Tim Schaub ac4653ada5 Tests for source.setKey() 2016-05-19 09:09:52 -06:00
Tim Schaub feb6fe9dce Tests for setUrl() and setUrls() 2016-05-19 09:09:52 -06:00
Tim Schaub b2b902e22f Less weird name 2016-05-19 09:09:52 -06:00
Tim Schaub 6f5965f6a5 Demonstrate how source.setUrl() works 2016-05-19 09:09:52 -06:00
Tim Schaub 9870e8c04c Allow XYZ source construction without options 2016-05-19 09:09:52 -06:00
Tim Schaub 5542f045d5 Less special handling for WMTS tiles 2016-05-19 09:09:52 -06:00
Tim Schaub 025c063251 Less special handling for WMS tiles 2016-05-19 09:09:52 -06:00
Tim Schaub 841c8a5747 Rename source.getKeyParams() to source.getKey() 2016-05-19 09:09:52 -06:00
Tim Schaub 81d5849207 Add a settable key for all tile sources
The source's key is used as the key for all tiles in the source.  For URL tile sources, the URL is the key.
2016-05-19 09:09:52 -06:00
Tim Schaub fb402d120e Removing access_token in notes for v3 use 2016-05-13 12:08:59 -06:00
Tim Schaub 5a5ad7ce31 Correct types 2016-05-13 12:08:59 -06:00
Tim Schaub 476191b0d0 Notes on using the v4 Mapbox API 2016-05-13 12:08:59 -06:00
Tim Schaub 94b8c853a7 Use legacy UTFGrid source (which doesn't require a token) 2016-05-13 12:08:59 -06:00
Tim Schaub a810feb257 Test XHR loading 2016-05-13 12:08:58 -06:00
Tim Schaub 5c07628044 Return id if no data is present 2016-05-13 12:08:58 -06:00
Tim Schaub afcaa2ea51 Use Node 6 on Travis 2016-05-10 05:52:41 -06:00
Tim Schaub 0b4ef31750 Get raster sources working again
This reverts 8e1ffbf91e
2016-05-03 17:47:05 -04:00
Tim Schaub cd70f58e34 Rendering tests for vector context 2016-03-19 16:45:26 -06:00
Tim Schaub 22d03cb2ee Avoid duplicate lineTo and correctly close rings 2016-03-19 16:12:38 -06:00
Tim Schaub f0cca94456 Correcting a typo in the upgrade notes 2016-03-18 22:41:19 -06:00
Tim Schaub ed71cf74f6 Upgrade note on zIndex for drawFeature() styles 2016-03-18 17:52:16 -06:00
Tim Schaub 0eb7e8220d Immediate rendering for all vector contexts 2016-03-18 17:31:14 -06:00
Tim Schaub f0814628b7 Synchronous rendering only 2016-03-18 17:26:10 -06:00
Tim Schaub ec2daf2118 Make drawFeature() immediate 2016-03-18 17:26:10 -06:00
Tim Schaub 42c2dd8702 More geometry 2016-03-18 17:04:50 -06:00
Tim Schaub 42f41e1cf4 Variable named geometry 2016-03-18 17:04:50 -06:00
Tim Schaub 05cf57dcfc Remove unused arg 2016-03-18 17:04:50 -06:00
Tim Schaub 51dfe89425 Add assert message 2016-03-18 17:04:49 -06:00
Tim Schaub 1339d6b3a6 Correct to upgrade notes 2016-03-18 17:04:49 -06:00
Tim Schaub d0b2016bb6 Add setStyle() to WebGL immediate API 2016-03-18 17:04:49 -06:00
Tim Schaub f77c7dded2 Add drawGeometry() to WebGL immediate API 2016-03-18 17:04:49 -06:00
Tim Schaub 88f8515fb6 Shorter names for drawing methods 2016-03-18 17:04:44 -06:00
Tim Schaub 2133d6d081 Document the immediate rendering API 2016-03-18 17:03:18 -06:00
Tim Schaub ef40f66c93 Use setStyle() and drawGeometry() in examples 2016-03-18 17:03:18 -06:00
Tim Schaub cf0c4dcf3f Add methods to base class 2016-03-18 17:03:17 -06:00
Tim Schaub 873e4176c6 Add vectorContext.drawGeometry() method 2016-03-18 17:03:17 -06:00
Tim Schaub 8f0f278832 Add vectorContext.setStyle() method 2016-03-18 17:03:17 -06:00
Tim Schaub 249f3b2e47 Tests for ol.color.asString() 2016-03-08 10:05:54 -07:00
Tim Schaub 40397aa39e Tests for ol.color.asArray() 2016-03-08 10:05:54 -07:00
Tim Schaub 47a18d41f0 Remove unused ol.color.equals() 2016-03-08 10:05:53 -07:00
Tim Schaub 9ea9b29a69 Remove unused ol.color.transform() 2016-03-08 10:05:53 -07:00
Tim Schaub 8b1ad633be Remove unused ol.color.stringOrColorEquals() 2016-03-08 10:05:53 -07:00
Tim Schaub 7cf433eb68 Remove unused ol.color.blend() 2016-03-08 10:05:53 -07:00
Tim Schaub 787e5d4dbf Assert that map renderer is a disposable 2016-03-03 09:18:04 -07:00
Tim Schaub 167ee487d6 Assert that render box is a disposable 2016-03-03 09:05:08 -07:00
Tim Schaub beb80ce987 Assert that event target is a disposable 2016-03-03 09:05:08 -07:00
Tim Schaub 0ab9dd8bd0 Tests for ol.Disposable 2016-03-03 09:05:02 -07:00
Tim Schaub e1f0e8d75b No need for ol.webgl.Context to be an event target 2016-03-03 07:28:34 -07:00
Tim Schaub 2f9d4e68eb Unregister all listeners on the WebGL context's canvas 2016-03-03 07:26:45 -07:00
Tim Schaub afb64ed2bf Make ol.webgl.Context an ol.events.EventTarget 2016-03-02 16:32:25 -07:00
Tim Schaub 71faef3dfd One fewer anonymous function 2016-03-02 15:44:07 -07:00
Tim Schaub 09eee46822 Use ol.Disposable instead of goog.Disposable 2016-03-02 15:44:07 -07:00
Tim Schaub ae4d8195c0 Remove use of goog.dispose() 2016-03-02 15:44:06 -07:00
Tim Schaub df4f154a93 Unused goog.dispose requires 2016-03-02 15:44:06 -07:00
Tim Schaub 1877910b7e Handle more XHR errors in the TileJSON source 2016-03-02 14:42:28 -07:00
Tim Schaub 9c594bc997 Use where function in MVT tests 2016-03-02 13:22:33 -07:00
Tim Schaub 1925e39b69 Allow tests to be ignored by feature 2016-03-02 13:20:37 -07:00
Tim Schaub efdc892219 Run ol.source.Raster tests in Phantom 2016-03-01 13:50:31 -07:00
Tim Schaub 5aa175241a No need to check for ImageData constructor in the tests 2016-03-01 13:43:55 -07:00
Tim Schaub bc01fdb59a Return ImageData-like objects for IE support 2016-03-01 13:34:50 -07:00
Tim Schaub 66f23c1aed Upgrade to pixelworks@1.1.0 2016-03-01 13:34:50 -07:00
Tim Schaub 02904cda8e Guard against handlers handling events after done 2016-02-23 13:13:15 -07:00
Tim Schaub 24b7b27836 Listen once when calling done 2016-02-23 13:10:47 -07:00
Tim Schaub 9da8cd890e Simpler alias 2016-02-23 13:06:38 -07:00
Tim Schaub eaab8e47ce More cleanup 2016-02-23 12:57:39 -07:00
Tim Schaub b440872e60 Less crazy indentation 2016-02-23 12:50:33 -07:00
Tim Schaub 247eb62e3b Avoid shadowing 2016-02-23 12:48:27 -07:00
Tim Schaub 03761642ed Correct indentation 2016-02-15 16:39:56 -07:00
Tim Schaub 160294e05d Upgrade linter and config 2016-02-13 14:07:50 -07:00
Tim Schaub 72ea0ecfd8 Remove remaining goog.object use from tests 2016-02-04 06:54:45 -07:00
Tim Schaub d67f33bcd6 Remove use of goog.object.unsafeClone() 2016-02-04 06:54:44 -07:00
Tim Schaub e2fe897811 Replace goog.object.getValues() with ol.object.getValues() 2016-02-04 06:54:44 -07:00
Tim Schaub 417dbf36c8 Remove use of goog.object.setIfUndefined() 2016-02-04 06:54:44 -07:00
Tim Schaub fd394151fd Replace goog.object.clear() with ol.object.clear() 2016-02-04 06:54:44 -07:00
Tim Schaub f38d8bf824 Remove use of goog.object.get() 2016-02-04 06:54:44 -07:00
Tim Schaub 8b9c393820 Remove use of goog.object.some() 2016-02-04 06:54:44 -07:00
Tim Schaub 8aecb3270c Replace goog.object.isEmpty() with ol.object.isEmpty() 2016-02-04 06:54:44 -07:00
Tim Schaub 0dce343d4f Remove use of goog.object.getCount() 2016-02-04 06:54:44 -07:00
Tim Schaub 1a9367228d Remove use of goog.object.contains() and findKey() 2016-02-04 06:54:44 -07:00
Tim Schaub 554887ae14 Remove use of goog.object.forEach() 2016-02-04 06:54:44 -07:00
Tim Schaub 3c0ef430db Use ol.object.assign() instead of goog.object.extend() 2016-02-04 06:54:43 -07:00
Tim Schaub a74af66d5f Use ol.object.assign() instead of goog.object.clone() 2016-02-04 06:54:43 -07:00
Tim Schaub 619e070d80 Use ol.object.assign() in object.getPoperties() 2016-02-04 06:54:43 -07:00
Tim Schaub 3a4b504a5d Add polyfill for Object.assign() 2016-02-04 06:54:43 -07:00
Tim Schaub f3b97d6bef Use string instead of string|ol.events.EventType 2016-02-03 11:19:38 +01:00
Tim Schaub f10c90bdba Simpler type for ol.events.Key
Instead of having `ol.events.Key` be a listener object or an array of listener objects, it should be less error prone to have it just be a single listener object.

To avoid using too many functions with multiple return types, the `ol.events.*` functions for registering and unregistering listeners no longer accept an array of event types (and only a single key is returned when registering).

To make it convenient for users to register multiple listeners at once, the `observable.on()` method accepts an array of event types.  Internally in the library, we should use the less risky `ol.events.listen()`.
2016-02-03 11:19:38 +01:00
Tim Schaub e48ab95735 Use originalEvent instead of browserEvent 2016-02-03 11:19:38 +01:00
Tim Schaub c62e76ab67 Remove support for useCapture 2016-02-03 11:19:38 +01:00
Tim Schaub 80df1f5ae8 Move opt_useCapture arg to the end of the list 2016-02-03 11:19:38 +01:00
Tim Schaub 9cda669b3b Upgrade to mocha@2.4.5 2016-01-28 17:46:50 -07:00
Tim Schaub 6f525bfd2e Use new package name 2016-01-28 09:26:23 -07:00
Tim Schaub 49a5c832ea Report dependency versions 2016-01-27 13:33:53 -07:00
Tim Schaub 415ac07a60 Downgrade to mocha@2.3.4 2016-01-27 11:11:01 -07:00
Tim Schaub aff41cfcc0 Upgrade to eslint@2.0.0-beta.2 2016-01-27 09:35:01 -07:00
Tim Schaub 85ead5486c New Bing Maps key 2016-01-19 14:08:51 -07:00
Tim Schaub fd77ab64ad Use eslint@2.0.0-beta.1 2016-01-11 23:37:29 -08:00
Tim Schaub 13a981c94b Fewer blank lines 2016-01-11 22:03:23 -08:00
Tim Schaub 8d80924ba8 Remove gjslint.py 2016-01-11 22:03:12 -08:00
Tim Schaub 0a5d15db50 Remove jshint 2016-01-11 18:58:02 -08:00