Andreas Hocevar
d163f60e34
Make sure that opt_layout is listed as optional
2014-05-15 20:29:16 +02: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
0d10314d4f
Make sure that ol.source.wms.ServerType is documented
2014-05-15 17:06:19 +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
Frederic Junod
b42f4e1b0c
Change ol.ENABLE_NAMED_COLORS to be false by default
2014-05-15 08:59:47 +02:00
Tim Schaub
3a0efe83c5
Update map example
2014-05-14 15:11:12 -06:00
Tim Schaub
df05e9da11
Fire moveend only once after view settles
2014-05-14 14:23:31 -06:00
Tim Schaub
ab9d42f2cd
Merge pull request #2067 from tschaub/touches
...
Do less work while processing touch events.
2014-05-14 01:05:22 -06:00
Bart van den Eijnden
28f21e44c1
Merge pull request #2059 from bartvde/draw-geometryname
...
Add geometryName option to ol.interaction.Draw (r=@elemoine)
2014-05-14 08:51:59 +02:00
Bart van den Eijnden
945f5008f5
Ability to specify geometryName on ol.interaction.Draw
2014-05-14 08:35:27 +02:00
Tim Schaub
b860ec7a06
Do less work while processing touch events
2014-05-13 23:06:27 -06:00
Tim Schaub
57a6fbf416
Call resetClickCountHandler_ with proper this argument
2014-05-13 17:41:58 -06:00
Bart van den Eijnden
0a3031a165
Ability to specify gmlOptions (e.g. srsName) in WFS transactions
2014-05-13 13:10:18 +02:00
Bart van den Eijnden
4780d17059
Export readFeatures on FormatVectorSource
2014-05-12 10:37:41 +02:00
Éric Lemoine
6758e0905b
Fix icon rendering on hidpi devices
2014-05-09 08:44:23 +02:00
Frederic Junod
e1436b25e0
Export ol.BrowserFeature.HAS_WEBGL
2014-05-08 08:57:29 +02:00
Éric Lemoine
a189c4a68a
Merge pull request #2047 from elemoine/snaptopixel
...
Set snapToPixel to true by default
2014-05-07 23:02: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
Éric Lemoine
511e3f7810
Avoid defining default values at multiple locations
2014-05-07 09:58:56 +02:00
Éric Lemoine
6cd403945a
Set snapToPixel defaut value to true
2014-05-07 09:58:56 +02:00
Andreas Hocevar
e6dbb61d68
Document raw geometry types
2014-05-06 12:45:53 -05:00
Andreas Hocevar
436bbdecd0
Document ol.Pixel
2014-05-06 12:45:53 -05:00
Éric Lemoine
596e06ed4e
Merge pull request #2042 from elemoine/circle
...
Use correct circle canvas size
2014-05-06 18:37:31 +02:00
Éric Lemoine
c974612cc5
Use actual circle canvas size
2014-05-06 16:38:07 +02:00
Antoine Abt
a51e834fef
Merge pull request #2027 from tonio/rotate
...
Add a rotate control
2014-05-06 15:36:01 +02:00
Tim Schaub
454fc873f6
Merge pull request #2039 from tschaub/defines
...
Add info on defines to general build metadata.
2014-05-05 09:07:12 -07:00
Tim Schaub
d069f955f8
Document boolean defines as positive assertions
2014-05-05 07:41:53 -07:00
Tim Schaub
48828a238a
Generate metadata for boolean defines in addition to exportable symbols
2014-05-05 07:14:23 -07:00
Éric Lemoine
a7aab4eb47
Make Immediate API use ol.style.Image "origin"
2014-05-05 09:56:12 +02:00
Éric Lemoine
562d74dbed
Make Replay API use ol.style.Image "origin"
2014-05-05 09:55:58 +02:00
Éric Lemoine
a62fd53d36
Add "origin" option to ol.style.Image
2014-05-05 09:30:35 +02: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
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
0b8f1e8944
Mark applyTransform as part of the API for all geometries
2014-05-02 13:24:04 -06:00
Tim Schaub
e448f100fd
Add a transform method to geometries
...
This accepts CRS identifiers for source and destination, transforms the geometry in place, and returns a reference to the geometry.
2014-05-02 11:47:59 -06: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
Tim Schaub
015aab8af3
Rename ol.extent.transform to ol.extent.applyTransform
...
This gives more consistency with ol.proj.applyTransform, allowing us to add a more convenient ol.extent.transform method that takes projection-like arguments.
2014-05-02 10:13:28 -06:00
Tim Schaub
4f9968d106
Rename transform to applyTransform for geometries
2014-05-02 09:27:53 -06:00
Antoine Abt
603be52b1a
Remove useless test in default controls
2014-05-02 14:12:31 +02:00
Antoine Abt
0bec5b5590
Add base control class, to simplify stylesheet
2014-05-02 14:12:31 +02:00
Antoine Abt
04fd0ecf53
Add rotate control to defaults.
2014-05-02 14:12:31 +02:00
Antoine Abt
229ae5e883
Add rotate control
...
- displayed when rotation ≠ 0
- reset rotation on click
2014-05-02 14:12:31 +02:00
Frédéric Junod
0cd33ebfe9
Merge pull request #1926 from fredj/cache-anchor
...
Compute anchor value only once
2014-05-01 23:23:18 +02:00
Andreas Hocevar
8e387f385a
Add missing namespace annotation
2014-05-01 22:17:57 +02: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
Tim Schaub
cec41c4b0a
Add missing requires
...
Without explicit requires, it is possible that a build would exclude ol.js.
2014-04-30 08:37:52 -06:00
Tim Schaub
3f0da11008
Move ol defines from browserfeature.js to ol.js
2014-04-30 08:24:00 -06:00