Commit Graph

26 Commits

Author SHA1 Message Date
Frederic Junod
e62842464c Use accuracyGeometry in geolocation example 2014-03-11 15:14:55 +01:00
Tom Payne
1a81227aef Remove trailing whitespace 2014-02-26 17:58:43 +01:00
Tim Schaub
e633f7f8c1 Don't inject stylesheets with JavaScript
This reverts 4d619d71b1 (see #1527), going back to what we had after e13075f6ff (see #881).

To avoid the 404 in the hosted examples, the css is copied to the same relative path when hosted as during development.
2014-02-21 18:45:46 -07:00
Antoine Abt
2369ac62eb Load example-behaviour before example script 2014-02-13 17:21:02 +01:00
Tom Payne
4d619d71b1 Only load ol.css in loader.js
Before this change, all the examples try to load ../css/ol.css, even in
hosted mode, where they should load ../build/ol.css instead.
2014-01-14 14:32:40 +01:00
Tom Payne
43c40e14c8 Remove trailing whitespace 2014-01-14 14:30:51 +01:00
ahocevar
b80022036f ol3 logo for examples and apidoc header 2013-09-24 14:42:04 +02:00
Tim Schaub
66e1b01c2d Use form.navbar-form for input elements in a navbar 2013-09-19 15:19:20 +01:00
Marc Jansen
6d40b170d6 Examples: Remove social links. 2013-09-18 17:39:52 +02:00
Marc Jansen
886e38a69b Examples: Add switch compilation level tool. 2013-09-18 17:26:46 +02:00
Frederic Junod
19f8ba75bc Reduce the width of the div to better see the error messages 2013-09-02 14:40:34 +02:00
Frederic Junod
e13075f6ff Don't inject ol.css from loader.js 2013-07-25 11:40:35 +02:00
Frederic Junod
e1f8863bd2 Update geolocation example to display all the properties 2013-07-01 15:48:50 +02:00
Tim Schaub
7ebacba720 Use full grid
The example documentation should not be restricted to 1/3 of the row unless there is something else consuming the other 2/3.
2013-06-28 10:42:42 -06:00
Frederic Junod
82d2fa373a Dispatch an error on Geolocation failure 2013-05-27 12:46:36 +02:00
Frederic Junod
7ba4045e59 geolocation example: suppresses line breaks in tooltip 2013-05-22 15:53:55 +02:00
ahocevar
6c5377eebe Creating a resources folder for use by examples and API docs 2013-04-04 15:18:15 +02:00
Tim Schaub
462659a9fc Use index.html instead of example-list.html
The original decision to avoid index.html was because it only works with a build step.  Since we've all accepted a build step, the more sensible name is index.html.  Without this change, every hosted example has a link to http://openlayers.github.com/ol3/master/examples/example-list.html which 404s.
2013-03-19 12:17:00 -06:00
Tim Schaub
1ac77b1a6f Make social links more social 2013-03-18 13:27:47 -06: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
e8960054a9 Correct the contents of the <meta name="viewport"> attribute content. (p=me,fredj; r=fredj,aabt; fixes #3335)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12082 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-06-14 06:46:13 +00:00
ahocevar
15be7ff39b use HTML5 in all examples, and some minor example improvements (pullup #3333)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12032 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-05-31 15:00:51 +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
Éric Lemoine
50c292f176 add a Geolocate control, p=cmoullet,aabt, r=me (closes #1885)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@11258 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-02-22 16:48:05 +00:00