Commit Graph

33 Commits

Author SHA1 Message Date
Éric Lemoine 711c4bbc8c Merge pull request #2450 from probins/events
Improve and standardise event docs
2014-08-18 17:35:59 +02:00
Peter Robins 7a5a5d75e7 Improve and standardise event docs 2014-08-18 15:17:02 +00:00
Frederic Junod ddd16b6985 Remove unused goog.require 2014-08-11 13:49:30 +02:00
Frederic Junod 7b7788973b Remove unnecessary newlines 2014-07-22 15:00:23 +02:00
Paul Spencer befcc4ceea Merge pull request #2204 from probins/dragbox
Correct/improve dragbox docs
2014-07-08 19:40:55 -04:00
Tim Schaub 4cf5ab4620 Use @api annotation instead of @todo api 2014-07-05 15:41:14 -04:00
tsauerwein b8ab6fd771 Add stable tags to interactions 2014-07-03 14:19:16 +02:00
Tim Schaub b88d2aebc9 Remove view.getView2D() method 2014-06-27 09:52:19 -04:00
Peter Robins c1c98b45b9 Correct/improve dragbox docs 2014-06-20 04:45:12 -04:00
Peter Robins 41d9f0360a Add @classdesc to classes 2014-06-09 12:10:19 -04:00
Andreas Hocevar 547334e211 Move oli.* stability notes to the corresponding ol.* symbol 2014-05-22 16:01:35 +02:00
Éric Lemoine 9b7735bf92 Add missing @param annotation 2014-05-19 15:43:38 +02:00
Andreas Hocevar 97bae045db Fix documentation typos 2014-05-15 17:05:40 +02:00
Andreas Hocevar 7271b50d5a Simplify fires annotations 2014-05-01 22:17:56 +02:00
Tim Schaub e4e3b2229a Defines in ol namespace defined in ol.js 2014-04-30 08:54:30 -06:00
Andreas Hocevar fbdbbfb7a7 Get rid of stability annotations and document stability with api
This change adds a stability value to the api annotation, with
'experimental' as default value.

enum, typedef and event annotations are never exportable, but
api annotations are needed there to make them appear in the
docs.

Nested typedefs are no longer inlined recursively, because the
resulting tables get too wide with the current template.
2014-04-29 09:53:07 -06:00
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