Marc Jansen
d0ef05977b
Autofix indentation issues (eslint --fix)
2017-06-19 11:58:00 +02:00
Frederic Junod
d8ed2eb1be
Accept a ol.ProjectionLike in ol.Geolocation#setProjection
2017-06-09 08:28:29 +02:00
Frederic Junod
c1be62e6c3
More precise ol.Geolocation#getAccuracyGeometry return type
2017-02-27 16:18:45 +01:00
Tim Schaub
f5aea97d3b
All @api annotations imply stability
2017-02-06 09:22:05 -07:00
Guillaume Beraudo
6c9af04df3
Add ol.GeolocationProperty enum file
2017-01-18 21:11:59 +01:00
Tim Schaub
f748245e3d
Private enum for geolocation properties
2016-12-27 13:24:02 -07:00
Tim Schaub
651c6959ab
Remove ol.global
2016-09-01 23:13:00 -06:00
Tim Schaub
ff8a84a220
Deal with ol.global issues
2016-09-01 06:58:12 -06:00
Frederic Junod
1fa91717bd
Rename ol.GeolocationProperty to ol.Geolocation.Property
2016-09-01 06:58:10 -06:00
Frederic Junod
d4ad9ad616
Add missing goog.require('ol')
2016-08-17 09:57:21 +02:00
Tim Schaub
907a65ab83
Remove unused goog.require() calls in the source
2016-08-08 09:58:10 -06:00
Peter Robins
bda673f389
Remove goog.provide from internal enums
2016-06-15 09:04:44 +00:00
Frederic Junod
e289bfbb7d
Use ol.inherits instead of goog.inherits
2016-06-08 08:38:12 +02:00
Peter Robins
535e8f5e35
Move top-level typedefs to typedefs.js
...
With one exception, those directly in the `ol` namespace can be moved without problem.
Some left-over goog.requires are also removed.
2016-05-11 17:18:05 +00:00
Peter Robins
2a44669e18
Add some goog.requires to keep compiler happy
2016-05-09 16:00:07 +00:00
Peter Robins
f57065c412
Remove unneeded goog.provides/requires for typedefs
...
In general, typedefs do not need and should not have goog.require/provide
2016-05-09 13:21:25 +00:00
Nicholas Latham
cd6494149b
Remove goog.global ( #5178 )
...
* Remove goog.global
* Correct externs location
* Use Function('return this')
* Remove global externs
2016-04-07 23:36:48 +02:00
Guillaume Beraudo
7e6115a763
Fix geolocation error cast
...
Despite the dispatchEvent method accepting a hash with a "target" property of
"undefined", closure may still require the "target" property to be
explicit.
2016-02-16 11:36:24 +01:00
Tim Schaub
80df1f5ae8
Move opt_useCapture arg to the end of the list
2016-02-03 11:19:38 +01:00
Andreas Hocevar
3f2d79b7fe
Replace goog.events.Event/EventTarget system with our own
...
This also removes goog.events.listen, goog.events.unlisten,
goog.events.unlistenByKey and goog.events.BrowserEvent.
2016-02-03 11:19:38 +01:00
Frederic Junod
c989de3175
Document ol.Geolocation error event
2016-02-02 11:48:47 +01:00
Nicholas L
db3ad70a3d
Remove use of goog.bind and use ES5 .bind
2016-01-15 22:10:55 +13:00
Tim Schaub
13a981c94b
Fewer blank lines
2016-01-11 22:03:23 -08:00
Marc Jansen
47a7b03e0e
Remove use of toDegrees/toRadians util functions
...
Instead of goog.math.toRadians and goog.math.toDegrees, we now use
our own implementations of these basic conversion functions.
2015-10-12 21:16:03 +02:00
Marc Jansen
442caade91
Remove goog.isNull in geolocation class
2015-10-01 09:18:53 +02:00
Tim Schaub
ac7db89a91
Replace goog.isDefAndNotNull() with truthy checks
2015-09-29 09:32:51 -06:00
Tim Schaub
83c59ee255
Inline goog.isDef() calls for properties
2015-09-27 10:40:20 -06:00
Tim Schaub
36e336f406
Inline !goog.isDef() calls for properties
2015-09-27 10:37:20 -06:00
Tim Schaub
b36d697585
Inline goog.isDef() property checks
2015-09-27 10:21:50 -06:00
Tim Schaub
cf5eadebaa
Define options
2015-09-27 10:11:30 -06:00
Andreas Hocevar
3595c2cce7
Document change events properly
...
With this change, the generic 'change' event is properly documented, as
all other events. It is no longer necessary to annotate `@fires change` for
every ol.Observable subclass.
2015-07-18 15:27:16 +02:00
Tim Schaub
0189e11931
Remove unconditionally exported methods
2015-04-07 08:35:47 -06:00
Tim Schaub
3ef5329bd9
Geolocation docs
2015-04-04 17:36:47 +02:00
xamgreen
704d53e589
getProjektion() instead of getprojektion()
...
Just a little error that my confuse some people.
2014-09-29 20:01:47 +02:00
Éric Lemoine
6b2a703b35
Use ol.geom.Polygon.circular in ol.Geolocation
2014-09-23 09:43:13 +02:00
Éric Lemoine
d85d34f3dd
Better docs for ol.geom.Polygon#createCircularSphere
2014-09-18 08:48:05 +02:00
Andreas Hocevar
ebe3b48e0a
Rename ol.Observable#dispatchChangeEvent() to #changed()
...
Since dispatchChangeEvent does not only dispatch a change event, but
also increases the revision counter, the method name should reflect
this.
2014-09-04 19:30:48 -06:00
Frederic Junod
4969c2cf34
Set tracking property to false on geolocation error
2014-09-02 11:13:06 +02:00
Éric Lemoine
250b588db4
Add @api stable annotations to ol.Geolocation
2014-08-25 09:56:01 +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
Frederic Junod
ddd16b6985
Remove unused goog.require
2014-08-11 13:49:30 +02:00
Frederic Junod
0d6cc22bf0
Don't bind to ol.View projection property
2014-08-07 12:59:15 +02:00
Tim Schaub
d99a61545c
Use @observable annotation instead of @todo observable
2014-07-05 16:16:44 -04:00
Tim Schaub
4cf5ab4620
Use @api annotation instead of @todo api
2014-07-05 15:41:14 -04:00
Peter Robins
41d9f0360a
Add @classdesc to classes
2014-06-09 12:10:19 -04:00
Andreas Hocevar
b2805c58de
Better document which events are fired
...
The map does not fire ol.render.Event#render. Change events are
now only listed for classes that fire them, and a description
about when they are fired is added.
2014-05-15 20:28:09 +02:00
Andreas Hocevar
be73885e37
Merge pull request #2043 from ahocevar/nicer-api-docs
...
Nicer API docs
2014-05-07 09:20:22 -05:00
Andreas Hocevar
8ee9f7cb6a
Simplify the way we annotate observable properties
...
We no longer add observable annotations to the constructor.
Instead, we just mark getters (and for read/write properties
also setters) with an observable annotation.
2014-05-03 16:04:25 -04:00
Tim Schaub
1110da37e1
Move ol.Sphere#circle to ol.geom.Polygon.circular
...
Previously, ol.geom.Polygon was a transitive dependency of ol.proj (since ol.proj requires ol.sphere.NORMAL, and all spheres were capable of generating circular polygons). Instead, ol.proj should be lower-level. Since it deals only with coordinate arrays, it shouldn't depend on all of the geometry code.
By adding a static `circular` function to `ol.geom.Polygon`, the dependency tree makes more sense. If you want to create a polygon that approximates a circle on a sphere, you require `ol.geom.Polygon` and `ol.Sphere` (or one of the constants).
This makes room for geometries to have a `transform` method that takes projection-like arguments (meaning that `ol.geom.Geometry` will require `ol.proj`).
2014-05-02 11:25:44 -06:00