Commit Graph

46 Commits

Author SHA1 Message Date
Tim Schaub ad62739a6e Use blocked scoped variables
In addition to using const and let, this also upgrades our linter config and removes lint (mostly whitespace).
2018-01-12 00:50:30 -07:00
Tim Schaub 14ddcf843d Rename _ol_style_Circle_ to CircleStyle 2018-01-11 13:27:54 -07:00
Tim Schaub f4484455aa Rename _ol_style_Stroke_ to Stroke 2018-01-11 13:24:13 -07:00
Tim Schaub dc6ae2293d Rename _ol_style_Fill_ to Fill 2018-01-11 13:23:27 -07:00
Tim Schaub 4f4c90fc20 Rename _ol_style_Style_ to Style 2018-01-11 13:22:43 -07:00
Tim Schaub f184f6685d Rename _ol_source_BingMaps_ to BingMaps 2018-01-10 09:36:28 -07:00
Tim Schaub ca6ea355e6 Rename _ol_source_Vector_ to VectorSource 2018-01-10 09:36:28 -07:00
Tim Schaub 45c6e43b42 Rename _ol_layer_Vector_ to VectorLayer 2018-01-10 09:36:23 -07:00
Tim Schaub 1c1f008238 Rename _ol_View_ to View 2018-01-10 09:35:42 -07:00
Ron Young b8b64ac655 rename in examples 2017-12-21 23:11:42 -07:00
Marc Jansen 25946b4541 Rename _ol_layer_Tile_ to TileLayer 2017-12-19 08:45:00 +01:00
Frederic Junod f23590a479 Named export for ol/interaction 2017-12-17 19:05:05 +01:00
Tim Schaub f2e8d39d1f Rename _ol_format_TopoJSON_ to TopoJSON 2017-12-17 02:07:34 -07:00
Tim Schaub e77ef118ea Rename _ol_format_KML_ to KML 2017-12-17 01:58:24 -07:00
Tim Schaub 04230086a4 Rename _ol_format_IGC_ to IGC 2017-12-17 01:53:48 -07:00
Tim Schaub 55ab1bc24a Rename _ol_format_GPX_ to GPX 2017-12-17 01:52:40 -07:00
Tim Schaub 8656e794ff Rename _ol_format_GeoJSON_ to GeoJSON 2017-12-17 01:42:56 -07:00
Marc Jansen 41d417b0fc Rename _ol_interaction_DragAndDrop_ to DragAndDrop 2017-12-15 09:41:32 -07:00
Tim Schaub 7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Andreas Hocevar 20155ce2a7 Remove the requirement to provide a size to ol.View#fit() 2016-12-16 14:52:09 +01:00
Andreas Hocevar d9453890eb Replace expired Bing key with a new one 2016-11-29 11:31:17 +01:00
Tim Schaub 85ead5486c New Bing Maps key 2016-01-19 14:08:51 -07:00
Tim Schaub 8c38d22b60 Lint free examples 2016-01-11 18:56:09 -08:00
Tim Schaub 99a902a311 Get rid of extra style arrays in examples 2015-11-11 18:24:08 -07:00
vmalaret 74759142d9 Replace fitGeometry and fitExtent with fit
Fit accepts either a geometry or an extent.

This combines two previously distinct functions
into one more flexible call.

Also brings the rotations support and options
previously available to fitGeometry to extents
2015-07-02 15:19:08 +02:00
Peter Robins 22f22b2877 Simplify dragAndDropInteraction in examples 2015-04-19 13:26:25 +00:00
Tim Schaub 89f5e711e6 Example sources in the examples dir 2015-04-17 06:22:38 -06:00
Andreas Hocevar ff1ee78ddd Build and parse examples from examples_src/ 2015-04-02 19:10:09 +02:00
tsauerwein 9cc8390dfd Use dragging in examples 2015-01-30 09:16:19 +01:00
Tim Schaub 47d37fabea Rename ol.View2D to ol.View 2014-06-27 09:59:39 -04:00
Tim Schaub b88d2aebc9 Remove view.getView2D() method 2014-06-27 09:52:19 -04:00
Tim Schaub 3c1cb55079 Remove IView and IView2D 2014-06-27 09:52:19 -04:00
Andreas Hocevar e44e59311b Merge pull request #1896 from ahocevar/nodragclick
Add click event as responsive alternative to singleclick
2014-04-03 13:34:14 +02:00
Tim Schaub 5653d57712 Change default renderer to Canvas 2014-04-02 11:43:20 -06:00
ahocevar 7bfa15c0fd Add click event as responsive alternative to singleclick
The singleclick event makes the application feel slow because
of the 250 ms delay that is used to rule out a dblclick.
2014-03-27 18:33:17 +01:00
Tim Schaub 1072f6dfa7 Use style option in vector layer examples
Providing a styleFunction option still works because the layer property is still named styleFunction.
2014-02-13 10:25:16 -07:00
Tom Payne a58aa0a40d Use string instead of ol.RendererHint enum in examples 2014-02-06 22:33:25 +01:00
Tom Payne 318fc68159 Convert ol.MapBrowserEvent#get* methods into properties 2014-01-29 14:51:27 +01:00
Tom Payne 45350a34ed Convert ol.interaction.DragAndDropEvent#get* methods into properties 2014-01-27 15:52:03 +01:00
Tom Payne b2dc097650 Use ol.interaction.DragAndDrop addfeatures event in drag-and-drop example 2014-01-22 17:26:47 +01:00
Tom Payne c2c8a9ed18 Add TopoJSON to drag-and-drop-example 2014-01-16 22:44:19 +01:00
Tom Payne 6c3c8332d9 Add GeoJSON to drag-and-drop example 2014-01-16 22:44:19 +01:00
Tom Payne 27fed257ff Add IGC files to drag-and-drop example 2014-01-16 22:44:19 +01:00
Tom Payne ee91a99056 Add GPX files to drag-and-drop example 2014-01-16 22:44:19 +01:00
Tom Payne 729be27662 Add default style function to drag-and-drop example 2014-01-16 22:44:19 +01:00
Tom Payne 1a3218266c Add drag-and-drop example 2013-12-19 17:54:13 +01:00