Commit Graph

9 Commits

Author SHA1 Message Date
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