Commit Graph

32 Commits

Author SHA1 Message Date
htulipe f0608f6fed Allow other params than 'mode' in example query string.
Currently, if other params are present at the beginning of the query string,
the mode switcher will not work.

This situation can occur when a search criteria was entered in the examples
index page. That criteria will be passed along to the example page via a query
param.
2015-01-27 21:52:38 +01:00
Frederic Junod d4bd5f24c6 Move font-family customization to layout.css 2014-10-31 11:57:27 +01:00
Frederic Junod 2139e4455a Add missing whitespaces in CSS calc
See http://dev.w3.org/csswg/css-values/#calc-syntax
2014-10-08 10:40:27 +02:00
Frederic Junod 898f5ac547 Update jquery to 1.9.1 2014-10-01 10:05:06 +02:00
Frederic Junod 078ba2dec0 Move jquery.min.js to resources 2014-10-01 09:59:20 +02:00
Antoine Abt 5a1e92830f Make attribution control collapsible. 2014-07-11 09:36:14 +02:00
Éric Lemoine 7fb3e5842d Add an exampleNS.strToBase64 function
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Base64_encoding_and_decoding
2014-06-25 15:58:56 +02:00
Frederic Junod 1da40b6d02 Change renderer order in getRendererFromQueryString
To order should be the same as ol.DEFAULT_RENDERER_HINTS.
See #887
2014-04-07 14:56:56 +02:00
Frederic Junod c02920be8f Remove Font Awesome
Everything that we need (icon-arrow-left, icon-arrow-right, icon-plus,
icon-minus, icon-download and icon-flag) is already provided by Bootstrap.
2014-02-19 18:04:08 +01:00
Antoine Abt 4478d6c34c Fixes mobile fullscreen example (no mode chooser) 2014-02-14 09:32:14 +01:00
Antoine Abt 21bfdb1d1e Add example extern for exampleNS 2014-02-14 09:32:14 +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
Austin Hyde 03b7d6ee92 Add jquery to examples for backwards compatibility with IE7/8 2014-02-05 15:42:58 -05:00
Tom Payne 610eefb932 Merge remote-tracking branch 'openlayers/master' into vector-api 2014-01-13 16:07:39 +01:00
Tom Payne 6e43692440 Add optimized 32x32 pixel logo 2014-01-13 14:38:16 +01:00
Tom Payne 36dc0b88e1 Add 32x32 pixel logo image 2014-01-13 14:37:13 +01:00
Tom Payne 424f8fcc6d Merge remote-tracking branch 'openlayers/master' into vector-api 2013-11-27 13:10:20 +01:00
Frederic Junod 32c2b5311e Move apidoc CSS style out of layout.css 2013-11-21 10:51:59 +01:00
Éric Lemoine 4090b3f8b1 Phantomjs does not have requestAnimationFrame 2013-11-20 11:44:49 +01:00
Éric Lemoine c0e1c7051b Add display-frame-rate.js script 2013-11-20 11:44:45 +01:00
Paul Spencer d3b8d0b676 Add jsdoc plugin that maps @todo tags to @stability and @observable tags.
This is a temporary measure until Plovr handles custom tags or is replaced in the build system.

Add support for indicating API stability with inline documentation

In preparation for documenting the stability of API features, this commit adds support for indicating API stability via a new jsdoc tag @stability.  There is a small plugin for jsdoc that adds a new tag, @stabiility, with some ability to enforce specific level names.  The templates and css have been updated to include the stability level in the generated documentation. (+1 squashed commit)
Squashed commits:
[d6bc03d] Add jsdoc plugin for documenting observable properties of a class.
2013-10-28 15:17:59 -04:00
ahocevar b80022036f ol3 logo for examples and apidoc header 2013-09-24 14:42:04 +02:00
ahocevar 5ab7803402 New font and header background color
With this change, API docs and examples match the website design
of the new-build branch of openlayers.github.io better.
2013-09-24 10:50:27 +02:00
Tim Schaub 6c2e5f6eca The production loader has special logic for advanced and raw modes 2013-09-20 15:29:29 +01:00
Tim Schaub ea66ddf3a4 Don't show compiled option when using node dev server 2013-09-19 15:20:11 +01:00
Tim Schaub 66e1b01c2d Use form.navbar-form for input elements in a navbar 2013-09-19 15:19:20 +01:00
Marc Jansen 9e0b560cf6 Remove now obsolete file social-link.js. 2013-09-19 15:05:31 +02:00
Marc Jansen 886e38a69b Examples: Add switch compilation level tool. 2013-09-18 17:26:46 +02:00
Frederic Junod bebac2011b Upgrade Font Awesome to version 3.2.1 2013-07-15 10:16:42 +02:00
Frederic Junod a1af290d18 Add a background image to the example maps
image from http://subtlepatterns.com/
2013-04-24 17:52:43 +02:00
Tom Payne 764872d619 Remove social widgets when debugging
Social widgets increase load times, add uncontrolled JavaScript code,
and open potential security holes.  None of these are desirable,
especially when debugging.  This commit removes the Twitter and Google
Plus widgets, at least when the window location has a query string
(e.g. "?mode=RAW").
2013-04-06 14:12:03 +02:00
ahocevar 6c5377eebe Creating a resources folder for use by examples and API docs 2013-04-04 15:18:15 +02:00