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
Éric Lemoine
600b76e9a2
Merge pull request #3511 from elemoine/googprovide
...
Add goog.provide's
2015-04-07 15:20:14 +02:00
É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
Éric Lemoine
9ce3bc7f3d
Fix WebGL image layer rendering on retina displays
...
This commit takes the device pixel ratio into account when calculating the matrix used to apply the image to the output canvas.
2015-04-07 12:13:16 +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