Commit Graph

16305 Commits

Author SHA1 Message Date
Éric Lemoine 765fc4c279 Add a type alias to goog.vec.Number
This addition is related to the definition of olx.FrameState in olx.js. Without this alias and corresponding goog.provide in src/ol/vec/mat4.js we get this error when compiling an OpenLayers application:

ERR! compile node_modules/openlayers/externs/olx.js:6853: ERROR - Bad type annotation. Unknown type goog.vec.Mat4.Number
ERR! compile  *     coordinateToPixelMatrix: goog.vec.Mat4.Number,

Currently, the Closure Library does not have a goog.provide for goog.vec.Mat4.Number. If it did have this goog.provide then we wouldn't have the error.

This commit works around the issue by creating our own type alias (ol.vec.Mat4.Number) and adding a goog.provide for that type alias.
2015-04-07 14:10:46 +02:00
Éric Lemoine e45c44fa01 Add missing goog.provide's 2015-04-07 13:49:36 +02:00
Pierre GIRAUD 5843654650 Merge pull request #3509 from pgiraud/geometry_changed_null
Dispatch change event even when geometry is set to null
2015-04-07 12:39:48 +02:00
Pierre GIRAUD 99e8787c63 Merge pull request #3510 from pgiraud/change_event_test
Use sinon.spy to ensure change event is dispatched
2015-04-07 12:35:01 +02:00
Pierre GIRAUD d27d59f445 Use sinon.spy to ensure change event is dispatched 2015-04-07 12:21:01 +02:00
Pierre GIRAUD 5eb13660d3 Dispatch change event even when geometry is set to null 2015-04-07 12:12:07 +02:00
Tim Schaub 0789604e88 Merge pull request #3504 from tschaub/build-examples
Rework build-examples.js task.
2015-04-06 11:27:00 -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
Tobias Sauerwein c36c67779e Merge pull request #3470 from tsauerwein/rendering-tests
Add rendering tests
2015-04-06 13:49:51 +02:00
tsauerwein f99196c466 Fix failing test 2015-04-06 13:36:43 +02:00
tsauerwein c0a23dc818 Add first rendering tests 2015-04-06 13:36:35 +02:00
Tobias Sauerwein 91b12c1d34 Merge pull request #3413 from tsauerwein/ext-browserify
Add support for generic external modules with Browserify
2015-04-06 13:25:45 +02: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 80048bd290 Merge pull request #3503 from tschaub/vector-source
Use vector source instead of feature overlay in snap example.
2015-04-06 03:23:51 -06:00
Éric Lemoine 17d1cff110 Merge pull request #3495 from bjornharrtell/tutorial-basic
Initial basic project setup tutorial
2015-04-05 17:53:27 +02:00
Tim Schaub 274b70bde3 Use vector source in snap example 2015-04-05 16:55:42 +02:00
Björn Harrtell 421db6783f Browserify tutorial 2015-04-05 13:08:46 +02:00
Tim Schaub 228491344d Merge pull request #3488 from tschaub/doc
Add docs for exportable symbols.
2015-04-04 23:37:17 +02:00
Éric Lemoine 1c471cca6c Merge pull request #3441 from elemoine/compile-application
Add a "Compile Application and OpenLayers 3 Together" tutorial
2015-04-04 23:33:00 +02:00
Éric Lemoine 8cbd991001 Merge pull request #3499 from elemoine/closure-util-update
Update to closure-util 1.4.0
2015-04-04 23:32:44 +02:00
Éric Lemoine 58895f73ac Fix compile error in image-filter example 2015-04-04 23:20:49 +02:00
Éric Lemoine 4130e7803a Update compile config used to build individual examples 2015-04-04 23:18:57 +02:00
Éric Lemoine 2892e36d29 Update to closure-util 1.4.0 2015-04-04 22:46:07 +02:00
Éric Lemoine 953b8ff86f Update the tutorials index 2015-04-04 22:44:29 +02:00
Éric Lemoine 6705a34358 Add "closure" tutorial
Tutorial describing how to compile application and OpenLayers together.
2015-04-04 22:43: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