Commit Graph
100 Commits
Author SHA1 Message Date
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
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
Tom Payne c2a97ced7d Merge pull request #1364 from twpayne/rbush-new-error
Add missing "new"s in ol.structs.RBush
2013-12-12 04:26:26 -08:00
Tom Payne 7b7ebb8609 Add missing "new"s in ol.structs.RBush 2013-12-12 13:01:25 +01:00
Tom Payne 87f147db60 Merge pull request #1341 from twpayne/mapguide-clean-ups
Tidy up ol.source.MapGuide and add ratio option
2013-12-06 12:50:43 -08:00
Tom Payne 43e4292ec9 Tidy up ol.source.MapGuide and add ratio option 2013-12-06 18:11:01 +01:00
Tom Payne 0a5cc8812c Merge pull request #1236 from jumpinjackie/master
MapGuide untiled map support
2013-12-06 08:59:57 -08:00
Tom Payne fac8936688 Merge pull request #1333 from twpayne/object-get-properties
Add ol.Object#getProperties
2013-12-05 07:40:32 -08:00
Tom Payne 7ae7c8e41e Merge pull request #1334 from twpayne/build-check
Don't build ol.css in check target
2013-12-05 07:40:13 -08:00
Tom Payne dfdec96ba7 Export ol.Object#getProperties 2013-12-05 16:32:41 +01:00
Tom Payne d9c94c7012 Don't build ol.css in check target 2013-12-05 13:12:39 +01:00
Tom Payne f795adcd56 Add ol.Object#getProperties 2013-12-04 19:19:51 +01:00
Tom Payne bcda3aa3c2 Merge pull request #1331 from twpayne/rbush-is-empty
Add ol.structs.RBush#isEmpty
2013-12-04 06:26:41 -08:00
Tom Payne 2be40a1ae6 Add ol.structs.RBush#isEmpty 2013-12-04 15:05:43 +01:00
Tom Payne b64e899b92 Merge pull request #1330 from twpayne/fail-if-major-performance-caveat
Don't use WebGL if there as a major performance caveat
2013-12-04 04:58:46 -08:00
Tom Payne 0d3583bd8d Improve type checking in WebGL support test 2013-12-04 11:59:29 +01:00
Tom Payne d6dc1a2c6f Don't use WebGL if there is a major performance caveat 2013-12-04 11:58:05 +01:00
Tom Payne 9895c0f084 Merge pull request #1324 from twpayne/rbush-improvements
RBush improvements
2013-11-27 06:37:52 -08:00
Tom Payne c00d748384 Update ol.interaction.Modify to use ol.structs.RTree#getAllInExtent 2013-11-27 15:11:42 +01:00
Tom Payne 5d3a5ae68e Fix infinite loop bug in ol.structs.RBush 2013-11-27 15:10:18 +01:00
Tom Payne f847b37261 Rename ol.structs.RBush#allInExtent to getAllInExtent 2013-11-27 15:10:18 +01:00
Tom Payne 828456d18e Rename ol.structs.RBush#all to getAll 2013-11-27 15:10:18 +01:00
Tom Payne 978041b68c Only activate ol.structs.RBush conflict checks when goog.DEBUG is true 2013-11-27 15:10:18 +01:00
Tom Payne 665781ee03 Throw an exception if an ol.structs.RBush is modified while reading 2013-11-27 15:10:17 +01:00
Tom Payne 92469901f7 Clone extents in ol.structs.RBush to prevent modification 2013-11-26 12:03:00 -07:00
Tom Payne 880f098f0f Add ol.structs.RBush#update 2013-11-26 12:02:59 -07:00
Tom Payne 7ec456fa70 Add FIXME 2013-11-26 12:02:59 -07:00
Tom Payne 1293294d40 Implement ol.structs.RBush#remove_ 2013-11-26 12:02:59 -07:00
Tom Payne b865a7c0e1 Don't check for under-full nodes when validating ol.structs.RBush
Removal can lead to under-full nodes.
2013-11-26 12:02:59 -07:00
Tom Payne 0ea7c2cd50 Refactor ol.structs.RBush tests 2013-11-26 12:02:59 -07:00
Tom Payne a76eba34e8 Add ol.structs.RBush#assertValid 2013-11-26 12:02:59 -07:00
Tom Payne e823e7fde3 Add ol.structs.RBush 2013-11-26 12:02:59 -07:00
Tom Payne f12355a17b Add optional destination argument to ol.extent.clone 2013-11-26 12:02:58 -07:00
Tom Payne 54d22735f2 Add ol.extent.getMargin 2013-11-26 12:02:58 -07:00
Tom Payne 2a6f5a6396 Add ol.extent.getIntersectionArea 2013-11-26 12:02:58 -07:00
Tom Payne 6b02c7f639 Add ol.extent.getEnlargedArea 2013-11-26 12:02:58 -07:00
Tom Payne b74c244088 Add ol.extent.getArea 2013-11-26 12:02:58 -07:00
Tom Payne df96c08e0e Return extent from ol.extent.extend 2013-11-26 12:02:57 -07:00
Tom Payne d994db46f6 Add ol.extent.createOrUpdateFromFlatCoordinates 2013-11-26 12:02:57 -07:00
Tom Payne 67bf15b5dc Add ol.extent.extendFlatCoordinates 2013-11-26 12:02:57 -07:00
Tom Payne ae9f03c8cb Add more extent functions 2013-11-26 12:02:57 -07:00
Tom Payne 9cbd8de188 Fix order of arguments to ol.extent.createOrUpdate 2013-11-26 12:02:57 -07:00
Tom Payne cf0fdff4e2 Add ol.extent.extendXY 2013-11-26 12:02:57 -07:00
Tom Payne 900bc176ae Avoid clearing canvas twice 2013-11-25 08:58:18 +01:00
Tom Payne fb2878c200 Merge pull request #1296 from twpayne/improve-type-checking
Improve type checking
2013-11-20 02:27:42 -08:00
Tom Payne a646753124 Improve type checking in ol.TileCache 2013-11-20 11:13:47 +01:00
Tom Payne d91479df06 Improve type checking in ol.source.DebugTile 2013-11-20 11:13:47 +01:00
Tom Payne 64021b130a Improve type checking in ol.renderer.webgl.TileLayer 2013-11-20 11:13:47 +01:00
Tom Payne 06b1456499 Improve type checking in ol.renderer.webgl.Layer 2013-11-20 11:13:47 +01:00
Tom Payne 2ba33b8cad Improve type checking in ol.renderer.webgl.ImageLayer 2013-11-20 11:13:46 +01:00
Tom Payne a613b19360 Improve type checking in ol.renderer.Layer 2013-11-20 11:13:46 +01:00
Tom Payne 0221f74e5c Improve type checking in ol.renderer.dom.TileLayer 2013-11-20 11:13:46 +01:00
Tom Payne 68bf12b5e1 Improve type checking in ol.renderer.dom.Map 2013-11-20 11:13:46 +01:00
Tom Payne d3981e2891 Improve type checking in ol.renderer.canvas.Map 2013-11-20 11:13:46 +01:00
Tom Payne e487e1b215 Improve type checking in ol.Collection 2013-11-20 10:57:45 +01:00
Tom Payne 78380feb30 Use ol.structs.PriorityQueue template in ol.TileQueue 2013-11-19 21:19:23 +01:00
Tom Payne 2d6354bb92 Use ol.structs.LRUCache template in ol.TileCache 2013-11-19 21:19:23 +01:00
Tom Payne 353555f740 Use templates in ol.structs.PriorityQueue 2013-11-19 21:19:22 +01:00
Tom Payne 9d92b9ee37 Use templates in ol.structs.LRUCache 2013-11-19 21:19:22 +01:00
Tom Payne c78754abba Activate more compiler checks 2013-11-19 21:19:22 +01:00
Tom Payne fe6d071709 Merge pull request #1290 from twpayne/improve-compile-times
Use -server -XX:+TieredCompilation to double compilation speeds
2013-11-19 08:09:05 -08:00
Tom Payne 655bd0727f Use -server -XX:+TieredCompilation to double compilation speeds 2013-11-19 15:51:03 +01:00
Tom Payne bba1de2679 Add tests for ol.Object#bindTo getters and setters 2013-11-13 16:13:08 +01:00
Tom Payne ee53fa7174 Merge pull request #1230 from glennvorhes/for_loop_iter
Remove declared iteration variables before for-loop
2013-11-05 02:00:23 -08:00
Tom Payne bfd40bd43d Merge pull request #1224 from twpayne/faster-object-getkeys
Make ol.Object#getKeys about 10x faster
2013-11-04 10:40:23 -08:00
Tom Payne 60245a57d8 Make ol.Object#getKeys about 10x faster 2013-11-04 18:18:31 +01:00
Tom Payne 0ad6948a15 Merge pull request #1209 from twpayne/collection-extend
Test that ol.Collection#extend fires events
2013-10-31 12:36:11 -07:00
Tom Payne 9442f2d209 Test that ol.Collection#extend fires events 2013-10-31 20:28:02 +01:00
Tom Payne a13c5d30a2 Merge pull request #1159 from twpayne/export-create-empty
Export ol.extent.createEmpty function
2013-10-24 04:21:55 -07:00
Tom Payne 740b6e8b56 Merge pull request #1149 from twpayne/bing-maps-errors
Improve handling of error responses from Bing
2013-10-21 04:59:55 -07:00
Tom Payne e4eff4658b Improve handling of error responses from Bing
Previously goog.asserts.assert was used to check that the response was
successful, which are stripped from compiled code.  This commit sets the
ERROR state on the source instead.
2013-10-21 12:02:55 +02:00
Tom Payne ba1a4cbac8 Merge pull request #1144 from twpayne/wms-logo
Add missing logo option for ol.source.TileWMS
2013-10-18 07:26:02 -07:00
Tom Payne 2a1bdf6b16 Add missing logo option 2013-10-18 15:56:05 +02:00