Commit Graph

7615 Commits

Author SHA1 Message Date
Éric Lemoine
89a03bfb09 Merge pull request #2155 from probins/rendersync
Document Map.render() and Map.renderSync()
2014-06-02 14:08:44 +02:00
Peter Robins
17b4cea96d Document Map.render() and Map.renderSync() 2014-06-02 06:21:54 -04:00
Frédéric Junod
e5a522f484 Merge pull request #2133 from fredj/ol.ObjectEvent.key
Export ol.ObjectEvent#key property
2014-06-02 11:27:25 +02:00
oterral
f3be970f17 Add getTileLoadFunction and setTileLoadFunction in ol.source.TileImage 2014-06-02 11:23:53 +02:00
oterral
c4f7ebb571 Add getTileUrlFunction in ol.source.TileImage 2014-06-02 11:13:03 +02:00
Éric Lemoine
c4c05bd205 Merge pull request #2112 from elemoine/iconload
Icon image loading related exports
2014-06-02 08:25:45 +02:00
Éric Lemoine
4981cde729 Add "img" option to ol.style.Icon 2014-06-02 07:56:34 +02:00
Tim Schaub
08ae509a7f Export method to get resolution for extent and size
While this is straightforward to calculate, this method adds convenience.
2014-05-29 11:21:31 -06:00
Peter Robins
2683f08bd2 Clarify that ol.Coordinate is for xy coordinates
Docs only; no logic change
2014-05-28 17:40:23 +01:00
Frédéric Junod
3bf1b36a72 Merge pull request #2119 from fredj/apidoc
Mark ol.format.GPX#readProjection as a function
2014-05-28 18:22:42 +02:00
Bart van den Eijnden
409ef2d19a Export ol.format.GML#writeFeatures 2014-05-28 16:28:06 +02:00
Frederic Junod
c4d7fd8137 Add the jsdoc ol.extent namespace 2014-05-28 09:47:49 +02:00
Frederic Junod
b3de1b927a Export ol.ObjectEvent#key property 2014-05-28 09:18:59 +02:00
Hadrien Tulipe
0bae61ffe3 Rename Map.DEFAULT_RENDER_HINTS to Map.DEFAULT_RENDERER_TYPES 2014-05-27 22:47:02 +02:00
Hadrien Tulipe
7aab28afcc Provide ol.RendererType structure through ol.renderer.Map
It was previously in ol.Map, but it could not be provided because
of circular dependencies.
2014-05-27 22:47:02 +02:00
Hadrien Tulipe
2e587c1be8 Rename ol.RendererHint to ol.RendererType 2014-05-27 22:47:02 +02:00
Hadrien Tulipe
1d6f9ca80b Expose the map renderer type to the public API
In the case  where the map decides itself which renderer to use. It can
be convenient for the developer to have knowledge of the choice made.
2014-05-27 22:47:02 +02:00
Éric Lemoine
afce8e8f5f Fix bug in ol.FeatureOverlay
This fixes a major regression introduced by db5b443 (#2028), where the FeatureOverlay won't draw features that do not have an image style.
2014-05-27 16:22:37 +02:00
Andreas Hocevar
cc1b7cac48 Merge pull request #2125 from ahocevar/loadingstrategy-docs
Make loading strategies appear in the docs
2014-05-27 15:59:10 +02:00
Bart van den Eijnden
0989f75e34 Merge pull request #2124 from bartvde/gmlwfs
readFeatures on ol.format.WFS is not exported (r=@fredj)
2014-05-27 15:42:31 +02:00
Frédéric Junod
fb955ace0c Merge pull request #2123 from fredj/export-osmxml
Export ol.format.OSMXML#readFeatures and ol.format.OSMXML#readProjection
2014-05-27 15:40:35 +02:00
Andreas Hocevar
45805f7158 Make loading strategies appear in the docs 2014-05-27 15:38:31 +02:00
Bart van den Eijnden
86b9a8869b Exports for ol.format.GML and ol.format.WFS 2014-05-27 15:30:46 +02:00
Frederic Junod
2bd1234359 Export ol.format.OSMXML#readProjection 2014-05-27 14:31:27 +02:00
Frederic Junod
4c9463cdcc Export ol.format.OSMXML#readFeatures 2014-05-27 14:31:27 +02:00
oterral
db5b443bbd Load the icon when needed in ol.FeatureOverlay 2014-05-27 09:17:38 +02:00
Frederic Junod
47f99f64ef Mark ol.format.GPX#readProjection as a function 2014-05-27 08:30:48 +02:00
Andreas Hocevar
605b8278ea Do not make ol.style.Image exportable
Application developers should use its subclasses.
2014-05-26 19:26:58 +02:00
Frederic Junod
c15987a14d Add constrainCenter documentation 2014-05-26 13:44:01 +02:00
Frederic Junod
824302349d Export ol.View2D.prototype.constrainCenter function 2014-05-26 13:37:33 +02:00
Éric Lemoine
8cd5f6d642 Merge pull request #2109 from elemoine/visibleandinrange
Hit detection respects min and maxResolution
2014-05-25 14:43:44 +02:00
Éric Lemoine
fd8a46dcae Hit detection respects min and maxResolution 2014-05-25 14:35:07 +02:00
Tim Schaub
a2b81d6bd0 Disallow adding the same feature twice 2014-05-23 16:52:11 -06:00
Tim Schaub
652f11cefa Provide a method for retrieving features by id 2014-05-23 16:35:07 -06:00
Tim Schaub
34cabd1579 Dispatch change on feature id change 2014-05-23 16:35:06 -06: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
f903849882 Remove all docstrings from oli.js
Instead, make sure that the properties are documented in the
implementing class.
2014-05-22 18:00:10 +02:00
Andreas Hocevar
547334e211 Move oli.* stability notes to the corresponding ol.* symbol 2014-05-22 16:01:35 +02:00
Andreas Hocevar
eb6a938062 Do not document object literals as interfaces
Instead, object literals with properties that should not be
renamed can go in externs/olx.js.
2014-05-22 15:48:47 +02:00
Bart van den Eijnden
28d122e21e Write out valid WFS Transaction XML and ability to specify srsName 2014-05-21 17:58:53 +02:00
Tim Schaub
98193c0336 Merge pull request #2098 from tschaub/empty-feature
Do not set geometry by default.
2014-05-21 09:52:09 -06:00
Frédéric Junod
9e7bfda9f7 Merge pull request #2096 from fredj/unused-require
Remove unused goog.require
2014-05-21 17:36:29 +02:00
Tim Schaub
9341e98374 Merge pull request #2093 from bjornharrtell/fix_opt_dest2
Assign to provided array instead of pushing when getting a linestring midpoint.
2014-05-21 09:28:06 -06:00
Tim Schaub
a4d31147bc Do not set geometry by default
A feature can have a geometry whose value is an ol.geom.Geometry instance or null.  A feature can also have no geometry property.  By default, a feature has no geometry property.  To set a geometry, one can be passed to the constructor (including null) or passed to setGeometry().
2014-05-21 09:16:54 -06:00
Bart van den Eijnden
8eef633abc Ability to specify geometryName on ol.format.GeoJSON 2014-05-21 16:44:18 +02:00
Frederic Junod
2f918ea2a4 Remove unused goog.require 2014-05-21 16:06:32 +02:00
Björn Harrtell
ce40a142fa opt_dest should be assigned to not pushed 2014-05-21 12:02:26 +02:00
Frederic Junod
b2ab73e78b Remove unused goog.require 2014-05-21 09:46:49 +02:00
Frederic Junod
8239a5c92a Document ol.coordinate functions 2014-05-20 14:15:28 +02:00
Frederic Junod
ae7291d9f1 Add the jsdoc ol.coordinate namespace 2014-05-20 13:58:17 +02:00