Commit Graph
100 Commits
Author SHA1 Message Date
Tom Payne 10c85f3d07 Add ol.Pixel 2012-07-29 17:09:32 +02:00
Tom Payne 6d83205c08 Remove unused require 2012-07-29 17:09:32 +02:00
Tom Payne b45a211cdc Use matricies for pixel/coordinate transforms 2012-07-29 17:09:32 +02:00
Tom Payne 2607399a48 Add rotation property 2012-07-29 11:13:50 +02:00
Tom Payne 74b67a2e3a Fix intermediate zoom levels in WebGL tile layer renderer 2012-07-29 11:05:13 +02:00
Tom Payne 12956da634 Add another FIXME 2012-07-28 23:47:14 +02:00
Tom Payne ef91733505 Use consistent variable names between WebGL and DOM tile layer renderers 2012-07-28 23:42:27 +02:00
Tom Payne 6ef859b07e Avoid recalculating extent 2012-07-28 23:35:26 +02:00
Tom Payne a4727c4ef7 Add missing dependencies 2012-07-28 23:26:34 +02:00
Tom Payne 5c0498a958 Use public methods where available 2012-07-28 23:19:14 +02:00
Tom Payne 88d1759751 Add more FIXMEs 2012-07-28 23:18:41 +02:00
Tom Payne 90a4fe9625 Layer loads should be handled by LayerRenderers, not the Map 2012-07-28 16:25:57 +02:00
Tom Payne 7144e7ad0b Use Closure logging infrastructure for WebGL errors 2012-07-28 16:01:38 +02:00
Tom Payne b88c4f5888 Activate Closure logging infrastructure 2012-07-28 16:01:14 +02:00
Tom Payne c4f9e3656b Don't use webgl-debug.js 2012-07-28 15:57:53 +02:00
Tom Payne 83077d2754 Clean up whitespace 2012-07-28 15:40:46 +02:00
Tom Payne 0ae4555f30 Add initial ol.layer.BingMaps 2012-07-28 01:23:40 +02:00
Tom Payne 08735e30ff Make attributions an array of strings rather than a string 2012-07-28 01:15:33 +02:00
Tom Payne b59fe13242 Make ol.Rectangle.intersects a member function rather than a static function 2012-07-28 01:15:33 +02:00
Tom Payne bf20ec718e Remove dead function 2012-07-28 01:15:33 +02:00
Tom Payne c9bbf37fb0 Add another FIXME 2012-07-28 01:15:32 +02:00
Tom Payne 0804283543 Make ol.TileStore.tileGrid and tileUrlFunction protected 2012-07-28 01:15:32 +02:00
Tom Payne 6c4e91b9f6 Force render when layers load 2012-07-28 01:15:32 +02:00
Tom Payne ade0d17541 Only iterate over ready, visible layers 2012-07-28 01:15:32 +02:00
Tom Payne 6ceeac2427 Add ol.Layer.isReady 2012-07-27 23:34:11 +02:00
Tom Payne 04f71183e8 Add ol.Store.isReady 2012-07-27 23:32:48 +02:00
Tom Payne 588f8df8ba Pass optional tile size through ol.tilegrid.XYZ 2012-07-27 20:15:27 +02:00
Tom Payne caf67ac5ba Use strings rather than RegExps in replace 2012-07-27 20:15:03 +02:00
Tom Payne 215d1ec8db Clean up Makefile 2012-07-27 18:07:27 +02:00
Tom Payne 1afea5ca0c Update tests 2012-07-26 01:52:19 +02:00
Tom Payne c4f9704f4f Add ol.TileUrlFunction.nullTileUrlFunction 2012-07-26 01:38:44 +02:00
Tom Payne f193a94847 Correct type declaration of ol.TileUrlFunction 2012-07-26 01:38:44 +02:00
Tom Payne 69fabce0c0 Rename toQuadKey to quadKey 2012-07-26 01:38:31 +02:00
Tom Payne 96b02904ef Sort .gitignore 2012-07-26 00:27:59 +02:00
Tom Payne b64d0ffdf1 Add initial Bing Maps externs 2012-07-26 00:25:46 +02:00
Tom Payne ed4a888469 Use inheritance rather than creating an instance for OpenStreetMap, make attribution a function rather than a property 2012-07-26 00:25:03 +02:00
Tom Payne bcee2d3a12 Auto-generate ol.js 2012-07-26 00:23:18 +02:00
Tom Payne f3d9b3332c Move code to be merged into src/attic 2012-07-26 00:21:37 +02:00
Tom Payne 8d936e7865 Rename ol.TileCoord.fromString to createFromString 2012-07-25 17:43:08 +02:00
Tom Payne 7902803063 Add ol.TileCoord.toQuadKey and createFromQuadKey 2012-07-25 17:39:38 +02:00
Tom Payne 3ddb1137cc Use undefined, not null, found in parallel with @elemoine 2012-07-24 22:34:31 +02:00
Tom Payne 228547d0fe Add ol.Map.isDef 2012-07-24 20:47:34 +02:00
Tom Payne 042434bc54 Make cross origin 'anonymous' by default 2012-07-24 15:17:35 +02:00
Tom Payne b1012b5b86 Make extent a function rather than a property 2012-07-24 15:17:35 +02:00
Tom Payne 58bd2182a6 Remove some unnecessary parentheses 2012-07-22 22:37:43 +02:00
Tom Payne 269bd9387e Rename freeze/thaw to freezeRendering/unfreezeRendering 2012-07-22 22:37:43 +02:00
Tom Payne a2f24b9d43 Check that values are in range and avoid unnecessary updates 2012-07-22 22:37:43 +02:00
Tom Payne b809bde576 Activate keyboard zoom by default 2012-07-22 14:54:17 +02:00
Tom Payne 5aa01a4b6b Add ol.control.KeyboardZoom 2012-07-22 14:54:17 +02:00
Tom Payne 0edac78bd0 Activate keyboard pan control by default 2012-07-22 14:54:17 +02:00
Tom Payne ce0866dac4 Add ol.control.KeyboardPan 2012-07-22 14:54:17 +02:00
Tom Payne 463084ab3e Handle keyboard events 2012-07-22 14:54:17 +02:00
Tom Payne 7ed71f7149 Make browserEvent property public 2012-07-22 14:54:17 +02:00
Tom Payne 5e2a5dfbc4 Add missing require 2012-07-22 14:54:17 +02:00
Tom Payne 4b433f0c9b Move file missed in earlier clean-up 2012-07-22 14:54:17 +02:00
Tom Payne ea623b7be6 Fix some stupid bugs in ol.TileBounds 2012-07-22 12:18:56 +02:00
Tom Payne 8987dc8607 Improve modularity 2012-07-22 12:17:06 +02:00
Tom Payne cbafc0795d Add another FIXME 2012-07-22 11:40:48 +02:00
Tom Payne 511ca18b23 Tidy up fragment shader 2012-07-22 11:40:47 +02:00
Tom Payne ec2ab8265c Add brightness and contrast controls, thanks @evanw 2012-07-22 11:40:47 +02:00
Tom Payne 883089c3d1 Sort properties 2012-07-22 11:40:47 +02:00
Tom Payne f280faff67 Add hue and saturation controls, thanks @evanw 2012-07-22 11:40:47 +02:00
Tom Payne 21e3f2fe83 Promote opacity/visibility changes into base class 2012-07-22 11:40:47 +02:00
Tom Payne 65b7504c9f Clean up directory structure 2012-07-22 11:40:47 +02:00
Tom Payne 3eefbaa337 Remove merged code 2012-07-22 03:10:33 +02:00
Tom Payne abc1b4ff04 Rename redraw to render 2012-07-22 03:10:33 +02:00
Tom Payne 33449e657a Add various FIXMEs 2012-07-22 03:10:32 +02:00
Tom Payne f859a48033 Enable side-by-side DOM and WebGL demo 2012-07-22 03:10:32 +02:00
Tom Payne 4906bdced5 Add working WebGL renderer 2012-07-22 03:10:32 +02:00
Tom Payne c82bacb762 Add ol.TileBounds.equals 2012-07-22 03:06:26 +02:00
Tom Payne f46c9e12fb Add ol.TileBounds.containsTileBounds 2012-07-22 03:06:25 +02:00
Tom Payne 89efc96dd5 Don't bother making forEachTileCoord abortable 2012-07-21 01:08:44 +02:00
Tom Payne 277c1ea3a6 Use XYZ to indicate OpenStreetMap-style tile grids 2012-07-21 01:05:55 +02:00
Tom Payne 0602942cf8 Add ol.Color 2012-07-21 01:05:55 +02:00
Tom Payne 0d7426e1be Fix bug where forEachVisibleLayer returned invisible layers 2012-07-21 01:05:55 +02:00
Tom Payne e81e857d75 Merge pull request #12 from fredj/plovr-download
Fix plovr download path
2012-07-20 10:25:08 -07:00
Tom Payne 1190bc08db Make demo layer more opaque 2012-07-19 15:47:19 +02:00
Tom Payne e2824745d1 Ensure visibility and opacity are set when DOM layer renderer is created 2012-07-19 15:46:02 +02:00
Tom Payne 08b4ef665b Call inherited method, thanks @elemoine 2012-07-19 14:58:02 +02:00
Tom Payne 9ce406c203 Fix type, thanks @elemoine 2012-07-19 10:48:25 +02:00
Tom Payne 513d8e7268 Create ol.Size around goog.math.Size 2012-07-19 10:46:43 +02:00
Tom Payne c547404615 Create ol.Coordinate around goog.math.Coordinate 2012-07-19 10:34:12 +02:00
Tom Payne d62ba69458 Order controls alphabetically 2012-07-19 10:10:07 +02:00
Tom Payne 33d252f0f7 Only start drag pan if shift key is not pressed 2012-07-19 10:08:35 +02:00
Tom Payne 5e39d051e6 Set default user projection to EPSG:4326 2012-07-19 10:02:34 +02:00
Tom Payne e0d17ca09c Add user projections 2012-07-19 10:02:34 +02:00
Tom Payne 305462f57a Stricter type checking for map projection 2012-07-19 10:02:34 +02:00
Tom Payne 43c32e6da7 Differentiate between identity and clone transforms 2012-07-19 09:51:08 +02:00
Tom Payne 5ace389ccb Redraw map when WebGL context is restored 2012-07-19 09:12:22 +02:00
Tom Payne d83235b5dc Include drag zoom control in default map 2012-07-19 00:29:25 +02:00
Tom Payne d47eb3453f Implement initial drag zoom control (shift + drag) 2012-07-19 00:29:25 +02:00
Tom Payne 3ff84dce9b Add ol.Extent.boundingExtent 2012-07-19 00:29:25 +02:00
Tom Payne 4e347dcf45 Don't drag on incompletely defined maps 2012-07-19 00:29:25 +02:00
Tom Payne 0e3b97a0b6 s/event/mapBrowserEvent/g 2012-07-19 00:29:25 +02:00
Tom Payne 1d6101a5a1 Implement ol.control.DragPan 2012-07-19 00:29:25 +02:00
Tom Payne 4299cf4fae Add startCenter and startCoordinate to ol.control.Drag 2012-07-19 00:29:24 +02:00
Tom Payne 82b8a46752 Use RAW mode for demo while ol.Object is not adapted for compiled mode 2012-07-19 00:29:24 +02:00
Tom Payne 15d2ad984b Bind map layers in demo 2012-07-19 00:29:24 +02:00
Tom Payne a6e2b501bd Enable DOM renderers to share tile layers 2012-07-19 00:29:24 +02:00
Tom Payne 4ddcfcc037 Add context argument to Tile.getImage to support re-use in DOM renderer 2012-07-19 00:29:24 +02:00