Commit Graph
100 Commits
Author SHA1 Message Date
Tim Schaub ab24d9043e Minimal source control links 2015-08-07 12:46:15 -06:00
Tim Schaub 6dc7f2cfec Remove footer with timestamp 2015-08-07 11:22:07 -06:00
Tim Schaub 0691d1d74e Rebuild examples if package.json changes 2015-08-07 11:00:28 -06:00
Tim Schaub 0c06a429fb Update package version to 3.8.2 2015-08-07 10:18:53 -06:00
Tim Schaub 4233061dda Changelog vor v3.8.2 2015-08-07 10:18:21 -06:00
Tim Schaub 47b53ded6d Update package version to 3.8.1 2015-08-06 09:12:51 -06:00
Tim Schaub 3c8aeb7287 Changelog for v3.8.1 2015-08-06 09:12:08 -06:00
Tim Schaub f695cb012a Pull builds from openlayers.org 2015-08-05 21:29:08 -06:00
Tim Schaub ad2b4a3863 Configure travis-ci/push job to only build pushes to master 2015-08-04 00:32:39 -06:00
Tim Schaub 91d6844ecd Install latest dependencies before building 2015-08-04 00:30:39 -06:00
Tim Schaub 81b7a77954 Update package version to 3.8.0 2015-08-04 00:03:33 -06:00
Tim Schaub 91045b0ad1 Changelog for v3.8.0 2015-08-04 00:03:24 -06:00
Tim Schaub 571f3f30a4 Regression test for shared vertex deletion 2015-08-03 23:07:19 -06:00
Tim Schaub 85ddded15c Only remove the vertex feature if it exists
When deleting a vertex shared by multiple features, we iterate through drag segments and only need to remove the vertex feature once.
2015-08-03 22:44:22 -06:00
Tim Schaub cee34fa51b Table for controls 2015-08-03 21:33:46 -06:00
Tim Schaub 16aa548383 Only create a worker if an operation is provided 2015-08-03 21:32:16 -06:00
Tim Schaub 860fdabd76 Simplify raster sources by working with a single operation 2015-08-03 20:10:46 -06:00
Tim Schaub f2f5cd2630 Make seed coordinate sticky 2015-08-01 17:06:40 -06:00
Tim Schaub 4320b07c5d Doc corrections 2015-08-01 16:33:43 -06:00
Tim Schaub 0c486c522a Allow UI thread to be used
Where workers are not available, or if operations are trivial to run, the main UI thread can be used instead.  This also adds tests that run in real browsers.
2015-07-21 17:12:08 -06:00
Tim Schaub af3c38052e Avoid examples that cannot be run in Phantom 2015-07-21 17:12:08 -06:00
Tim Schaub f1ff39cc8b Avoid compiling the shaded relief example
The compiler doesn't support the use of the ImageData constructor.
2015-07-21 17:12:08 -06:00
Tim Schaub 643c2e6f21 Only update canvas if not dirty 2015-07-21 17:12:07 -06:00
Tim Schaub d5aa0d9a8e Update example to work with the latest pixelworks 2015-07-21 17:12:07 -06:00
Tim Schaub 793b27e9f5 Allow operations to be updated 2015-07-21 17:12:07 -06:00
Tim Schaub 9d28549b2b Pass along potentially modified data 2015-07-21 17:12:07 -06:00
Tim Schaub ef90f5a097 Run operations in a worker 2015-07-21 17:12:07 -06:00
Tim Schaub c50d775330 Vertical exaggeration control 2015-07-21 17:12:07 -06:00
Tim Schaub 6da6cef760 Improved shaded relief example 2015-07-21 17:12:07 -06:00
Tim Schaub 1d94d71a5b Shaded relief example 2015-07-21 17:12:07 -06:00
Tim Schaub 65fee5b7ac Pass data object to operations 2015-07-21 17:12:07 -06:00
Tim Schaub 5267776627 Provide extent and resolution in raster events 2015-07-21 17:12:06 -06:00
Tim Schaub a721ce03c9 Support for image or pixel operations 2015-07-21 17:12:06 -06:00
Tim Schaub 23e2fcefef Only render if sources are ready 2015-07-21 17:12:06 -06:00
Tim Schaub d17d470d48 Fire change when updating operations 2015-07-21 17:12:06 -06:00
Tim Schaub c6dedbc40b Use the first pixel for rendering, allow setting operations 2015-07-21 17:12:06 -06:00
Tim Schaub de107c5502 Frame and canvas have equal size 2015-07-21 17:12:06 -06:00
Tim Schaub 6740ca9ee8 More interactive example 2015-07-21 17:12:06 -06:00
Tim Schaub 2c82ca86f0 Fire events before and after running ops 2015-07-21 17:12:06 -06:00
Tim Schaub b7ad9160ef Nicer example 2015-07-21 17:12:06 -06:00
Tim Schaub acc97a53eb Raster source for composing pixels from other sources 2015-07-21 17:12:05 -06:00
Tim Schaub 7509425aa4 Install Python dependencies without sudo 2015-07-10 11:00:13 -06:00
Tim Schaub 4549d2f7a8 Try multiple ports 2015-07-09 10:49:24 -06:00
Tim Schaub 7780d77ade Update to closure-util@1.5.0 2015-07-09 10:16:15 -06:00
Tim Schaub bfaac061c8 Provide a debug loader for the library 2015-07-09 10:16:15 -06:00
Tim Schaub a705c6fe11 Test two queues sharing tiles 2015-07-08 15:12:31 -06:00
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