Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne bb8b1043d9 Add missing type declaration 2012-08-16 23:51:55 +02:00
Tom Payne f4e0404336 Defer WebGL resource deletion to post-frame 2012-08-16 23:43:33 +02:00
Tom Payne 5df59d047d Add gl.webgl.FREE_RESOURCES_IMMEDIATELY @define 2012-08-16 23:43:33 +02:00
Tom Payne ee59e877e0 Refactor animation logic 2012-08-16 23:43:33 +02:00
Tom Payne 867b36410b Add Map postrender event 2012-08-16 23:43:33 +02:00
Tom Payne 9b17d28b2b Add ol.webgl.tilelayerrenderer.logger 2012-08-16 23:43:32 +02:00
Tom Payne a49ea9bbed Enable finest logging in debug mode 2012-08-16 23:22:38 +02:00
Tom Payne b8edf651e9 Move ol.Collection.create to ol3.collection 2012-08-16 21:47:12 +02:00
Tom Payne a30b2f1795 Move ol.Object.createFromObject to its proper home as a simplified API function 2012-08-16 21:43:23 +02:00
Tom Payne 69cd2df009 Trigger render in Map, not MapRenderer 2012-08-16 18:32:38 +02:00
Tom Payne 5a9fe22e8c Avoid calling render() too early 2012-08-16 18:26:59 +02:00
Tom Payne 44cd3ceccb Re-order functions alphabetically 2012-08-16 17:56:19 +02:00
Tom Payne 4f2b6a0c22 Initialize all member variables in constructor 2012-08-16 16:42:56 +02:00
Tom Payne c157d4f01f Merge pull request #14 from openlayers/exp-remove-object-changed-methods
Remove support for *_changed methods
2012-08-14 08:21:19 -07:00
Tom Payne 65278c4322 Remove support for *_changed methods 2012-08-14 16:00:18 +02:00
Tom Payne 104c859f85 Satisfy gjslint 2012-08-14 15:09:57 +02:00
Tom Payne dafbd503a5 Use matrix inversion to calculate pixel to coordinate matrix 2012-08-14 09:37:48 +02:00
Tom Payne 477dc0b92b Fix direction of rotation in coordinate to pixel matrix 2012-08-14 09:37:16 +02:00
Tom Payne d9009eae10 Fix missed used of goog.webgl 2012-08-14 09:20:51 +02:00
Tom Payne 9b4b35f9eb Add two layers demo 2012-08-13 21:32:41 +02:00
Tom Payne d9eb9eda60 Add missing check 2012-08-13 21:31:41 +02:00
Tom Payne c7f78caec9 Check left mouse button is pressed in interactions 2012-08-13 18:41:10 +02:00
Tom Payne 8a2074a383 Don't listen to earlycancel dragger events
earlycancel drag events do not have a corresponding
goog.events.BrowserEvent object, which breaks many interactions.
2012-08-13 18:40:03 +02:00
Tom Payne 07c3cd3d8d Fix drag pan for rotated maps 2012-08-13 18:07:30 +02:00
Tom Payne 85fb3980b6 Add missing closing tag 2012-08-13 17:52:46 +02:00
Tom Payne 5ae3d25f52 Add some FIXMEs 2012-08-13 17:24:31 +02:00
Tom Payne e9e1b8eaa9 Improve handling of undefined coordinates 2012-08-13 17:24:25 +02:00
Tom Payne d5bd49d86b Use ol.control.MousePosition in demo 2012-08-13 16:45:10 +02:00
Tom Payne 85ca630935 Add ol.control.MousePosition 2012-08-13 16:45:10 +02:00
Tom Payne 6495cfb043 Add crude coordinate formatter 2012-08-13 16:45:10 +02:00
Tom Payne ec3475806e s/View/Control/, thanks @elemoine 2012-08-13 16:45:10 +02:00
Tom Payne 208db33bfc s/Control/Interaction/, thanks @elemoine 2012-08-13 16:45:10 +02:00
Tom Payne b2da697519 Revert "Improve WebGL pixel precision"
This reverts commit 05b6ca05fe.
2012-08-08 15:30:41 +02:00
Tom Payne ad2061ae5c Sort projections 2012-08-08 11:53:23 +02:00
Tom Payne e434695082 Make more projection constants private 2012-08-08 01:27:05 +02:00
Tom Payne 35cf4db8cf Remove stray variable 2012-08-08 01:20:57 +02:00
Tom Payne 7ed5f42fb9 Make some projection functions private, for now 2012-08-08 00:44:15 +02:00
Tom Payne e78986c954 Add Proj4js demo 2012-08-08 00:44:15 +02:00
Tom Payne 6bab81ffe7 Add Proj4js support 2012-08-08 00:44:15 +02:00
Tom Payne 4aa7745de5 Enable Proj4js externs 2012-08-08 00:37:41 +02:00
Tom Payne 21cb524a53 Better clean up in Makefile 2012-08-08 00:37:25 +02:00
Tom Payne 5062b71b3c Add simplified API demo 2012-08-07 20:31:09 +02:00
Tom Payne 6cb362218b Add initial simplified API 2012-08-07 20:29:19 +02:00
Tom Payne ebe132f765 Add reset rotation key to side-by-side demo 2012-08-07 17:48:38 +02:00
Tom Payne 05b6ca05fe Improve WebGL pixel precision 2012-08-07 17:46:06 +02:00
Tom Payne eab38e9042 Use Alt key instead of Shift for rotation 2012-08-07 17:20:42 +02:00
Tom Payne f76b34bc38 Consistent capitalization 2012-08-07 16:40:40 +02:00
Tom Payne 43a940027f Set events pane width and height in pixels 2012-08-07 16:38:27 +02:00
Tom Payne 991c61110b Use simple optimizations instead of whitespace only 2012-08-07 16:04:15 +02:00
Tom Payne c53e91e205 Degrade gracefully if WebGL is not supported 2012-08-07 15:53:51 +02:00
Tom Payne 74a332d166 Add side-by-side demo notes 2012-08-07 15:46:12 +02:00
Tom Payne afe85dd620 Add keyboard controls to side-by-side demo 2012-08-07 14:59:40 +02:00
Tom Payne 49dc2788d5 Add ol.control.Keyboard hack 2012-08-07 14:59:39 +02:00
Tom Payne 7612054913 Cosmetic touchups to side-by-side demo 2012-08-07 14:55:07 +02:00
Tom Payne 0a4d31417f Clean up build system and add demos 2012-08-07 14:17:15 +02:00
Tom Payne e1e64b0fde Add missing dependency 2012-08-07 13:18:55 +02:00
Tom Payne d8af9a2108 Friendlier type checking 2012-08-07 13:18:46 +02:00
Tom Payne 88d2299096 Use ShiftDragRotate instead of ShiftDragRotateAndZoom control by default 2012-08-07 13:18:20 +02:00
Tom Payne 7a675a0789 Clean up .gitignore 2012-08-07 12:12:35 +02:00
Tom Payne 9366ced2a8 Move to-be-merged code into attic 2012-08-07 12:11:25 +02:00
Tom Payne 1f5cda88c4 Replace ol.Tile.isLoaded with ol.Tile.getState 2012-08-07 12:07:55 +02:00
Tom Payne 2983a2ef02 Remove redundant call 2012-08-07 12:07:00 +02:00
Tom Payne 161b15c6aa Log WebGLContext{Lost,Restored} events in debug mode 2012-08-07 10:04:20 +02:00
Tom Payne 2443326d0e Use || operator instead of goog.isDef()/?: 2012-08-06 18:43:05 +02:00
Tom Payne 1b9015fab8 Add ol.layer.TileJSON 2012-08-06 18:02:40 +02:00
Tom Payne 0ea267b95b Use TileJSON externs 2012-08-06 17:59:55 +02:00
Tom Payne 1c98275ff2 Add TileJSON externs 2012-08-06 17:55:47 +02:00
Tom Payne 485a0f6403 Clean up after callback called 2012-08-06 17:55:30 +02:00
Tom Payne 75342968ce Add ol.layer.MapQuest{OSM,OpenAerial} 2012-08-06 15:51:46 +02:00
Tom Payne 9b50b96729 Use new tile server syntax 2012-08-06 15:50:49 +02:00
Tom Payne 3cb1d9f64f Add convenient syntax for specifying multiple tile servers 2012-08-06 15:50:12 +02:00
Tom Payne 4a76efbbc7 Use nicer zoom levels 2012-08-06 13:54:51 +02:00
Tom Payne b0fa84b38c Add specialized ol.tilegrid.XYZ.forEachTileCoordParentTileBounds 2012-08-06 13:45:22 +02:00
Tom Payne c4a9e970b5 Remove merged code 2012-08-06 10:49:59 +02:00
Tom Payne 0edb85f159 Clean up whitespace 2012-08-06 09:59:33 +02:00
Tom Payne bf2958494d Add another FIXME 2012-08-06 09:57:29 +02:00
Tom Payne 4675ae2285 Fix rendering at large zooms 2012-08-06 09:39:41 +02:00
Tom Payne 9d891c1339 Add missing require 2012-08-06 09:20:05 +02:00
Tom Payne d62f776be5 Fix zoom to anchor 2012-08-06 09:14:28 +02:00
Tom Payne fe8c064a2e Clean up calculation of framebuffer extent and size 2012-08-06 01:20:21 +02:00
Tom Payne 530724235a Add ol.webgl.Map.isImageTextureLoaded 2012-08-06 01:20:21 +02:00
Tom Payne 2a198bf255 Update FIXMEs 2012-08-06 01:20:21 +02:00
Tom Payne adbd86feb8 Use continuous zoom by default 2012-08-06 01:20:21 +02:00
Tom Payne aad50aa8a4 Add ol.control.ResolutionConstraint.createContinuous 2012-08-06 01:14:25 +02:00
Tom Payne 17c68a18fc Fix typo 2012-08-06 01:14:25 +02:00
Tom Payne 2d8514148d Order functions alphabetically 2012-08-06 00:20:41 +02:00
Tom Payne f776e3f616 Order functions alphabetically 2012-08-06 00:07:38 +02:00
Tom Payne bf6705a80d Improve algorithm for finding framebuffer size 2012-08-06 00:07:38 +02:00
Tom Payne 71c659396d Remove unused variable 2012-08-06 00:07:38 +02:00
Tom Payne d8cbe6c8fe Order functions alphabetically and clean up whitespace 2012-08-06 00:07:38 +02:00
Tom Payne f06d236383 Remove unused renderbuffer 2012-08-05 23:44:37 +02:00
Tom Payne 9cff381149 Use vec4 rather than mat4 for linear tile transforms 2012-08-05 23:42:43 +02:00
Tom Payne a38dc0db28 Add interim tiles 2012-08-05 23:17:56 +02:00
Tom Payne 9861cd4ddc Remove unused code 2012-08-05 23:13:02 +02:00
Tom Payne 3e4b132446 Replace getTileTexture with bindImageTexture 2012-08-05 01:13:30 +02:00
Tom Payne e0509d7d08 s/framebufferTileBoundsExtent/framebufferExtent/ 2012-08-05 00:39:52 +02:00
Tom Payne d7623356fc More explict key variable names 2012-08-05 00:38:27 +02:00
Tom Payne a3b73d5fd4 s/forEachTileCoordParent/forEachTileCoordParentTileBounds/ 2012-08-05 00:32:02 +02:00
Tom Payne c2b1a94298 Don't re-use ol.TileCoord object 2012-08-04 18:46:54 +02:00
Tom Payne 051175ea68 Add another FIXME 2012-08-04 16:53:48 +02:00