Andreas Hocevar
c17ac0cae3
Greatly simplify and document the usage of JSDoc
...
This commit simplifies the exports.js plugin so it only relies
on the stability notes to generate the documentation, which
completely decouples it from the exportable API.
As a rule of thumb, whenever something has an 'api' annotation,
it should also have a 'stability' annotation. A more verbose
documentation of ol3 specific annotation usage is available in
the new 'apidoc/readme.md' file.
This commit also modifies all source files to implement these
usage suggestions.
2014-04-29 09:53:06 -06:00
Tim Schaub
fb497f5288
Annotations for exports
2014-04-29 09:53:05 -06:00
Éric Lemoine
eac9b71b95
Set shouldStopEvent to identity in DragBox
...
This fixes a bug where the map is panned when boxes are drawn.
2014-04-07 16:57:02 +02:00
ahocevar
a3b5376520
Add missing event documentation and stability tags
2014-03-26 14:04:58 +01:00
tsauerwein
50d09eba93
Adding missing default returns
2014-03-14 10:16:26 +01:00
ahocevar
05dd760287
Rename ol.interaction.PointerInteraction
2014-03-14 10:16:26 +01:00
tsauerwein
c593add6d8
base dragrotateinteraction on pointer interaction
2014-03-14 10:16:26 +01:00
tsauerwein
fca9c50a3f
PointerInteraction uses MapBrowserPointerEvent not MapBrowserEvent
2014-03-14 10:16:26 +01:00
tsauerwein
a696150470
base interaction for zoom box on pointer events
2014-03-14 10:16:26 +01:00
Tom Payne
b2aa9bb19f
Export ol.DragBoxEvent coordinate as a property, not a function
2014-03-02 12:24:09 +01:00
Tom Payne
318fc68159
Convert ol.MapBrowserEvent#get* methods into properties
2014-01-29 14:51:27 +01:00
Frederic Junod
b53ddf5b42
Create 'type' annotation for 'const' variables
2014-01-13 08:53:36 +01:00
Antoine Abt
3461b026b6
Do not draw a rotated box, in dragbox/dragzoom
...
Use pixels to draw a straight box, perserving rotation while zooming
2014-01-03 11:55:28 +01:00
Antoine Abt
adfe20dd12
Make DragBox interaction dispatch events
...
- boxstart/boxend events are dispatched,
- behavior is removed,
- geometry drawn by box render is a simple polygon instead of one with hole.
2013-12-20 15:24:53 +01:00
Antoine Abt
43b8a72e62
Add ol.DragBoxEvent
2013-12-20 15:24:52 +01:00
Éric Lemoine
eb840777e8
Add style option to DragBox interaction
2013-12-20 10:21:18 +01:00
Éric Lemoine
6b305cd146
Add ol.interaction.DragBox
2013-12-20 10:21:18 +01:00