Commit Graph

6890 Commits

Author SHA1 Message Date
É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 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
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
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 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 e5c6915761 Update documentation 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 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
É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 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
Tim Schaub 1a10686299 Attribution docs 2015-04-04 17:36:46 +02:00
Tim Schaub 4463e173e6 Animation docs 2015-04-04 17:36:46 +02:00
Éric Lemoine 3267dbf92e Merge pull request #3494 from gberaudo/api_vector_context
Mark VectorContext @api
2015-04-04 17:04:25 +02:00
Bart van den Eijnden f10cbba36f Merge pull request #3409 from bartvde/issue-3409
AssertionError in WMTS.optionsFromCapabilities.
2015-04-04 16:34:39 +02:00
Tobias Sauerwein 28a13e3b26 Merge pull request #3493 from tsauerwein/image-static-load
Add image loading events to ol.source.ImageStatic
2015-04-04 15:33:32 +02:00
Guillaume Beraudo 1553b88b9d Mark VectorContext @api
VectorContext type must be present in Ol3 externs to compile ol3-cesium.
Previously, the `IVectorContext` interface was exported to the externs.
2015-04-04 15:19:56 +02:00
tsauerwein 7c83581566 Add image loading events to ImageStatic 2015-04-04 15:18:35 +02:00
Guillaume Beraudo 0e32456108 Use an abstract base class instead of IVectorContext
By having the abstract methods in the base class, subclasses can simply
override the methods they actually provide.
Additionally, this change fixes a regression in webgl canvas immediate.
2015-04-04 13:47:53 +02:00
Bart van den Eijnden 5e71fe4964 Make ol.source.WMTS work with ArcGIS WMTS 2015-04-04 13:42:06 +02:00
tsauerwein b911d740d8 Clarify rotation docs 2015-04-04 09:41:29 +02:00
Andreas Hocevar d678e9e9a3 Merge pull request #3462 from ahocevar/gml-base-noapi
Remove ol.format.GMLBase from the API
2015-04-04 09:09:44 +02:00
Éric Lemoine 7c0977de45 Merge pull request #3420 from elemoine/leaks
Unregister viewport size listener on setTarget(null)
2015-04-03 20:07:20 +02:00
Tobias Sauerwein 8c2700b3c8 Merge pull request #3455 from tsauerwein/webgl-loaded-icon
Fix pre-loaded icons images for WebGL
2015-04-02 20:29:29 +02:00
tsauerwein ed1d9cc8fc Add imgSize to Icon options 2015-04-02 19:18:38 +02:00
Tim Schaub 5bb7535207 Remove @api annotation from abstract method 2015-04-02 16:23:54 +02:00