Commit Graph

61 Commits

Author SHA1 Message Date
Tim Schaub
c50b9b2c25 Fix examples that use WebGLMap 2018-11-12 14:54:11 +01:00
Tim Schaub
c5f81d8bbe Register layer renderers with the map renderer 2018-04-14 10:31:10 -06:00
Tim Schaub
9cfee0f40b Named exports from ol/has 2018-02-05 10:42:47 -07:00
Tim Schaub
ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub
5f62d2ecfe Rename _ol_source_OSM_ to OSM 2018-01-10 09:36:28 -07:00
Tim Schaub
1c1f008238 Rename _ol_View_ to View 2018-01-10 09:35:42 -07:00
Ron Young
b8b64ac655 rename in examples 2017-12-21 23:11:42 -07:00
Marc Jansen
25946b4541 Rename _ol_layer_Tile_ to TileLayer 2017-12-19 08:45:00 +01:00
Tim Schaub
7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Tim Schaub
1674fcc680 Fall back to canvas to preserve old behavior 2017-08-15 15:37:37 -04:00
Peter Robins
d4024846cf Remove plain string from Map renderer option
To get this to compile with the examples, typecasts have to be added to Map renderer options.
2016-09-16 15:43:20 +00:00
Tim Schaub
c469241bee Update the side-by-side example 2016-09-01 07:30:29 -06:00
Bart van den Eijnden
ed80d243fb Remove MapQuest source 2016-07-01 11:38:52 +02:00
Tim Schaub
8c38d22b60 Lint free examples 2016-01-11 18:56:09 -08:00
Tim Schaub
89f5e711e6 Example sources in the examples dir 2015-04-17 06:22:38 -06:00
Andreas Hocevar
ff1ee78ddd Build and parse examples from examples_src/ 2015-04-02 19:10:09 +02:00
Tim Schaub
947b049799 Rename ol.browserfeature to ol.has 2014-08-22 07:34:35 -06:00
Peter Robins
e35531e7c6 Rename BrowserFeature to browserfeature 2014-08-15 13:53:20 +00:00
Tim Schaub
47d37fabea Rename ol.View2D to ol.View 2014-06-27 09:59:39 -04:00
Tim Schaub
5653d57712 Change default renderer to Canvas 2014-04-02 11:43:20 -06:00
Tom Payne
a58aa0a40d Use string instead of ol.RendererHint enum in examples 2014-02-06 22:33:25 +01:00
Frederic Junod
f058d54277 Fix ol.BrowserFeature.HAS_WEBGL test in side-by-side example 2014-01-14 09:46:02 +01:00
Bart van den Eijnden
78d20056f5 update all the other examples that used MapQuest 2014-01-08 13:36:35 +01:00
Éric Lemoine
79718151b7 Add ol.BrowserFeature.HAS_WEBGL 2013-12-18 11:20:13 +01:00
Tim Schaub
54738e29eb Export ol.webgl.SUPPORTED and provide ol.webgl 2013-09-15 15:51:17 -06:00
Tom Payne
8f8f94e697 Rename ol.layer.TileLayer to ol.layer.Tile 2013-09-09 15:14:45 +02:00
Frederic Junod
aa823e2b28 Better user notification if WebGL is not supported 2013-09-06 22:36:39 +02:00
Frederic Junod
169e66835d Bind to layergroup instead of layers 2013-09-06 18:17:12 +02:00
Tom Payne
02196c94b5 Redefine ol.Coordinate to be Array.<number> 2013-04-05 12:30:37 +02:00
Tom Payne
422ed4bd43 Clean up side-by-side example 2013-03-22 14:39:17 +01:00
Bruno Binet
9b1c389c80 Remove unused goog.require directives 2013-03-14 11:39:43 +01:00
Tom Payne
21d34f1cc8 Rename projection functions for a friendlier API
The following functions are renamed:

getTransform -> getTransformForProjections
getTransformFromCodes -> getTransform
transform -> transformWithProjections
transformWithCodes -> transform

With this change, the faster functions that avoid projection look-up
have longer names and are used internally, whereas the slower but
friendlier short name functions are available for users.
2013-03-07 13:39:40 +01:00
Frederic Junod
feb03b8cda Change opacity step value in side-by-side example
Avoid rounding issue (0.1 in binary format). fixes #299
2013-03-07 10:14:39 +01:00
Tom Payne
3c701067b3 Remove animations from side-by-side example 2013-03-07 02:58:00 +01:00
Tom Payne
50cb6294ee Remove brightness/contrast from side-by-side example 2013-03-07 01:56:41 +01:00
Tom Payne
8ab00689b2 Remove hue/saturation from side-by-side example 2013-03-07 01:56:41 +01:00
Tom Payne
fe7f112c41 Remove mouse position control from side-by-side example 2013-03-06 20:57:48 +01:00
Tom Payne
363cb87e1a Use an array to specify additional controls 2013-03-06 13:19:34 +01:00
Tom Payne
a94eadf402 Port examples to ol.control.defaults 2013-03-06 12:36:49 +01:00
Éric Lemoine
01d49ef9c9 Remove references to goog in examples 2013-03-03 17:01:37 +01:00
Tom Payne
fcc620af7d Separate ol.projection module from ol.Projection class 2013-03-03 13:09:13 +01:00
Frederic Junod
5ccf94a395 Do not use goog.now() in the examples (see #229) 2013-02-27 13:58:30 +01:00
Éric Lemoine
5f5e14f253 Merge pull request #175 from elemoine/control
Simplify control architecture
2013-02-08 14:56:19 -08:00
Tim Schaub
a2bbdf7ccc More natural names for animations 2013-02-06 13:43:54 -07:00
Frederic Junod
3355f9345d Replace ol.animation.createSpin with ol.animation.createRotateFrom 2013-02-06 17:10:21 +01:00
Éric Lemoine
bde61a0b4b Simplify control architecture 2013-02-04 10:18:33 +01:00
Tom Payne
f9eb7dc477 Add missing requires to examples 2013-01-30 23:47:13 +01:00
Frederic Junod
7568688301 Use option object rather than positional arguments for ol.animation.create* functions 2013-01-23 17:07:55 +01:00
Frederic Junod
8825251c42 Add new ol.easing.elastic and ol.easing.bounce easing functions. 2013-01-21 09:48:56 +01:00
Tom Payne
aeef260101 Add canvas renderer to side-by-side demo 2013-01-17 13:54:52 +01:00