Commit Graph

13935 Commits

Author SHA1 Message Date
Éric Lemoine be62e75714 Change sourceDir to src/ in generate-info.js
This is to accomodate the case where other directories than "ol" include "api" annotations. For example, the Swisstopo geoadmin folks extend OpenLayers 3 in an ol3 fork, and they have their own "ga" namespace/directory under "src". See https://github.com/geoadmin/ol3/tree/master/src.
2014-06-09 10:20:50 +02:00
Tim Schaub ee38f8fc2f Merge pull request #2033 from htulipe/map-renderer-type
Expose map renderer type in the API.
2014-06-06 14:13:50 -06:00
Frédéric Junod 70e3cb3598 Merge pull request #2170 from fredj/collection-item
Rename ol.Collection#getAt to ol.Collection#item
2014-06-06 10:13:46 +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
Éric Lemoine ba060ccc50 Merge pull request #2113 from GeoDienstenCentrum/improve-a11y-example
Enhance and improve the accessibility example
2014-06-05 14:27:14 +02:00
Éric Lemoine afecbb7ea0 Merge pull request #2164 from oterral/sprite
Allow the use of sprite image in KML
2014-06-05 14:23:56 +02:00
oterral b4851e7927 Add ol.format.KML test for complex IconStyle 2014-06-05 08:40:08 +02:00
oterral 2961970f59 Add ol.style.Icon tests for getAnchor and getOrigin 2014-06-05 08:40:00 +02:00
Bart van den Eijnden 5645eab850 Merge pull request #2165 from bartvde/ie-xml-write
Make sure WFS format writing works correctly in IE9+ (r=@tschaub)
2014-06-04 15:03:56 +02:00
Bart van den Eijnden 87ea5fabdd Make sure WFS format writing works correctly in IE9+ 2014-06-04 12:29:24 +02:00
oterral 0b17d9aeb5 Add parsing of gx:x, gx:y, gx:w and gx:h tags in KML format 2014-06-04 11:15:13 +02:00
oterral 71951b8bbd Add offset and offsetOrigin in ol.style.Icon 2014-06-04 11:15:13 +02:00
Tim Schaub 38d8799a01 Merge pull request #2161 from tschaub/exports
Map event and vector source exports.
2014-06-03 16:29:18 -06:00
Tim Schaub a9fc53e8da Make frameState property of ol.MapEvent exportable 2014-06-03 12:45:45 -06:00
Tim Schaub 0f04236fc4 Make map property of ol.MapEvent exportable 2014-06-03 12:45:03 -06:00
Tim Schaub 559feba1ed Add interface for map events so properties can be disambiguated 2014-06-03 12:43:45 -06:00
Tim Schaub 13d964488f Make getFeatureById method exportable 2014-06-03 11:42:47 -06:00
mprins a6d26c53e1 Enhance and improve the accessibility example.
Changes to improve the accessibility example:

 - remove the `accesskey` attributes. Use of the `accesskey` is generally not recommended as it tends to cause conflicts with AT software and user settings.
 - Change the scripted "Go to map" accesskey to a regular skiplink.
 - Use script to inject the buttons below the map, if the map were to fail for lack of javascript support the buttons should not be there either. These should be buttons (and not hyperlinks) because they provide an action not a navigation.
 - Update the docs.
 - Add an empty `alt` attribute to the logo since it is strictly decorative (this should probably be done sitewide - which IMO is out of scope for this PR)
2014-06-03 09:28:43 +02:00
Éric Lemoine 73bfd326d0 Merge pull request #2156 from elemoine/featureoverlaytests
Add ol.FeatureOverlay tests
2014-06-02 14:16:47 +02:00
Éric Lemoine 0b4f463697 Merge pull request #2121 from oterral/utils_func_cache
Add getters and setters for TileUrlFunction and TileLoadFunction properties
2014-06-02 14:09:24 +02:00
Éric Lemoine 89a03bfb09 Merge pull request #2155 from probins/rendersync
Document Map.render() and Map.renderSync()
2014-06-02 14:08:44 +02:00
Éric Lemoine 85835a977b Add ol.FeatureOverlay tests 2014-06-02 14:05:06 +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 dc3876e643 Merge pull request #2150 from probins/patch-1
Update year in LICENSE
2014-06-02 07:58:24 +02:00
Éric Lemoine 4981cde729 Add "img" option to ol.style.Icon 2014-06-02 07:56:34 +02:00
Peter Robins 0865f73448 Update year in LICENSE 2014-05-31 11:35:37 +01:00
Tim Schaub 3573697410 Merge pull request #2140 from probins/patch-3
Apidoc readme: clarify exportable methods.
2014-05-30 15:18:22 -06:00
Peter Robins 470ef992b7 Apidoc readme: clarify exportable methods 2014-05-30 12:13:19 -04:00
Tim Schaub 1013f8d2ba Merge pull request #2142 from tschaub/res-for-extent
Export method to get resolution for extent and size.
2014-05-29 15:18:23 -06:00
Tim Schaub cda62c8a31 Merge pull request #2141 from probins/patch-5
Clarify compiler exports in tasks readme.
2014-05-29 13:00:18 -06: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 c1037ad3ee Clarify compiler exports in tasks readme 2014-05-29 14:43:30 +01:00
Tim Schaub ba004e9f10 Merge pull request #2139 from probins/patch-2
Improvements to externs readme.
2014-05-29 07:13:21 -06:00
Peter Robins 8dc3b95194 Improvements to externs readme 2014-05-29 11:21:42 +01:00
Bart van den Eijnden b6e0195c9b Merge pull request #2137 from probins/patch-1
Clarify that ol.Coordinate is for xy coordinates
2014-05-28 20:04:44 +02: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 dd960b05c6 Merge pull request #2135 from bartvde/gml-write-export
Export ol.format.GML#writeFeatures
2014-05-28 18:16:53 +02:00
Bart van den Eijnden 409ef2d19a Export ol.format.GML#writeFeatures 2014-05-28 16:28:06 +02:00
Frédéric Junod 1d2543ba6f Merge pull request #2134 from fredj/jsdoc-extent
Add the jsdoc ol.extent namespace
2014-05-28 10:20:47 +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