Commit Graph
100 Commits
Author SHA1 Message Date
Tim Schaub d1f19b8e0d Use the latest Bootstrap 2015-06-30 22:30:28 -06:00
Tim Schaub 1b01efc08b Check for exports before define 2015-06-24 21:53:52 -06:00
Tim Schaub b602285992 Add metadata to the mobile full-screen example 2015-05-08 06:39:06 -06:00
Tim Schaub 82b1355591 Add metadata to the geolocation orientation example 2015-05-08 06:31:34 -06:00
Tim Schaub f47d873ae5 Link to download page 2015-05-05 14:11:11 -06:00
Tim Schaub 4192092dcf Readme should not include the version number
We should not repeat the version number throughout the source.  Eventually, the download page will be http://openlayers.org/download/.
2015-05-05 10:28:03 -06:00
Tim Schaub 57002ec80a Update package version to 3.5.0 2015-05-04 22:36:58 -06:00
Tim Schaub 208b42d15b Changelog for 3.5.0 2015-05-04 22:36:17 -06:00
Tim Schaub c31ae25892 Replace non-breaking space (U+00A0) with regular space (U+0020) 2015-04-22 10:41:10 -06:00
Tim Schaub 1f07dfc343 Add ol.size.hasArea 2015-04-22 10:01:31 -06:00
Tim Schaub 3d662f1c4c Add upgrade notes 2015-04-20 14:15:36 -06:00
Tim Schaub f0c0c28f04 Rename ol.feature.FeatureStyleFunction to ol.FeatureStyleFunction 2015-04-20 13:47:34 -06:00
Tim Schaub e2eba46d32 All build artifacts should be generated in the build directory 2015-04-20 07:02:38 -06:00
Tim Schaub 941f53ec80 Handle left/right segment intersections for top/bottom spans
The ol.extent.intersectsSegment function was not correctly handling segments that span from above to below an extent while intersecting the sides.
2015-04-19 09:43:06 -06:00
Tim Schaub 6a564597fb Update types accepted when reading features 2015-04-18 17:07:34 -06:00
Tim Schaub 4260368b3b Remove untested and unused binary feature format code 2015-04-18 17:05:23 -06:00
Tim Schaub 2dd3fbf307 Renaming and docs for clarity 2015-04-17 16:09:43 -06:00
Tim Schaub bc1bde6a86 Index what the examples require 2015-04-17 16:03:55 -06:00
Tim Schaub e65800ca63 Always show links to related API documentation
This is based on the assumptions that

 * our examples always goog.require something ol.* (otherwise why have the example)
 * our examples only goog.require exportable symbols or "namespaces" for exportable symbols (e.g. ol.control for the defaults function)
 * we have an API doc page for each exportable symbol and each "namespace" that has exportable symbols (e.g. ol.Map.html and ol.control.html)

It may be that this assumption proves to be wrong, but it would be nice to avoid the extra network traffic and layout shifting when examples load.
2015-04-17 15:41:38 -06:00
Tim Schaub ad95efd795 Use HTTP for {a-c}.tile.opencyclemap.org
While the resource is available via HTTPS, it currently generates NET::ERR_CERT_COMMON_NAME_INVALID.
2015-04-17 10:40:59 -06:00
Tim Schaub 3b1c33ded5 Remove unused ol.IS_HTTPS 2015-04-17 10:30:31 -06:00
Tim Schaub b22f3c6829 Use HTTPS where available 2015-04-17 10:30:31 -06:00
Tim Schaub 0dfc2ce44f Avoid protocol relative URLs
These fail to load in contexts where the "file protocol" is used (e.g. PhantomJS).
2015-04-17 10:30:31 -06: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
Tim Schaub eff14b06e0 Refactor common example script and run the linter on it 2015-04-17 09:43:46 -06:00
Tim Schaub f2600977ae Avoid words with contentious alternative spellings 2015-04-17 09:43:37 -06:00
Tim Schaub 4e8b10ae1c Use --ssl-protocol=any in PhantomJS with a page that uses HTTPS
The `check-examples` target fails on Travis without this option.  We get "SSL handshake failed" when loading resources via HTTPS with whatever the default SSL protocol is.

In addition, as a precaution, the --ignore-ssl-errors option is set to true in case anybody adds a resource with an invalid certificate.  This option does not get around SSL handshake errors.
2015-04-17 09:18:39 -06:00
Tim Schaub 7c8eaae6a1 Remove jQuery from mobile fullscreen example 2015-04-17 06:22:39 -06:00
Tim Schaub f712123e93 Remove jQuery use from IGC example 2015-04-17 06:22:39 -06:00
Tim Schaub c385a1b7dd Remove jQuery use from earthquake heatmap example 2015-04-17 06:22:39 -06:00
Tim Schaub 2f160d29c7 Remove jQuery use from geolocation example 2015-04-17 06:22:39 -06:00
Tim Schaub c3362c1685 Remove jQuery use from geolocation orientation example 2015-04-17 06:22:39 -06:00
Tim Schaub 0121a12293 Remove jQuery use from device orientation example 2015-04-17 06:22:39 -06:00
Tim Schaub d2062d241d Remove jQuery use from Bing example 2015-04-17 06:22:39 -06:00
Tim Schaub daccfd25c9 Remove jQuery use from accessible example 2015-04-17 06:22:39 -06:00
Tim Schaub c8adf22438 Use DOM methods instead of jQuery in common example script 2015-04-17 06:22:38 -06:00
Tim Schaub 84f3bea766 Upgrade Metalsmith to get new concurrency option 2015-04-17 06:22:38 -06:00
Tim Schaub 89f5e711e6 Example sources in the examples dir 2015-04-17 06:22:38 -06:00
Tim Schaub 8fd2e9f79f Untangle resources and put built examples in the build dir 2015-04-17 06:22:38 -06:00
Tim Schaub 0faace215b Compiled examples go in build/compiled-examples 2015-04-17 06:22:37 -06:00
Tim Schaub 7b2391cc2e Remove unused EXAMPLES_JSON 2015-04-17 06:22:37 -06:00
Tim Schaub 4131f41740 Remove unused EXAMPLES_COMBINED and build-examples target
This was discussed as part of #1118 but never completed (see https://github.com/openlayers/ol3/pull/1118#discussion_r6894016).
2015-04-17 06:22:37 -06:00
Tim Schaub fd42db8404 Correct docs about what the ci target runs
We stopped using the `build-examples` target with 3f1ae87eee.
2015-04-17 06:22:37 -06:00
Tim Schaub 401ab6e829 Keep custom test logic in one place 2015-04-13 08:45:27 -06:00
Tim Schaub 129ed0a6c5 Append directly to the document body 2015-04-13 08:40:40 -06:00
Tim Schaub b9198f1f7b Write the stack instead of an error 2015-04-13 06:32:36 -06:00
Tim Schaub ec4a6aab3a Clarify comment and link to issue 2015-04-12 22:17:11 -06:00
Tim Schaub 9d8ec2c8d0 Write options allow control over GeoJSON coordinate order
See be0c9f3c8a.
2015-04-12 22:13:28 -06:00
Tim Schaub a85de86ec2 Make build.py call tasks/build-examples.js 2015-04-12 17:11:05 -06:00
Tim Schaub 8ddec98075 Rebuild examples when the sources change 2015-04-12 15:42:55 -06:00
Tim Schaub aaba58ceb0 Generate index.js when building examples 2015-04-12 15:42:48 -06:00
Tim Schaub c3d5a2e9c4 Add upgrade notes regarding bindTo 2015-04-07 09:13:33 -06:00
Tim Schaub e5c6915761 Update documentation 2015-04-07 08:35:48 -06:00
Tim Schaub 814fb078cf Rework examples to new API 2015-04-07 08:35:48 -06:00
Tim Schaub e1079ab9a3 Improve overview map handling of map and view changes 2015-04-07 08:35:48 -06:00
Tim Schaub 0189e11931 Remove unconditionally exported methods 2015-04-07 08:35:47 -06:00
Tim Schaub f42c0cb0aa Remove 2-way binding from objects 2015-04-07 08:35:47 -06:00
Tim Schaub ab7b6d95dc Demonstrating markdown use in docs 2015-04-06 11:14:22 -06:00
Tim Schaub 121a83f19e Explicitly helper use instead of implicitly converting from markdown 2015-04-06 11:13:45 -06:00
Tim Schaub 3b96071096 Metadata names 2015-04-06 11:13:45 -06:00
Tim Schaub 30c04cf8ab Maintain resource list order (principle of least surprise) 2015-04-06 11:13:45 -06:00
Tim Schaub 75fcec15ec Simplify plugin
The augmentExamples just adds metadata to the example markup files.  If we also want to support example markdown files, we can use the metalsmith-markdown plugin before this one.
2015-04-06 11:13:32 -06:00
Tim Schaub 43ed76cda0 Unquoted strings for readability 2015-04-06 09:18:32 -06:00
Tim Schaub 9f1e0f001a Proper lists for example resources 2015-04-06 09:18:32 -06:00
Tim Schaub 6d318dce78 Rework plugin 2015-04-06 09:18:28 -06:00
Tim Schaub c265676f67 Avoid reading css and js files twice 2015-04-06 04:21:12 -06:00
Tim Schaub cdc4283cbf Use global metadata for ol version 2015-04-06 04:10:17 -06:00
Tim Schaub 8afb5698f1 Allow script to be run from anywhere 2015-04-06 04:09:46 -06:00
Tim Schaub 274b70bde3 Use vector source in snap example 2015-04-05 16:55:42 +02:00
Tim Schaub 50f71655e5 Style docs 2015-04-04 17:38:03 +02:00
Tim Schaub 02c4c8b360 Tile grid docs 2015-04-04 17:38:02 +02:00
Tim Schaub e2b37a74a5 WebGL context docs 2015-04-04 17:38:02 +02:00
Tim Schaub 4f428d7cd5 View docs 2015-04-04 17:38:02 +02:00
Tim Schaub 29c3bc066d Overlay docs 2015-04-04 17:36:48 +02:00
Tim Schaub b735504564 Map docs 2015-04-04 17:36:48 +02:00
Tim Schaub 1174baa24e Image and image tile docs 2015-04-04 17:36:48 +02:00
Tim Schaub 6c960215bb Graticule docs 2015-04-04 17:36:47 +02:00
Tim Schaub 3ef5329bd9 Geolocation docs 2015-04-04 17:36:47 +02:00
Tim Schaub c6a330e886 Feature overlay docs 2015-04-04 17:36:47 +02:00
Tim Schaub 16c6ccf40c Feature docs 2015-04-04 17:36:47 +02:00
Tim Schaub 044ea054b1 Extent docs 2015-04-04 17:36:47 +02:00
Tim Schaub 619da529ec Easing docs 2015-04-04 17:36:47 +02:00
Tim Schaub 7f34941be3 Device orientation docs 2015-04-04 17:36:47 +02:00
Tim Schaub d09c4afefb Coordinate docs 2015-04-04 17:36:47 +02:00
Tim Schaub fdabcd8219 Collection docs 2015-04-04 17:36:47 +02:00
Tim Schaub 1a10686299 Attribution docs 2015-04-04 17:36:46 +02:00
Tim Schaub 4463e173e6 Animation docs 2015-04-04 17:36:46 +02:00
Tim Schaub 29596ced00 Add .editorconfig and instructions on its use 2015-04-04 14:17:31 +02:00
Tim Schaub 6a105f9bcf Newlines 2015-04-02 19:23:02 +02:00
Tim Schaub 664a287c94 Tissot's indicatrices 2015-04-02 19:10:20 +02:00
Tim Schaub b9074342a6 TopoJSON example content 2015-04-02 19:10:19 +02:00
Tim Schaub 44ad7ce30a Update doc on using @api annotation 2015-04-02 16:23:54 +02:00
Tim Schaub 5bb7535207 Remove @api annotation from abstract method 2015-04-02 16:23:54 +02:00
Tim Schaub 587c06f565 Stable intersectsExtent method for geometries 2015-04-02 16:23:54 +02:00
Tim Schaub 6134a8bf7a Use @api annotations where geom methods are implemented 2015-04-02 16:23:53 +02:00
Tim Schaub 5c87efccdb Stable WMTS constructor and options 2015-04-02 16:23:53 +02:00
Tim Schaub cedc78972d Mark tile load events as stable 2015-04-02 16:23:53 +02:00
Tim Schaub 5fe6f07969 Make the source.getFeaturesInExtent() method exportable 2015-04-02 16:23:53 +02:00
Tim Schaub d79abe7448 Stable geometry methods 2015-04-02 16:23:53 +02:00