Frederic Junod
a965d9ee9f
Remove unused ol.Object#setOptions function
2013-07-17 13:50:43 +02:00
Bart van den Eijnden
8dc97790bc
Add more content for the API doc
...
Involves additions to (there will be subsequent pull requests for other
classes):
- ol.Attribution
- ol.Collection
- ol.Expression
- ol.Feature
- ol.Geolocation
- ol.Map
- ol.Object
- ol.Overlay
- ol.Projection
- ol.View2D
- ol.control.Attribution
- ol.control.Control
- ol.control.FullScreen
- ol.control.Logo
- ol.control.MousePosition
- ol.control.ScaleLine
- ol.control.Zoom
- ol.control.ZoomSlider
- ol.dom.Input
- ol.filter.Filter
- ol.filter.Geometry
- ol.filter.Logical
2013-06-11 20:56:04 +02:00
Frederic Junod
984002a7ec
Change ol.Object event name syntax
...
'changed' to 'change' and '<attribute>_changed' to 'change:<attribute>'.
2013-05-31 12:38:37 +02:00
Tim Schaub
ffe9105891
Rename onOnce to once (see #678 )
2013-04-30 14:58:39 -06:00
Frederic Junod
6366bd05b3
ol.Object.{on|onOnce|un} type can also be an array of string
2013-04-30 15:03:52 +02:00
Tom Payne
e8109919e9
Add ol.Object#onOnce
2013-04-25 19:41:03 +02:00
Tom Payne
09fe09e42b
Add ol.Object#unByKey
2013-04-25 19:41:03 +02:00
Tom Payne
fa2582a2f1
Return listener key from ol.Object#on
2013-04-25 19:41:02 +02:00
Frederic Junod
e3bec11d2e
Remove unused ol.Object.prototype.changed
2013-04-23 11:06:42 +02:00
Éric Lemoine
ce0836e403
Add on and un methods to ol.Object
2013-03-31 14:14:19 +02:00
Tim Schaub
2919906ba6
Add method for getting keys
2013-02-19 14:47:49 -07:00
Tim Schaub
d6ff58305d
Using a dedicated object for value storage
...
Without this, we are limited in the key names that we can accept from users. And because of compiler renaming, we don't know ahead of time what the limitations are (e.g. the key 'a' may clobber the 'set' method).
2013-02-19 14:35:11 -07:00
Tim Schaub
052e995f2e
Key in obj check not appropriate for user supplied keys
2013-02-19 14:19:40 -07:00
Tim Schaub
6cfc36d8cc
Using hasOwnProperty is better for user keys on objects we control
2013-02-19 14:17:58 -07:00
Tim Schaub
b9507de3ea
Removing unnecessary overhead
2013-02-19 14:14:36 -07:00
Tom Payne
21331d1065
Dispatch generic changed events when any ol.Object property changes
2013-01-08 17:26:22 +01:00
Tim Schaub
c3a41c967e
Removing file overviews for now.
2012-09-24 16:58:55 +02:00
Tom Payne
f8c31ba45c
s/ol3/ol/
2012-09-24 14:21:41 +02:00