Marc Jansen
a26f2a78eb
Add basic test for ol.binary.Buffer
2015-04-13 21:13:26 +02:00
Tim Schaub
5dfa9e0a67
Merge pull request #3548 from tschaub/slimer-error
...
Write the error stack instead of the error itself.
2015-04-13 06:49:28 -06:00
Tim Schaub
b9198f1f7b
Write the stack instead of an error
2015-04-13 06:32:36 -06:00
Tim Schaub
c6eed0e19a
Merge pull request #3542 from tschaub/examples
...
Generate example index and rebuild examples on source changes.
2015-04-13 06:13:12 -06:00
Bart van den Eijnden
ee67a9d2d4
Merge pull request #3530 from bartvde/issue-3530
...
external resources not correctly in inline source of example
2015-04-13 12:53:46 +02:00
Éric Lemoine
e636119c93
Merge pull request #3448 from elemoine/webgl-image-retina
...
Fix WebGL image layer rendering on retina displays
2015-04-13 11:16:53 +02:00
Tim Schaub
ec40d6afff
Merge pull request #3544 from tschaub/fixed
...
Update comments about remaining GeoJSON work.
2015-04-12 23:04:43 -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
Tobias Sauerwein
81f36f5e76
Merge pull request #3531 from mantonovic/master
...
Fix PointerEventHandler exception with Overlay containing SVG and IE9
2015-04-10 16:50:57 +02:00
Milan P. Antonovic
400e81431d
PointerEventHandler exception with Overlay containing SVG
...
Using an ol.Overlay as marker I put inside an SVG graphic element. As soon I move the mouse over the SVG the error appear.
In IE9 the SVG Element does not have the contains function so it throws the exception, on the contrary using goog.dom.contains it handles the cross-browser issues.
https://groups.google.com/forum/#!topic/ol3-dev/DBi2HCTqulU
2015-04-10 14:33:16 +02:00
Bart van den Eijnden
092ea0f9a1
Fix external resources in example code snippet
2015-04-10 09:22:01 +02:00
Frédéric Junod
0541fc31d8
Merge pull request #3521 from fredj/layergroup-cleanup
...
Remove goog.isDefAndNotNull test on ol.layer.Group#getLayers result
2015-04-08 15:38:28 +02:00
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
É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