Commit Graph

59 Commits

Author SHA1 Message Date
Tim Schaub
910004b940 Re-export layer constructors from ol/layer 2018-04-24 09:06:30 -06:00
Tim Schaub
0cb1c18778 Re-export interaction constructors from ol/interaction 2018-04-24 08:40:15 -06:00
Tim Schaub
a5d3e91f7d Re-export source constructors from ol/source 2018-04-23 17:34:10 -06:00
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
c9a91efc3d Rename _ol_interaction_Select_ to Select 2018-01-11 12:10:54 -07:00
Tim Schaub
682b4402a0 Rename _ol_interaction_Modify_ to Modify 2018-01-11 12:10:54 -07:00
Tim Schaub
5f62d2ecfe Rename _ol_source_OSM_ to OSM 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
8656e794ff Rename _ol_format_GeoJSON_ to GeoJSON 2017-12-17 01:42:56 -07:00
Tim Schaub
7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Bart van den Eijnden
ed80d243fb Remove MapQuest source 2016-07-01 11:38:52 +02:00
Andreas Hocevar
53d5d8c1d9 Get rid of ol.FeatureOverlay
This also introduces a wrapX option to the Draw, Modify and Select
interaction.
2015-06-09 15:44:31 +02:00
Andreas Hocevar
9a58151caa Do not wrapX for editing 2015-04-18 19:10:54 +02: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
Tim Schaub
47d37fabea Rename ol.View2D to ol.View 2014-06-27 09:59:39 -04:00
Frederic Junod
2f918ea2a4 Remove unused goog.require 2014-05-21 16:06:32 +02:00
Tim Schaub
5653d57712 Change default renderer to Canvas 2014-04-02 11:43:20 -06:00
Antoine Abt
5cc1a986c2 Share editing default styles 2014-03-31 10:24:17 +02:00
Tom Payne
f5e272fb3d Remove stray option in modify-features example 2014-03-27 21:54:41 +01:00
Tom Payne
15efba8a23 Restore ol.interaction.Select options 2014-03-27 21:54:41 +01:00
Tim Schaub
2da07f8837 Always toggle selection 2014-03-27 11:26:17 -06:00
Tim Schaub
02a7913c0f Add condition for selection 2014-03-27 11:07:06 -06:00
Tim Schaub
1e0d2af0f0 Add a style for selected features 2014-03-27 11:01:12 -06:00
Tim Schaub
1b4aa63673 Separate test example from modify example 2014-03-20 12:18:17 -06:00
ahocevar
e28faa3a2b Removing code for functionality now handled by #1834 2014-03-14 10:16:27 +01:00
ahocevar
5b25826e2f Adding missing require 2014-03-14 10:16:26 +01:00
ahocevar
29454c2326 Note about MultiGeometry rendering 2014-03-14 10:16:26 +01:00
ahocevar
f663a3d87a Do not render selected features on the original layer
See #1796 for a discussion on how to handle this in a better
way.
2014-03-14 10:16:26 +01:00
ahocevar
ecddcdd732 Add support for editing interior polygon rings 2014-03-13 01:02:15 +01:00
ahocevar
6fbafef4ad Add a layer with real data to the example 2014-03-07 10:52:50 +01:00
ahocevar
97f8fdbd15 Added another linestring to show shared segment editing 2014-03-07 10:52:50 +01:00
Marc Jansen
8a4fba360b Close polygon in modify-feature example. 2014-03-07 10:07:47 +01:00
Antoine Abt
ec832bdf6e Modify interaction takes style & features options
Instead of a FeatureOverlay
2014-02-21 12:35:30 +01:00
Antoine Abt
7cea6f3240 Make select interaction create its FeatureOverlay
You can now configure it with a `style` option.
2014-02-21 11:59:43 +01:00
Tim Schaub
6abb691224 Give feature overlays a style option 2014-02-13 10:25:16 -07: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
Antoine Abt
715966a8d1 Add MultiPoint to modify example 2014-02-12 15:24:32 +01:00
Antoine Abt
25ba60db9f Use closure for styles & fix case 2014-02-10 11:52:58 +01:00
Antoine Abt
919fbe335f Use strings for GeometryType in examples 2014-02-10 11:26:14 +01:00
Antoine Abt
f9b6eabfef %s/render.FeaturesOverlay/FeatureOverlay/ 2014-02-10 11:26:14 +01:00
Antoine Abt
c95ffe381b Render style for Point inside GeometryCollection. 2014-02-10 11:26:14 +01:00
Antoine Abt
72675bf6ad Make interaction ctor only have an option object 2014-02-10 11:26:13 +01:00
Antoine Abt
9d591ba7ef Use Select interaction in modify interaction example. 2014-02-10 11:26:13 +01:00
Antoine Abt
ad1cec84a1 Add style for Geomettry Collection 2014-02-07 14:52:59 +01:00