Commit Graph

36 Commits

Author SHA1 Message Date
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 d940b5d458 Rename _ol_source_TileDebug_ to TileDebug 2018-01-10 09:36:29 -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
Frederic Junod da67764437 Named export for ol/control 2017-12-17 18:53:50 +01:00
Tim Schaub 6f72ffe498 Named exports from ol/proj 2017-12-14 13:08:40 +01:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Frederic Junod 8aa591c04d Remove unneeded type cast from examples 2017-11-22 14:00:00 +01:00
Peter Robins 7d5635092a Remove getRendererFromQueryString from examples 2016-09-16 09:34:30 +00:00
Andreas Hocevar acab0ebd57 Display transformed tile coordinates in ol.source.TileDebug 2015-06-12 09:46:17 +02:00
Andreas Hocevar b05193fa45 Replace ol.tilegrid.XYZ with an ol.tilegrid.createXYZ function 2015-05-05 18:52:33 +02:00
Tim Schaub c5cf709c55 The common.js script makes a "common" object available 2015-04-17 09:49:53 -06: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
Antoine Abt d5d5f58809 Do not collapse Attributions when using OSM source 2014-07-11 10:18:55 +02:00
Tim Schaub 47d37fabea Rename ol.View2D to ol.View 2014-06-27 09:59:39 -04:00
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 8f8f94e697 Rename ol.layer.TileLayer to ol.layer.Tile 2013-09-09 15:14:45 +02:00
Tom Payne bf1d804a5e Rename ol.source.DebugTileSource to ol.source.TileDebug 2013-09-09 15:07:05 +02:00
Tom Payne 46553c719c Rename ol.projection to ol.proj 2013-05-30 18:55:58 +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
Tom Payne 02196c94b5 Redefine ol.Coordinate to be Array.<number> 2013-04-05 12:30:37 +02:00
Tom Payne 2a5d07d929 Use a single map in the canvas tiles example 2013-03-11 17:07:27 +01:00
Tom Payne e8b4a29254 Fix typo in canvas tiles example 2013-03-10 15:49:46 +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 874583656e Use strings rather than ol.projection.get in examples 2013-03-07 13:31:11 +01:00
Tom Payne afcbec469a Rename ol.projection.getFromCode to ol.projection.get 2013-03-07 13:29:39 +01:00
Tom Payne 441092dad6 Don't use ol.Collection in examples 2013-03-06 17:00:16 +01:00
Tom Payne 44e3e228eb Add canvas map to two layers demo 2013-03-04 18:45:24 +01:00
Tom Payne fcc620af7d Separate ol.projection module from ol.Projection class 2013-03-03 13:09:13 +01:00
Tom Payne f9eb7dc477 Add missing requires to examples 2013-01-30 23:47:13 +01:00
Tom Payne bb51709945 Use OpenStreetMap tiles in canvas tiles example
Stamen exports aren't quite right yet.
2013-01-18 00:34:44 +01:00
Tom Payne 878122828b Add canvas tiles example 2013-01-11 01:18:58 +01:00