Éric Lemoine
76e1ca67a4
Merge pull request #2269 from probins/select
...
Improve docs for interaction.Select
2014-07-03 17:07:03 +02:00
Peter Robins
49aabda1b9
Improve docs for interaction.Select
2014-07-03 04:54:09 -04:00
Andreas Hocevar
29370a04aa
Show sketch vertex for all geometry types
2014-07-01 11:52:21 +02:00
Tim Schaub
47d37fabea
Rename ol.View2D to ol.View
2014-06-27 09:59:39 -04:00
Tim Schaub
b9f444a008
Rename olx.View2DState to olx.ViewState and use viewState property
2014-06-27 09:58:25 -04:00
Tim Schaub
2e88f911dd
Rename view.getView2DState() to view.getState()
2014-06-27 09:52:19 -04:00
Tim Schaub
b88d2aebc9
Remove view.getView2D() method
2014-06-27 09:52:19 -04:00
Tim Schaub
3c1cb55079
Remove IView and IView2D
2014-06-27 09:52:19 -04:00
Andreas Hocevar
efc3e3244a
Merge pull request #2254 from elemoine/replaygroup
...
Use replay groups for feature overlays
2014-06-27 12:59:06 +02:00
Éric Lemoine
0762b8c023
Defer selection/deselection
2014-06-26 10:39:58 +02:00
Frederic Junod
9b2a874282
Use getInExtent instead of forEachInExtent
2014-06-17 08:58:04 +02:00
Peter Robins
75be215497
Add standard docs text to abstract base classes
2014-06-14 07:20:33 -04:00
Éric Lemoine
f0dbcfd541
Merge pull request #2114 from tsauerwein/draw-and-modify
...
Add example combining draw and modify interaction
2014-06-10 10:00:27 +02:00
Tim Schaub
2a42e7736a
Merge pull request #2178 from probins/classdesc
...
Use @classdesc notation.
2014-06-09 11:18:14 -06:00
Peter Robins
41d9f0360a
Add @classdesc to classes
2014-06-09 12:10:19 -04:00
tsauerwein
d0e818e8ce
Add condition to draw interaction
2014-06-06 15:54:38 +02:00
Frederic Junod
4525276c6e
Rename ol.Collection#getAt to ol.Collection#item
...
TouchList, DOMStringList, DOMTokenList, NodeList all have an
`item(index)` function to retrieve an item from a list.
We should do the same.
2014-06-06 09:49:12 +02:00
Tim Schaub
097909516a
Account for null or undefined geometry
...
The change in #2098 made it so a feature's geometry could be undefined. This is consistent with the return type for the getGeometry method. Where calling code needs to ensure that it has a geometry instance, it can use instanceof, goog.isDefAndNotNull(), or test for a truthy value.
2014-05-23 10:00:15 -06:00
Andreas Hocevar
547334e211
Move oli.* stability notes to the corresponding ol.* symbol
2014-05-22 16:01:35 +02:00
Frederic Junod
2f918ea2a4
Remove unused goog.require
2014-05-21 16:06:32 +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
754ef24b0c
List default controls and interactions
2014-05-15 17:04:58 +02:00
Bart van den Eijnden
945f5008f5
Ability to specify geometryName on ol.interaction.Draw
2014-05-14 08:35:27 +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
0f072c0ec1
List subclasses for each class
...
With this change, we no longer need to link to implementations
or subclasses manually.
2014-05-03 15:32:39 -04:00
Tim Schaub
4f9968d106
Rename transform to applyTransform for geometries
2014-05-02 09:27:53 -06:00
Andreas Hocevar
7271b50d5a
Simplify fires annotations
2014-05-01 22:17:56 +02:00
Tim Schaub
24498fa9d0
Defines in a namespace that can be required
...
For consistency, all defines are in the ol namespace. If they are to be moved to another namespace, they need to be requireable.
2014-04-30 09:14:10 -06: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
Frederic Junod
3c308af91f
Merge layerFilter option into layers
2014-04-29 08:58:55 +02:00
Frederic Junod
2c7282d4e9
Remove layer option from ol.interaction.Select
...
Fixes #1991
2014-04-29 08:56:29 +02:00
Frederic Junod
68773941d3
Use goog.array.contains instead of goog.array.indexOf
2014-04-26 08:31:40 +02:00
Éric Lemoine
f9c0f12f23
Remove skippeFeatures collection
2014-04-24 20:58:50 +02:00
Frederic Junod
ef27f14376
Remove undefined type from opt_target and opt_file
2014-04-14 12:01:48 +02:00
Frederic Junod
756f407ef4
Add file propery to ol.interaction.DragAndDropEvent
2014-04-14 10:47:57 +02:00
Tim Schaub
12840aa49f
Merge pull request #1976 from tschaub/pointerup-return
...
Required return from event handler.
2014-04-10 06:52:13 -06:00
Antoine Abt
050f0cede6
Merge pull request #1974 from tonio/selectfeature
...
Automatically skip features on select’s collection changes
2014-04-10 14:41:52 +02:00
Tim Schaub
e72b383976
Required return from event handler
2014-04-10 06:32:27 -06:00
Antoine Abt
5147a0b060
Automatically skipFeatures on select’s collection changes
2014-04-10 14:24:39 +02:00
Frédéric Junod
c2bd829a5f
Merge pull request #1975 from fredj/rotation-anchor
...
Rotate around arbitrary coordinate
2014-04-10 14:22:08 +02:00
Éric Lemoine
42adc23e86
Use ol.View2D#rotate in Interaction
2014-04-10 14:05:18 +02:00
Éric Lemoine
baca25ed95
Fix bug at modify interaction construction time
...
This fixes a bug that occurs when the modify interaction is configured with a non-empty collection of features.
2014-04-10 11:00:00 +02:00
Éric Lemoine
ce0b1d2a47
Use goog.functions.identity where it makes sense
2014-04-07 16:59:04 +02: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
bf06129256
Initialize snappedToVertex_
2014-04-04 14:11:02 +02:00
ahocevar
523b51d69a
Add missing goog.requires; fix types and a typo
2014-04-04 14:05:19 +02:00