Commit Graph

63 Commits

Author SHA1 Message Date
Frederic Junod
4a3f70c09b Revert "Simplify import path in examples"
This reverts commit 79c8afdba8.
2018-11-27 16:49:55 +01:00
Frederic Junod
79c8afdba8 Simplify import path in examples
To have the same path (starting with `ol/`, without `.js`) as in the documentation.
The support was added in the webpack config in #8928
2018-11-26 17:18:52 +01:00
ahocevar
2768884044 Make new behavior overridable; update docs and examples 2018-10-14 12:10:40 +02:00
Tim Schaub
cda0fe6e41 Re-export style constructors from ol/style 2018-04-24 09:37:27 -06:00
Tim Schaub
910004b940 Re-export layer constructors from ol/layer 2018-04-24 09:06:30 -06:00
Tim Schaub
a5d3e91f7d Re-export source constructors from ol/source 2018-04-23 17:34:10 -06:00
Frederic Junod
819ddd0e19 Set enableHighAccuracy in geolocation example 2018-01-26 09:39:25 +01: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
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
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
Tim Schaub
22fce4f97b Rename _ol_Feature_ to Feature 2018-01-10 09:35:35 -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
da67764437 Named export for ol/control 2017-12-17 18:53:50 +01:00
Frederic Junod
e3bf72f90e Rename _ol_Geolocation_ to Geolocation 2017-12-16 08:15:59 +01:00
Tim Schaub
eadec38ae2 Rename _ol_geom_Point_ to Point 2017-12-14 08:49:10 -07:00
Tim Schaub
7f47883c48 Transformed 2017-12-12 06:53:18 -07:00
Frederic Junod
8aa591c04d Remove unneeded type cast from examples 2017-11-22 14:00:00 +01:00
Marc Jansen
d0ef05977b Autofix indentation issues (eslint --fix) 2017-06-19 11:58:00 +02:00
Tim Schaub
8c38d22b60 Lint free examples 2016-01-11 18:56:09 -08: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
Tim Schaub
2f160d29c7 Remove jQuery use from geolocation example 2015-04-17 06:22:39 -06: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
Frederic Junod
9a23778d50 Use a custom style for the position feature 2014-09-03 16:34:28 +02:00
Frederic Junod
0d6cc22bf0 Don't bind to ol.View projection property 2014-08-07 12:59:15 +02:00
Antoine Abt
d5d5f58809 Do not collapse Attributions when using OSM source 2014-07-11 10:18:55 +02:00
Tim Schaub
47d37fabea Rename ol.View2D to ol.View 2014-06-27 09:59:39 -04:00
Tim Schaub
5653d57712 Change default renderer to Canvas 2014-04-02 11:43:20 -06:00
Éric Lemoine
91cd8f20cc Use change event in geolocation example 2014-03-14 09:32:37 +01:00
Frederic Junod
a267ed4e52 Use ol.Sphere#circle to create the accuracy 'circle' 2014-03-11 15:42:08 +01:00
Frederic Junod
e62842464c Use accuracyGeometry in geolocation example 2014-03-11 15:14:55 +01:00
Antoine Abt
b169ef2094 Add renderer guess in example shared file
& use it in every example.
2014-02-13 17:21:03 +01:00
Tom Payne
9af436b5a0 Use string instead of ol.OverlayPositioning enum in examples 2014-02-06 22:33:32 +01:00
Éric Lemoine
1acc542bb6 Use the renderer map option in the examples 2014-02-06 16:56:15 +01:00
Tom Payne
5886d0dec0 Add FIXME to geolocation example 2014-01-14 12:34:47 +01:00
Éric Lemoine
60ea9d5826 Remove View2D typecasts in geolocation example 2013-12-17 10:32:18 +01:00
Tom Payne
e96d56215b Add typecasts so examples compile 2013-12-13 19:16:05 +01:00
Tim Schaub
c8985b9906 Using unique event type values for distinct events
Any event target can be used to dispatch generic goog.events.Event instances with an arbitrary type.  In cases where we dispatch custom events, we should not use type values that collide with those used for generic events (at least internally).  This allows listeners a better chance of knowing what kind of argument they will receive.

As subsequent change will clean up the enumeration and add a bit more consistency.
2013-12-11 16:53:52 -07:00
Éric Lemoine
16b817b830 Overlay stopEvent and insertFirst default to true 2013-10-30 09:49:38 +01:00
Bruno Binet
41085560f6 Fix overlay positioning in geolocation example 2013-10-07 18:36:51 +02:00
Tom Payne
8f8f94e697 Rename ol.layer.TileLayer to ol.layer.Tile 2013-09-09 15:14:45 +02:00
Éric Lemoine
7e25ecb3dc Remove map from OverlayOptions 2013-09-02 14:15:11 +02:00
Frederic Junod
e1f8863bd2 Update geolocation example to display all the properties 2013-07-01 15:48:50 +02:00