Commit Graph

15360 Commits

Author SHA1 Message Date
Frédéric Junod 95d295bc6b Merge pull request #2675 from fredj/map.getlayers
Remove undefined from ol.Map#getLayers return type
2014-09-08 16:30:47 +02:00
Frederic Junod c0c14cb09c Remove undefined from ol.Map#getLayers return type
It's already assumed that the collection is defined in ol.Map#addLayer
and ol.Map#removeLayer.
2014-09-08 15:47:14 +02:00
Éric Lemoine 96f7d6323a Change signature of ol.layer.Group#getLayers
This commit changes the signature of ol.layer.Group#getLayers from {ol.Collection.<ol.layer.Base>|undefined} to {!ol.Collection.<ol.layer.Base>}. In this way the caller is guaranteed that getLayers returns a dereferencable object.
2014-09-08 15:45:58 +02:00
Frédéric Junod bfef6ab075 Merge pull request #2692 from fredj/overlay-index
Unset z-index in overlay example
2014-09-08 15:20:28 +02:00
Frederic Junod 67a5b07a83 Unset z-index in overlay example 2014-09-08 15:01:19 +02:00
Frederic Junod 23745cd043 Use ol.LEGACY_IE_SUPPORT and ol.IS_LEGACY_IE define
See #1605
2014-09-06 17:52:13 +02:00
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
oterral 962f1eecc0 Set inherited values 2014-08-29 15:21:33 +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