Commit Graph

4518 Commits

Author SHA1 Message Date
Tim Schaub
2fc15a5bf0 As it is currently used, opt_options is not optional
It would be nice if the compiler would warn us of things like this (accessing properties of undefined).
2014-02-07 13:48:32 -07:00
Éric Lemoine
5227d01572 Merge pull request #1660 from oterral/fix_drawend
Fix the feature sent  with the drawend event
2014-02-07 14:27:36 +01:00
Tom Payne
3d1e4db8ff Merge pull request #1658 from twpayne/vector-context-api-stability
Add API stability to ol.render.IVectorContext
2014-02-07 14:03:14 +01:00
oterral
3bb90c5b4c Send the feature drawn with the drawend event 2014-02-07 13:45:13 +01:00
Tom Payne
b0c6fd7502 Add API stability to ol.render.IVectorContext 2014-02-06 22:51:15 +01:00
Tom Payne
dade8e4e1a Don't export ol.proj.Units 2014-02-06 22:44:17 +01:00
Tom Payne
b901fba742 Allow ol.proj.Projection units option to be a string 2014-02-06 22:42:36 +01:00
Tom Payne
37d5a4af65 Don't export ol.source.wms.ServerType 2014-02-06 22:36:47 +01:00
Tom Payne
d4ebfac74a Allow ol.source.{Image,Tile}WMS serverType option to be a string 2014-02-06 22:33:42 +01:00
Tom Payne
3408b8b835 Don't export ol.source.State 2014-02-06 22:33:42 +01:00
Tom Payne
88c8783271 Allow ol.source.Source state option to be a string 2014-02-06 22:33:42 +01:00
Tom Payne
e53d7e954b Don't export ol.control.ScaleLineUnits 2014-02-06 22:33:42 +01:00
Tom Payne
84fd853dc1 Allow ol.control.ScaleLine units option to be a string 2014-02-06 22:33:37 +01:00
Tom Payne
2cef7b98fd Don't export ol.OverlayPositioning 2014-02-06 22:33:36 +01:00
Tom Payne
dc2bb57d18 Allow ol.Overlay positioning option to be a string 2014-02-06 22:33:32 +01:00
Tom Payne
14f40e6f47 Don't export ol.RendererHint 2014-02-06 22:33:32 +01:00
Tom Payne
8701942d40 Merge pull request #1655 from twpayne/vector-context
Rename IRender to IVectorContext
2014-02-06 18:52:53 +01:00
Éric Lemoine
261832c629 Merge pull request #1657 from elemoine/renderer
Do not expose both renderer and renderers options
2014-02-06 18:37:27 +01:00
Tom Payne
09d5d31fc7 Rename ol.render.IRender to ol.render.IVectorContext 2014-02-06 18:03:27 +01:00
Éric Lemoine
57f77bb444 Merge pull request #1638 from elemoine/featureoverlay
Rename ol.render.FeaturesOverlay to ol.FeatureOverlay
2014-02-06 18:00:09 +01:00
Éric Lemoine
09beba69ad Remove the map renderers option 2014-02-06 16:56:15 +01:00
Tom Payne
f1276e86a1 Add projection option to ol.source.IGC 2014-02-06 16:48:42 +01:00
Antoine Abt
8f9e2ea88d Merge pull request #1649 from tonio/geometrycollection_change
Make GeometryCollection propagate change events of its geometries.
2014-02-06 16:33:13 +01:00
Antoine Abt
f2c18fafb8 Make GeometryCollection dispatch change event'
When one of its component changes.
2014-02-06 15:55:02 +01:00
Éric Lemoine
45495869a5 Merge pull request #1653 from elemoine/select-options
Passing options to the select interaction is mandatory
2014-02-06 15:24:51 +01:00
Éric Lemoine
90155ad519 Passing options to the select interaction is mandatory 2014-02-06 15:07:08 +01:00
Tom Payne
b5da2d387b Merge pull request #1651 from twpayne/fix-rbush-remove
Fix ol.structs.RBush#remove
2014-02-06 13:56:24 +01:00
Tom Payne
2993efb04f Ensure MultiPolygons are rendered if only one of fill and stroke are set 2014-02-06 13:50:22 +01:00
Éric Lemoine
c2d0cab07a Add tests for ol.style.IconImageCache 2014-02-06 12:59:39 +01:00
Éric Lemoine
d13d2fdc6a Remove a FIXME 2014-02-06 12:59:39 +01:00
Éric Lemoine
63aadc5c0f Factor out icon image loading code 2014-02-06 12:59:39 +01:00
Éric Lemoine
f9e04ad7d5 Use ol.renderer.Map#scheduleExpireIconCache 2014-02-06 12:59:39 +01:00
Éric Lemoine
b43dd6db44 Add ol.renderer.Map#scheduleExpireIconCache 2014-02-06 12:59:39 +01:00
Éric Lemoine
c2fe25ee26 Use the icon image cache 2014-02-06 12:59:39 +01:00
Éric Lemoine
065663b242 Introduce an icon image cache 2014-02-06 12:59:38 +01:00
Éric Lemoine
bf8520096e Vector image source uses new image style interface 2014-02-06 12:59:38 +01:00
Éric Lemoine
78aef2f58c Vector renderer uses new image style interface 2014-02-06 12:59:38 +01:00
Éric Lemoine
3626ff5b16 Icon images are handled by a separate class 2014-02-06 12:59:38 +01:00
Tom Payne
286284b0c4 Move remove from ol.structs.RBush to ol.structs.RBushNode 2014-02-06 12:48:52 +01:00
Tom Payne
7f64a09e3c Return, and check, boolean value from ol.structs.RBush#remove indicating whether value was removed 2014-02-06 12:48:51 +01:00
Tom Payne
09326519d3 Replace faulty iterative ol.structs.RBush#remove with less faulty recursive version 2014-02-06 12:48:51 +01:00
Frederic Junod
ce721bc42f Assert that an element is removed in ol.structs.RBush#remove_ 2014-02-06 12:48:51 +01:00
Tom Payne
3436c7e6f9 Fix capitalisation of ol.Map in docs 2014-02-05 17:12:35 +01:00
Éric Lemoine
40276ab6ba Merge pull request #1216 from probins/keyboard
Clarify keyboard events and focus in docs
2014-02-05 16:14:04 +01:00
Tom Payne
0b4b6e2a75 Merge pull request #1639 from twpayne/kml-ie9
KML support for Internet Explorer
2014-02-05 14:23:07 +01:00
Éric Lemoine
7fb2088a22 Merge pull request #1623 from elemoine/1623
ol.interaction.DragBox.getGeometry returns non-closed polygon
2014-02-04 22:10:11 -08:00
Tim Schaub
c038c0cb06 Merge pull request #1640 from tschaub/reproject
Use projection option instead of reprojectTo for vector file sources.  The projection of the vector source represents the projection of the cached features.
2014-02-04 17:07:59 -08:00
Hadrien Tulipe
b5fefc9ab3 Supprt parsing of kml:datetime (#1585)
This commit modifies the previous regex used to match following
datetimes:

- 2014
- 2014-02
- 2014-02-15

The new regex also matches dates that were matched by the previous
regex.

This commit also include a unit test for kml:dateTime parsing.
2014-02-04 22:36:42 +01:00
Tom Payne
a769bba65e Don't use getResponseXml() on IE 2014-02-04 22:20:45 +01:00
Tom Payne
91e9b82fe1 Use ol.xml.getLocalName in ol.format.KML 2014-02-04 22:20:45 +01:00