Commit Graph

16327 Commits

Author SHA1 Message Date
Frederic Junod
0fce3d5ec9 Remove goog.isDefAndNotNull test on ol.layer.Group#getLayers result
The return type of the function is {!ol.Collection.<ol.layer.Base>}
2015-04-08 12:16:39 +02:00
Éric Lemoine
b5a0ca0589 Merge pull request #3481 from elemoine/vectorapi
Proposal for a simpler vector API
2015-04-08 10:46:19 +02:00
Éric Lemoine
6a2498aa41 Add release notes for the new Vector API 2015-04-08 10:22:57 +02:00
Éric Lemoine
c40f84d4a7 Add test for ol.source.Vector#loadFeatures 2015-04-08 10:22:56 +02:00
Éric Lemoine
ce83fbdbe3 Rename rBush_ to featuresRtree_ in ol.source.Vector 2015-04-08 10:22:56 +02:00
Éric Lemoine
c3658de75a Make addFeature(s) ignore features with same id 2015-04-08 10:22:56 +02:00
Éric Lemoine
bb0ee1e6e9 Make ol.source.TileVector inherit from ol.source.Vector 2015-04-08 10:22:56 +02:00
Éric Lemoine
bdb326c310 Port vector examples to new vector API 2015-04-08 10:22:56 +02:00
Éric Lemoine
09b90c8424 Add loader and strategy to ol.source.Vector 2015-04-08 10:22:56 +02:00
Éric Lemoine
e86fd4afd4 Get rid of disliked vector classes 2015-04-07 17:36:57 +02:00
Tim Schaub
5a7d1f3ba1 Merge pull request #3472 from tschaub/unbound
Remove the experimental bindTo method from ol.Object.
2015-04-07 09:29:53 -06:00
Éric Lemoine
4f05872767 Merge pull request #3505 from elemoine/custom-builds
Add a Create Custom Builds tutorial
2015-04-07 17:26:50 +02:00
Frédéric Junod
596551502c Merge pull request #3513 from fredj/layergroup-cleanup
Remove layerGroup.setLayers(null) test
2015-04-07 17:26:12 +02:00
Tim Schaub
c3d5a2e9c4 Add upgrade notes regarding bindTo 2015-04-07 09:13:33 -06:00
Frederic Junod
a77c4ec6c5 Remove layerGroup.setLayers(null) test
Since 96f7d6323a, the `layers` parameter to `ol.layer.Group#setLayers` can't be `null`.
2015-04-07 17:08:12 +02:00
Éric Lemoine
b6b9f25b04 Add a Create Custom Builds tutorial 2015-04-07 16:55:38 +02: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
É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
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