Commit Graph

14798 Commits

Author SHA1 Message Date
Paul Spencer 7d8dbbc7cc Remove getSimplifiedGeometry from ol.geom.Circle
The `getSimplifiedGeometry` method is unnecessary as
`ol.geom.SimpleGeometry`'s default implementation is to do the
same thing (return `this`).
2014-06-09 14:37:39 -04:00
Tim Schaub 2a42e7736a Merge pull request #2178 from probins/classdesc
Use @classdesc notation.
2014-06-09 11:18:14 -06:00
Peter Robins 41d9f0360a Add @classdesc to classes 2014-06-09 12:10:19 -04:00
É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
Peter Robins e08a98b624 Add classdesc to gjslint custom tags 2014-06-08 04:43:09 -04:00
Peter Robins 72dd59f554 Remove olx and interfaces from docs sidebar 2014-06-07 09:46:05 -04: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
tsauerwein d0e818e8ce Add condition to draw interaction 2014-06-06 15:54:38 +02:00
tsauerwein 0a939c6554 Export condition singleClick and mouseOnly 2014-06-06 15:17:06 +02:00
tsauerwein 88197360c1 Add example combining draw and modify interaction 2014-06-06 15:17:06 +02:00
Peter Robins acd03b0a46 Change @class docs tag to @classdesc 2014-06-06 05:28:24 -04: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
Antoine Abt 09719bdc70 Fixes button handlers event type 2014-06-06 09:32:39 +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
Antoine Abt 75cd5572aa Restore control’s keyboard navigation 2014-06-04 16:55:02 +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
Peter Robins 474fc8f4a6 Add docs link to loadingstrategy 2014-06-02 09:58:04 -04: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