Commit Graph

15529 Commits

Author SHA1 Message Date
Antoine Abt
9d591ba7ef Use Select interaction in modify interaction example. 2014-02-10 11:26:13 +01:00
Antoine Abt
e64766f01f Add support for GeometryCollection in modify interaction 2014-02-10 11:26:13 +01:00
Antoine Abt
a60203f931 Move segment writers in their own methods 2014-02-10 11:26:13 +01:00
Tim Schaub
ca0a6473c8 Merge pull request #1673 from tschaub/select-example
Clarify the style function signature.
2014-02-07 18:07:40 -07:00
Tim Schaub
5f81a3f745 Clarify the style function signature 2014-02-07 17:57:11 -07:00
Tim Schaub
d4ca02c92d Merge pull request #1670 from tschaub/draw-options
Options to draw interaction are not optional.
2014-02-07 17:18:41 -07:00
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
Tim Schaub
6db054353f Merge pull request #1663 from tschaub/popup
Fix popup anchor in icon example.
2014-02-07 11:26:07 -07:00
Tim Schaub
108b3266de Merge pull request #1665 from tschaub/roy-g-biv
Roy G. Biv.
2014-02-07 11:23:47 -07:00
Tim Schaub
ecf89b8e45 Merge pull request #1666 from tschaub/topojson-tweak
Don't render feature with all countries.
2014-02-07 11:22:55 -07:00
Tim Schaub
d288c5b4eb Don't render feature with all countries
The feature with undefined id is a multi-polygon representing all countries.  Instead of rendering all multi-polygons with a lower z-index, we just avoid rendering this single feature.
2014-02-07 11:09:45 -07:00
Tim Schaub
f3c764ce3c Roy G. Biv 2014-02-07 11:06:43 -07:00
Tim Schaub
2ad11608ce Anchor the popup to the top of the icon 2014-02-07 10:00:41 -07:00
Antoine Abt
ad1cec84a1 Add style for Geomettry Collection 2014-02-07 14:52:59 +01:00
Antoine Abt
1c4926b591 Ensure styles are defined in FeaturesOverlay 2014-02-07 14:52:59 +01:00
Antoine Abt
933ef64db1 Force remove vertexFeature when there’s no features left in FeaturesOverlay 2014-02-07 14:52:59 +01:00
Antoine Abt
fb637aedca Move variables declaration at the top 2014-02-07 14:52:59 +01:00
Antoine Abt
20ea1b5141 Bring MultiPolygons back in examples 2014-02-07 14:52:59 +01:00
Antoine Abt
a1d20182fe Make modify interaction use FeaturesOverlay
Instead of a whole map.
2014-02-07 14:52:58 +01:00
oterral
3155d681be Add modify feature interaction and its example 2014-02-07 14:52:57 +01: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
Tom Payne
b5617cd204 Merge pull request #1659 from twpayne/no-enums-in-examples
No enums in examples
2014-02-07 14:02:48 +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
55c99db238 Use string instead of ol.proj.Units enum in examples 2014-02-06 22:43:25 +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
ae215c7c0b Remove no-longer-needed typecasts 2014-02-06 22:33:42 +01:00
Tom Payne
0475705a49 Don't use ol.source.wms.ServerType enum in examples 2014-02-06 22:33:42 +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
901af3c15f Use string instead of ol.control.ScaleLineUnits enum in examples 2014-02-06 22:33:37 +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
9af436b5a0 Use string instead of ol.OverlayPositioning enum in examples 2014-02-06 22:33:32 +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
a58aa0a40d Use string instead of ol.RendererHint enum in examples 2014-02-06 22:33:25 +01:00
Tom Payne
41f193e8b9 Allow ol.Map renderer option to be a string 2014-02-06 19:26:15 +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
55811b3a11 Update examples to use vectorContext property in render events 2014-02-06 18:03:28 +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
Tom Payne
c6cc15fdc8 Merge pull request #1656 from twpayne/fix-igc-projection
Fix projection in IGC example
2014-02-06 17:03:21 +01:00
Éric Lemoine
1acc542bb6 Use the renderer map option in the examples 2014-02-06 16:56:15 +01:00