Commit Graph

10 Commits

Author SHA1 Message Date
Tim Schaub
6b1a2e884d Correct types for style options 2018-04-19 18:13:15 -06:00
Tim Schaub
cf80733e41 Module type for ol/Feature 2018-03-12 08:32:09 -06:00
Andreas Hocevar
2ef5f99599 Remove bundling magic for Mapbox styles script 2017-08-21 09:48:51 +02:00
Andreas Hocevar
a35b3a5f52 Add default argument to getRendererFromQueryString 2015-11-06 16:58:58 +01:00
Andreas Hocevar
c0c5443782 Add example showing the use of Mapbox vector tiles 2015-10-28 10:29:01 +01:00
Tim Schaub
14b7edb140 Keep the examples simple
Please write blog posts, create tutorials, or develop workshops that show off cool ways to develop applications that use OL3.  The examples should be kept very simple.  This download functionality is neat, but it's really a gratuitous use of non-map related functionality.  While it does demonstrate the use of `format.writeFeatures()`, this is buried in too much additional code that is not accessible (buried in resources/common.js) and not really related to mapping things.  If we want to have examples that demonstrate how formats can be used to serialize features, a simple textarea would suffice as the target.
2015-04-17 09:55:44 -06:00
Tim Schaub
c5cf709c55 The common.js script makes a "common" object available 2015-04-17 09:49:53 -06:00
Éric Lemoine
05970c9831 Minor change to the example externs file 2014-06-25 15:58:56 +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
Antoine Abt
21bfdb1d1e Add example extern for exampleNS 2014-02-14 09:32:14 +01:00