Commit Graph

21 Commits

Author SHA1 Message Date
É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