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
Frederic Junod
984002a7ec
Change ol.Object event name syntax
...
'changed' to 'change' and '<attribute>_changed' to 'change:<attribute>'.
2013-05-31 12:38:37 +02:00
Frederic Junod
82d2fa373a
Dispatch an error on Geolocation failure
2013-05-27 12:46:36 +02:00
Éric Lemoine
a694661793
OpenStreetMap to OSM renaming
...
OSM is a well-known name, and is shorter than OpenStreetMap.
2013-04-10 10:07:49 +02:00
Tom Payne
02196c94b5
Redefine ol.Coordinate to be Array.<number>
2013-04-05 12:30:37 +02:00
Tom Payne
096d48b4e8
Rename AnchoredElement to Overlay
2013-03-24 20:30:12 +01:00
Frederic Junod
de066e10a4
Add geolocation example
2013-03-11 12:54:26 +01:00
Tom Payne
6c0b719aef
Remove OpenLayers 2, as discussed with @ahocevar, @elemoine and @tschaub
2012-08-30 15:00:23 +02:00
Marc Jansen
acb9f950df
Use document.getElementById in examples.
...
Previously examples would either use the now deprecated `window.$` or the
non-API-method `OpenLayers.Util.getElement`. This was well caught by @probins
and @elemoine.
2012-05-29 21:47:22 +02:00
Marc Jansen
5c2c39c9dd
Fix the examples that used our '$' method.
2012-03-05 22:27:43 +01:00
pgiraud
0bfb6f53bf
geolocation example : don't zoom to and pulsate circle more than once when watching position (ie. listening for locationupdated event), no functional change
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12117 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-21 12:47:57 +00:00
bartvde
99e51364e5
Geolocation Examples: JSLINT + IE Fixes, p=cmoullet, r=me ( closes #3150 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11622 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-03-06 10:08:35 +00:00
Frédéric Junod
5c400dac4f
add some fancy move to geolocation accuracy. p=aabt, r=me ( closes #1885 )
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11321 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-23 14:08:32 +00:00
Tim Schaub
7fe4329afe
Linking to example source code. Setting watch checkbox to match initial control state.
...
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11263 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-22 22:00:59 +00:00