Tom Payne
d63fec80d1
Use goog.object.get to suppress compiler warning about use of [] with struct
2013-12-13 20:36:32 +01:00
Tom Payne
6e3bcc7478
Make ol.Object#listeners_ a private renameable property
2013-12-13 20:35:27 +01:00
Tom Payne
b48fd51561
Make ol.Object#accessors_ a private renameable property
2013-12-13 20:34:56 +01:00
Tom Payne
b242756f03
Merge pull request #1377 from twpayne/struct
...
Improve type checking with @struct
2013-12-13 10:39:21 -08:00
Tom Payne
fdbb9f8d9e
Fix type errors in vector-layer-sld example
2013-12-13 19:30:11 +01:00
Tom Payne
4470480dc9
Improve use of view in device-orientation example
2013-12-13 19:27:52 +01:00
Tom Payne
ee2098743d
Correct types in ol.layer.Group
2013-12-13 19:16:31 +01:00
Tom Payne
e96d56215b
Add typecasts so examples compile
2013-12-13 19:16:05 +01:00
Tom Payne
59779bdcc5
Correct return types of ol.layer.Base methods
2013-12-13 18:59:26 +01:00
Tom Payne
d19ce18a31
Fix return type of ol.Map#getView
2013-12-13 18:59:26 +01:00
Tom Payne
9dc3dc6c11
Make ol.renderer.Layer a @struct
2013-12-13 18:59:26 +01:00
Tom Payne
a11c64934c
Make ol.renderer.Map a @struct
2013-12-13 18:59:26 +01:00
Tom Payne
fbc23499e4
Add @struct annotation for simple classes
2013-12-13 18:59:26 +01:00
Tom Payne
2bcfa9ee00
Fix type errors in ol.renderer.webgl.Map
2013-12-13 18:59:25 +01:00
Tom Payne
fd733eca82
Use assertInstanceof instead of typecast
2013-12-13 18:59:25 +01:00
Tom Payne
b12bed8949
Use assertInstanceof instead of getImageSource
2013-12-13 18:59:25 +01:00
Tom Payne
c9b0d0bf0e
Use assertInstanceof instead of getImageLayer
2013-12-13 18:59:25 +01:00
Tom Payne
e11d8bf717
Use assertInstanceof instead of getTileSource
2013-12-13 18:59:25 +01:00
Tom Payne
8d5e46622c
Use assertInstanceof instead of getTileLayer
2013-12-13 18:59:25 +01:00
Tom Payne
3681b3c669
Always use goog.vec.Mat4.Number instead of goog.vec.Mat.AnyType
2013-12-13 18:59:25 +01:00
Tom Payne
5f0ea858ec
Fix multiple type errors in getFeatureInfoForPixel
2013-12-13 18:59:24 +01:00
Tom Payne
a93e0b85df
Improve type checking in ol.interaction.DragPan
2013-12-13 18:59:24 +01:00
Tom Payne
6dedac6ed8
Improve type checking in ol.interaction.TouchPan
2013-12-13 18:59:24 +01:00
Tom Payne
408a75426b
Improve type checking in ol.control.Zoom
2013-12-13 18:59:24 +01:00
Tom Payne
35768f8b48
Improve type checking in ol.interaction.Interaction
2013-12-13 18:59:24 +01:00
Tom Payne
b39ae367e7
Improve type checking in ol.canvas.SUPPORTED
2013-12-13 18:59:24 +01:00
Tom Payne
8f6952c56c
Fix use of ol.IView2D in ol.interaction.TouchPan
2013-12-13 18:59:24 +01:00
Tim Schaub
a926b15472
Merge pull request #1375 from tschaub/generate-exports
...
Remove handling of @exportClass and @exportFunction.
2013-12-13 09:12:08 -08:00
Tom Payne
49369b8800
Fix use of ol.IView2D in ol.interaction.DragRotate
2013-12-13 18:04:48 +01:00
Tom Payne
d43eb6dcb7
Fix use of ol.IView2D in ol.interaction.DragRotateAndZoom
2013-12-13 18:04:48 +01:00
Tom Payne
d81c8d6f92
Fix use of ol.IView2D in ol.interaction.DragPan
2013-12-13 18:04:48 +01:00
Tom Payne
2bf7dc5568
ol.interaction.Interaction methods should take ol.IView2Ds, not ol.View2Ds
2013-12-13 18:04:48 +01:00
Tom Payne
3bb2306f79
Work around compiler not detecting implementation of abstract methods
2013-12-13 18:04:47 +01:00
Tom Payne
0b1a2325cd
Define isDef on ol.IView2D, ol.IView3D and ol.View
2013-12-13 18:04:47 +01:00
Tim Schaub
b77a29f2f4
Remove handling of @exportFunction
2013-12-13 08:50:38 -07:00
Tim Schaub
ad0212ea69
Remove handling of @exportClass
2013-12-13 08:47:47 -07:00
Tim Schaub
0ed59f7be3
Merge pull request #1348 from tschaub/beforechange
...
Add `ol.ObjectEvent` for changes to `ol.Object` properties. Previously, `ol.Object` dispatched instances of `goog.events.Event` with type `change`. Now `ol.ObjectEvent` instances will be dispatched on property changes. The events include a `getKey` method to get the name of the property being changed. The `beforepropertychange` type event is fired before a property value changes, and the `propertychange` type event fires after the property value changes.
2013-12-13 07:28:36 -08:00
Éric Lemoine
93e605b119
Merge pull request #1350 from elemoine/gutter
...
Add gutter support to ol.source.TileWMS
2013-12-13 01:11:42 -08:00
Bart van den Eijnden
fbf2bae90e
Merge pull request #1366 from bartvde/wkt-data
...
wkt example is broken
2013-12-12 23:59:03 -08:00
Éric Lemoine
ca07b4ef47
Merge pull request #1371 from elemoine/getbrowserevent
...
Add ol.MapBrowserEvent#getBrowserEvent
2013-12-12 23:41:01 -08:00
Éric Lemoine
b8a0112a91
Merge pull request #930 from elemoine/externs
...
Use @exportSymbol instead of @exportClass|Function
2013-12-12 23:40:44 -08:00
Tim Schaub
20d74810ab
Export a getKey method on ol.ObjectEvent
2013-12-12 16:59:34 -07:00
ahocevar
95c717ad32
Merge pull request #1370 from ahocevar/unnest-loops
...
Unnest loops
2013-12-12 15:12:19 -08:00
ahocevar
c4ec53bbdb
Unnest loops
...
Reusing the iterator in a nested loop is not a good idea. And in
this case it is better to not have nested loops at all, because
we only have to create one array.
2013-12-12 17:57:14 +01:00
Bart van den Eijnden
15eec2959c
use official EPSG code
2013-12-12 17:02:15 +01:00
Éric Lemoine
7fa3a38081
external/src/types.js file no longer exists
2013-12-12 16:57:39 +01:00
Bart van den Eijnden
069f6cce1a
remove projection on vector source
2013-12-12 16:54:38 +01:00
Bart van den Eijnden
e7fe809227
now that the data option was removed, parse features manually
2013-12-12 16:02:06 +01:00
Éric Lemoine
b709820777
Use olx for some parser options types
2013-12-12 15:22:47 +01:00
Éric Lemoine
f15694844d
Line is too long
2013-12-12 15:22:18 +01:00