Commit Graph

337 Commits

Author SHA1 Message Date
Tom Payne
88c8783271 Allow ol.source.Source state option to be a string 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
dc2bb57d18 Allow ol.Overlay positioning option to be a string 2014-02-06 22:33:32 +01:00
Tom Payne
41f193e8b9 Allow ol.Map renderer option to be a string 2014-02-06 19:26:15 +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
É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
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
Éric Lemoine
d40440e028 Change olx.render.FeaturesOverlayOptions to olx.FeatureOverlayOptions 2014-02-04 16:43:56 +01:00
Éric Lemoine
356f86d8f7 Use featureOverlay in select interaction 2014-02-04 16:43:26 +01:00
Éric Lemoine
10f03374f3 Rename ol.render.FeaturesOverlay to ol.FeatureOverlay 2014-02-04 16:30:15 +01:00
Éric Lemoine
0c99e0a2ff Change keyboardEventTarget doc as requested by @probins 2014-02-04 15:52:40 +01:00
Éric Lemoine
a91e6e2442 Accept string for keyboardEventTarget option 2014-02-04 15:48:44 +01:00
Éric Lemoine
cf5aada8cf Add a keyboardEventTarget option to the map
This option allows specifying the element to listen to keyboard events on.
2014-02-04 15:46:50 +01:00
Tim Schaub
d2cd0808a8 Use projection option instead of reprojectTo
The projection option for vector file sources currently has no good meaning.  The reprojectTo option is used to set the projection for cached features.  This change makes it so the projection option is used for this purpose.  The getProjection method (not currently exported) can then be used to get the cached feature projection.

This also removes the default of 'EPSG:3857' for vector file sources.  If a projection is not configured, features will not be transformed.
2014-02-03 18:13:25 -07:00
Tom Payne
0137987015 Add scale to ol.style.Text 2014-02-03 15:49:04 +01:00
Éric Lemoine
5e64e08d54 Merge pull request #1598 from elemoine/detect-style-changes
Changing the style function doesn't redraw the layer
2014-01-30 02:54:42 -08:00
Tom Payne
21e960d6a5 Merge pull request #1613 from twpayne/select-interaction
Port ol.interaction.Select
2014-01-29 06:32:33 -08:00
Tom Payne
86a4cad37e Merge pull request #1602 from twpayne/configurable-rotation-constraints
Configurable rotation constraints
2014-01-29 06:32:14 -08:00
Tom Payne
3196afb4c7 Add constrainRotation option to ol.View2D 2014-01-29 15:13:52 +01:00
Tom Payne
2b71154bb2 Add ol.interaction.Select 2014-01-29 15:12:53 +01:00
Éric Lemoine
d49d96d651 Add comments for the canvasFunction option 2014-01-28 21:36:32 +01:00
Bart van den Eijnden
e6c4fd973a allow target to be specified as a string for controls, update the documentation to make more clear what element and target are for 2014-01-27 15:22:25 +01:00
Tom Payne
07a717d967 Add enableRotation option to ol.View2D 2014-01-27 14:52:42 +01:00
Tom Payne
6cb02724da Make ol.interaction.DragAndDrop fire an event instead of managing layers and sources 2014-01-22 17:26:47 +01:00
Éric Lemoine
9d6d0e03c2 Configure draw interaction with a vector source 2014-01-20 16:09:48 +01:00
Tom Payne
3ae526efc5 Merge pull request #1541 from twpayne/vector-api-gpx
[vector-api] Add ol.format.GPX
2014-01-17 07:39:56 -08:00
Tom Payne
7d5b1265b7 Add styleFunction option to ol.interaction.DragAndDrop 2014-01-16 22:44:19 +01:00
Tom Payne
917b6cda8f Add ol.source.GPX 2014-01-16 22:44:18 +01:00
Tom Payne
92b852c512 Remove unused extractAttributes and extractStyles options 2014-01-16 19:43:47 +01:00
Tom Payne
bb758c7ee9 Merge pull request #1533 from twpayne/vector-api-tile-hidpi
[vector-api] HiDPI support for tile layers
2014-01-16 06:55:54 -08:00
Antoine Abt
938d74a785 Add TopoJSONOptions literals for source & format 2014-01-16 10:25:18 +01:00
Tom Payne
2253be7adc Add HiDPI support to ol.source.TileWMS 2014-01-15 15:55:20 +01:00
Tom Payne
086bb47b8c Merge pull request #1535 from twpayne/vector-api-square-tiles
[vector-api] Only support square tiles
2014-01-15 01:46:34 -08:00
Tom Payne
4667dec7c3 Rename devicePixelRatio to pixelRatio in ol.FrameState 2014-01-15 09:46:27 +01:00
Tom Payne
d5c1e53e48 Only support square tiles 2014-01-15 09:45:49 +01:00
Tom Payne
610eefb932 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-13 16:07:39 +01:00
Tom Payne
b7e906fe09 Add ol3Logo option to ol.Map 2014-01-13 14:29:41 +01:00
Éric Lemoine
babd133cf6 Export ol.source.ImageVector's styleFunction option 2014-01-13 07:43:02 +01:00
Éric Lemoine
d5b7527f1f Add docs for ol.source.ImageVector 2014-01-13 07:39:27 +01:00
Éric Lemoine
8c1f7f9b29 Add ol.source.ImageVector 2014-01-10 10:42:05 +01:00
Éric Lemoine
e4b5f309eb Pass state option to image source constructors 2014-01-10 10:42:05 +01:00
Éric Lemoine
5af738593e Image source refactoring 2014-01-09 15:57:04 +01:00
Tom Payne
5f7e53617b Merge pull request #1481 from twpayne/vector-api-kml-default-style
[vector-api] Configurable default styling for KML
2014-01-09 02:43:48 -08:00
Tom Payne
7ce7bb2187 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-09 11:42:14 +01:00
Tom Payne
dcd2853d2d Add ol.source.KML defaultStyle option 2014-01-08 18:22:20 +01:00
Tom Payne
6b94baf291 Add ol.format.KML defaultStyle option 2014-01-08 18:22:19 +01:00
Éric Lemoine
2cc4dd8985 Merge pull request #1413 from oterral/vector-api-draw
[vector-api] drawing interaction
2014-01-08 07:54:18 -08:00
oterral
34260399e7 Add draw features interaction 2014-01-08 16:40:14 +01:00