Commit Graph

5394 Commits

Author SHA1 Message Date
Éric Lemoine
18d117dff6 Hit detection for features drawn at pre/postcompose 2014-06-25 18:32:02 +02:00
Éric Lemoine
4f23ef66d0 Make ol.FeatureOverlay use replay group 2014-06-14 14:22:10 +02:00
Éric Lemoine
49a1215f75 Pass a replay group to ol.render.Event 2014-06-14 14:21:34 +02:00
Éric Lemoine
a2a06c745a Merge pull request #2185 from elemoine/imagevector
ol.source.ImageVector doesn't skip features
2014-06-11 17:42:49 +02:00
Éric Lemoine
7a1e605f14 Skipped features support to ol.source.ImageVector 2014-06-11 16:26:21 +02:00
Frederic Junod
e9e62bcf98 Better ol.structs.RBush#forEach documentation 2014-06-11 13:45:18 +02:00
Éric Lemoine
f0dbcfd541 Merge pull request #2114 from tsauerwein/draw-and-modify
Add example combining draw and modify interaction
2014-06-10 10:00:27 +02:00
Antoine Abt
5926611cd1 Merge pull request #2168 from tonio/keyboard_controls
Restore control’s keyboard navigation
2014-06-10 08:45:19 +02:00
Paul Spencer
50b63b4a30 Merge pull request #2179 from pagameba/remove-getsimplifiedgeometry
Remove getSimplifiedGeometry from ol.geom.Circle
2014-06-09 16:10:02 -04:00
Paul Spencer
c1ddc92cc8 Fix typo in comment 2014-06-09 15:17:14 -04:00
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
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
Peter Robins
acd03b0a46 Change @class docs tag to @classdesc 2014-06-06 05:28:24 -04: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
afecbb7ea0 Merge pull request #2164 from oterral/sprite
Allow the use of sprite image in KML
2014-06-05 14:23:56 +02:00
Antoine Abt
75cd5572aa Restore control’s keyboard navigation 2014-06-04 16:55:02 +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
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
É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
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