Commit Graph

14953 Commits

Author SHA1 Message Date
Andreas Hocevar 0e14639633 Update docs for changes proposed in #2684 2014-09-04 21:01:50 -06:00
Andreas Hocevar ebe3b48e0a Rename ol.Observable#dispatchChangeEvent() to #changed()
Since dispatchChangeEvent does not only dispatch a change event, but
also increases the revision counter, the method name should reflect
this.
2014-09-04 19:30:48 -06:00
Andreas Hocevar 2876902333 Merge pull request #2681 from ahocevar/xyz-tilesize
Make tileSize a config option for ol.source.XYZ
2014-09-04 14:21:46 -06:00
Andreas Hocevar 88c30795d3 Doc improvements 2014-09-04 13:20:25 -06:00
Andreas Hocevar ec00cd3222 Make tileSize a config option for ol.source.XYZ 2014-09-04 11:59:43 -06:00
Andreas Hocevar 0c36d7606b No need to have a mutable_ flag
Instead, educate users to call setStyle.
2014-09-04 11:47:32 -06:00
Frédéric Junod 5de537001f Merge pull request #2534 from fredj/polygon-api
Document ol.geom.Polygon#getLinearRing function
2014-09-04 17:57:12 +02:00
Andreas Hocevar 13d84e75ad Additional documentation 2014-09-03 18:31:01 -06:00
Andreas Hocevar a50f6d7a2f Mutable symbolizer properties for style functions
This change adds setters for symbolizer properties. In addition, it
introduces a mutable flag on all styles. By default, this is set to
true. ol.style.createStyleFunction sets it to false for all static
styles.

The new setters assert that the mutable flag is true, so whenever an
application tries to set a symbolizer property on a style that was
assigned to a vector layer or feature overlay, the assertion will fail.
2014-09-03 16:57:50 -06:00
Éric Lemoine e854d16646 Merge pull request #2677 from gberaudo/export_text_style_offsets
Add TextStyle offsets getters to API.
2014-09-03 17:30:14 +02:00
Guillaume Beraudo 9adb12846c Add TextStyle offsets getters to API.
The other properties getters are in the API already.
2014-09-03 17:21:27 +02:00
Frédéric Junod f188cfd384 Merge pull request #2676 from fredj/featureoverlay-style
ol.FeatureOverlay: use the feature style if defined
2014-09-03 16:46:49 +02:00
Frederic Junod 9a23778d50 Use a custom style for the position feature 2014-09-03 16:34:28 +02:00
Frederic Junod eecb5770a5 Use the feature style if defined
Same behavior as ol.layer.Vector
2014-09-03 16:34:28 +02:00
Frédéric Junod b87a50726c Merge pull request #2656 from fredj/image-layer-source-type
Set ol.layer.Image#getSource return type to ol.source.Image
2014-09-03 14:23:55 +02:00
Frederic Junod d7ee71a811 Remove unnecessary type cast 2014-09-03 11:14:33 +02:00
Frederic Junod b366407038 Set ol.layer.Tile#getSource return type to ol.source.Tile 2014-09-03 11:14:33 +02:00
Frederic Junod 009cd9f840 Remove unnecessary type cast 2014-09-03 11:14:33 +02:00
Frederic Junod 0e964cb84c Set ol.layer.Image#getSource return type to ol.source.Image 2014-09-03 11:14:33 +02:00
Frederic Junod 568f854f29 Add olx.layer.ImageOptions typedef 2014-09-03 11:14:33 +02:00
Frédéric Junod aa618e35e4 Merge pull request #2651 from gberaudo/layer_vector_source_specialisation
ol.layer.Vector.getSource return type specialisation.
2014-09-03 11:14:02 +02:00
Frédéric Junod 2470f21b4c Merge pull request #2669 from fredj/bad-commit
Revert "snapshot"
2014-09-02 16:17:18 +02:00
Frederic Junod ad8cc3c1e0 Revert "snapshot"
This reverts commit 47fd7d8626.
2014-09-02 16:13:34 +02:00
Frederic Junod 47fd7d8626 snapshot 2014-09-02 16:11:31 +02:00
Frederic Junod 4a21ad566a Remove unnecessary type cast 2014-09-02 15:17:32 +02:00
Guillaume Beraudo da2a291208 ol.layer.Vector.getSource return type specialisation. 2014-09-02 15:14:01 +02:00
Frédéric Junod 62dfc15bd5 Merge pull request #2663 from fredj/geolocation-tracking-error
Set tracking property to false on geolocation error
2014-09-02 12:34:23 +02:00
Frederic Junod 4969c2cf34 Set tracking property to false on geolocation error 2014-09-02 11:13:06 +02:00
Éric Lemoine bcf5421541 Merge pull request #2662 from gingerik/delegate-transformation
Delegate transformation in ol.source.FormatVector#readFeatures to `ol.format.*`
2014-09-01 08:14:07 +02:00
Erik Timmers 1da5be6ffb Delegate transformation to ol.format.*
Fixes #2604.
2014-09-01 07:22:17 +02:00
Tim Schaub 273ba5fb00 Merge pull request #2447 from lazaruslarue/patch-1
Correct documentation typo.
2014-08-30 22:18:21 -06:00
Éric Lemoine 36e5fb8bdc Merge pull request #2660 from elemoine/domain
New domain in the build header
2014-08-29 17:50:31 +02:00
Éric Lemoine ff6da7ed79 New domain in the build header 2014-08-29 17:27:52 +02:00
Éric Lemoine 5df0b4ec3b Merge pull request #2641 from elemoine/sphere
Add @api to ol.Sphere
v3.0.0
2014-08-29 12:10:00 +02:00
Éric Lemoine f7f4c7b686 Remove @api annotation from ol.sphere.WGS84 2014-08-29 11:57:44 +02:00
Éric Lemoine ad8a1f5fb6 Make tissot example use ol.Sphere 2014-08-29 11:57:44 +02:00
Éric Lemoine f452f5545a Add @classdesc to ol.Sphere 2014-08-29 11:57:44 +02:00
Éric Lemoine 91b567293e Merge pull request #2652 from fredj/collection-doc
Improve ol.Collection documentation
2014-08-29 11:49:28 +02:00
Éric Lemoine 40fb661864 Add @api to ol.Sphere 2014-08-29 11:22:08 +02:00
Andreas Hocevar 90604fab2a Merge pull request #2644 from ahocevar/extends-externs
Add @extends annotations to generated externs
2014-08-29 10:49:42 +02:00
Éric Lemoine 5c88d8d84e Merge pull request #2655 from tschaub/new-domain
Using the openlayers.org domain
2014-08-29 08:16:12 +02:00
Frederic Junod aa40504dd5 Improve ol.Collection documentation 2014-08-29 07:27:35 +02:00
Tim Schaub fc13499f31 Using the openlayers.org domain 2014-08-28 16:15:41 -06:00
Andreas Hocevar f724cb65bc Add base classes to info.json and generated externs
This ensures that the inheritance chain is intact, even if the base
class is not exportable.
2014-08-28 19:02:49 +02:00
Éric Lemoine 41ee554969 Merge pull request #2629 from elemoine/apistable-format
Add @api stable annotations to ol.format
2014-08-28 17:37:06 +02:00
Éric Lemoine 00bf5462ba Merge pull request #2609 from elemoine/view-stability
Annotate stable view functions and options
2014-08-28 17:36:49 +02:00
Éric Lemoine 1152b0327b Merge pull request #2612 from elemoine/proj-stability
Add @api stable annotations to ol.proj
2014-08-28 17:19:24 +02:00
Éric Lemoine 7c9c4c6462 Merge pull request #2614 from elemoine/tilegrid-stability
Add @api stable annotations tilegrid functions and options
2014-08-28 17:16:18 +02:00
Éric Lemoine b099ac8e32 Merge pull request #2622 from elemoine/apistable-condition
Add @api stable annotations to ol.events.condition
2014-08-28 17:13:03 +02:00
Éric Lemoine f8b9896dd3 Add @api stable annotations to Feature format 2014-08-28 17:10:25 +02:00