Tim Schaub
e9fa08fccb
Use in-place transforms where possible
2013-03-03 20:53:13 +01:00
Tim Schaub
40bde4056b
Accept a destination array for transforms
...
This allows in-place transforms.
2013-03-03 20:24:14 +01:00
Tim Schaub
7a5e6a06d8
Make transform functions work with arrays
...
Instead of working with ol.Coordinate instances, transform functions work with arrays. This is in anticipation of using transform functions to transform large arrays of vertex coordinate values. The ol.projection.transform and ol.projection.transformWithCodes are slightly more convenient functions for dealing with ol.Coordinate instances. Whether we make this more consistent with the use of functions returned by ol.projection.getTransform is up for discussion.
2013-03-03 19:27:57 +01:00
Tom Payne
fcc620af7d
Separate ol.projection module from ol.Projection class
2013-03-03 13:09:13 +01:00
Frederic Junod
c117fbbf7c
Rename ol.Geolocation.isSupported to ol.Geolocation.SUPPORTED.
...
And add the 'const' JSDoc Tags.
2013-02-19 16:51:59 +01:00
Tom Payne
fc9f323f83
Store heading in radians, thanks @fredj
2013-02-17 23:53:37 +01:00
Tom Payne
7de6cb4fd4
Add remaining geolocation properties
2013-02-16 20:19:38 +01:00
Frederic Junod
a36145fc1f
Check if the Geolocation API is supported
2013-02-07 16:20:15 +01:00
Frederic Junod
44a5eca437
Add ol.Geolocation.isSupported property
2013-02-07 15:59:12 +01:00
Frederic Junod
753b37ad47
Add 'undefined' return type for all get* functions
2013-02-06 11:00:55 +01:00
Frederic Junod
a679bb7bef
Set handleProjectionChanged from protected to private
2013-02-06 10:59:18 +01:00
Frederic Junod
6675de437f
Handle projection change in ol.Geolocation
2013-02-04 09:46:31 +01:00
Frederic Junod
38f245c5c8
Add projection property to ol.Geolocation
2013-02-01 13:53:55 +01:00
Frederic Junod
035f487dc5
Add ol.Geolocation
2013-02-01 11:10:17 +01:00