Commit Graph

19 Commits

Author SHA1 Message Date
Antoine Abt b169ef2094 Add renderer guess in example shared file
& use it in every example.
2014-02-13 17:21:03 +01:00
Éric Lemoine 1acc542bb6 Use the renderer map option in the examples 2014-02-06 16:56:15 +01:00
Tom Payne 88d019a0bb Add typecasts in animation example 2013-10-08 15:29:44 +02:00
Tom Payne 8f8f94e697 Rename ol.layer.TileLayer to ol.layer.Tile 2013-09-09 15:14:45 +02:00
Tim Schaub 8ca3f13bd2 Instead of providing animation functions, provide the namespace
This follows the convention in the Closure Library of providing either namespace objects (where the property starts with a lowercase letter), constructors (where the property starts with an uppercase letter), or enums (all uppercase properties, only one instance of this in the closure library).
2013-09-04 13:55:36 -06:00
Tim Schaub dc76b81780 Rename addPreRenderFunction to beforeRender and remove the plural 2013-09-03 10:57:31 -06:00
Éric Lemoine 77adbdfa7a Use per-animation function modules
Currently the animation functions share the same module, namely ol.animation. We do differently for ol.control.defaults and ol.interaction.defaults, with ol.control.defaults and ol.interaction.defaults module. This commit replaces the ol.animation module by four modules, one for each animation function.

This makes things more consistent, and will make it possible to use the @exportFunction annotation for the exporting of the animation functions.
2013-08-19 14:25:38 +02:00
Tom Payne 46553c719c Rename ol.projection to ol.proj 2013-05-30 18:55:58 +02:00
Tom Payne 390cc17161 Cosmetic clean-ups 2013-04-28 20:01:44 +02:00
Tom Payne b666fc49b7 Add spiral to Madrid animation example 2013-04-28 20:01:25 +02:00
Éric Lemoine a694661793 OpenStreetMap to OSM renaming
OSM is a well-known name, and is shorter than OpenStreetMap.
2013-04-10 10:07:49 +02:00
Éric Lemoine 572055127c Do not use getView2D in the examples 2013-04-09 15:28:20 +02:00
Tom Payne 02196c94b5 Redefine ol.Coordinate to be Array.<number> 2013-04-05 12:30:37 +02:00
Marc Jansen 66c03f4178 Fix typo in example. 2013-04-04 07:27:53 +02: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 4a7a5fe220 Sort properties alphabetically 2013-03-09 02:38:52 +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
Tom Payne 674eb9b396 Add animation example 2013-03-07 02:56:28 +01:00