Tom Payne
25e1211621
Merge pull request #430 from twpayne/fix-bing-maps-scope
...
Fix use of this in ol.source.BingMaps
2013-03-24 11:52:50 -07:00
Tom Payne
e62178759c
Fix use of this in ol.source.BingMaps
2013-03-24 19:26:34 +01:00
Tom Payne
3fbf7b8c20
Merge pull request #357 from twpayne/load-low-resolution-tiles
...
Load low resolution tiles
2013-03-23 06:00:45 -07:00
Tom Payne
cb1b1b8883
Merge pull request #418 from twpayne/webgl-core-improvements
...
WebGL core improvements
2013-03-23 05:55:23 -07:00
Tom Payne
80df629319
Premptively load low resolution tiles
2013-03-22 21:02:09 +01:00
Tom Payne
e3abe376f1
Remove ol.source.TileSource.useLowResolutionTiles
2013-03-22 21:02:06 +01:00
Tom Payne
24452b0bcb
Use operators instead of Math.max/min
2013-03-22 19:27:52 +01:00
Tom Payne
876fea2fb7
Rename shader variables to match CSS specification
2013-03-22 18:02:31 +01:00
Tom Payne
b7184641b0
Use shorter module name and clean up requires
2013-03-22 17:58:15 +01:00
Tom Payne
72437ff57b
Use more compact constants
2013-03-22 17:33:19 +01:00
Tom Payne
69370ce629
Use ol.structs.Buffer.getUsage
2013-03-22 17:33:19 +01:00
Tom Payne
35df0693e0
Add usage to ol.structs.Buffer
2013-03-22 17:33:19 +01:00
Tom Payne
705b71ae2a
Track buffer dirty state by map
2013-03-22 17:33:19 +01:00
Tom Payne
ba0e7ae89c
Allow a ol.structs.Buffer to update multiple dirty sets
2013-03-22 17:33:19 +01:00
Tom Payne
4ee73bc02f
Add ol.structs.IntegerSet.intersectsRange
2013-03-22 17:33:13 +01:00
Tom Payne
35ee45cefc
Use local variable for texCoordMatrix
2013-03-22 17:25:58 +01:00
Tom Payne
66efba8824
Promote projectionMatrix and texCoordMatrix into base class
2013-03-22 17:25:53 +01:00
Tom Payne
cc41d720fa
Manage buffers in WebGL map renderer
2013-03-22 17:25:47 +01:00
Tom Payne
ecd5158012
Add ol.renderer.webgl.Layer.getWebGLMapRenderer
...
This improves the type checking.
2013-03-22 17:25:42 +01:00
Tom Payne
f770be297d
Use ol.math.roundUpToPowerOfTwo
2013-03-22 17:25:36 +01:00
Tom Payne
57abbddf50
Add ol.math.roundUpToPowerOfTwo
2013-03-22 17:25:31 +01:00
Tom Payne
6c32170a08
Promote texture and framebuffer management into base class
2013-03-22 17:25:27 +01:00
Tom Payne
657f58005e
Remove unused function
2013-03-22 17:24:26 +01:00
Tom Payne
69f92615b1
Add missing variable declaration
2013-03-22 17:24:03 +01:00
Tom Payne
c04e9c8870
Add ol.Rectangle.extendXY
2013-03-22 17:23:58 +01:00
Tom Payne
483375ca42
Add ol.Extent.createEmptyExtent
2013-03-22 17:23:50 +01:00
Tom Payne
5186fa44f5
Add ol.Rectangle.isEmpty
2013-03-22 17:23:44 +01:00
Tom Payne
0488612449
Allow rectangles to be empty
2013-03-22 17:23:38 +01:00
Tom Payne
5192c5e64a
Reverse order of arguments to set and s/index/offset/
2013-03-22 17:23:30 +01:00
Tom Payne
713ad2cfb7
Replace unused entries with NaNs
2013-03-22 17:23:25 +01:00
Tom Payne
5169161d93
Extend equalArray to consider NaNs to be equal
2013-03-22 17:23:20 +01:00
Tom Payne
6ab5cfae8c
Add ol.structs.IntegerSet.toString
2013-03-22 17:23:15 +01:00
Tom Payne
9047e98889
Add initial ol.structs.Buffer
2013-03-22 17:23:08 +01:00
Tom Payne
1833ec15e2
Refactor ol.structs.IntegerSet to use a packed array
2013-03-22 17:23:03 +01:00
Tom Payne
070b80c28d
Add ol.structs.IntegerSet
2013-03-22 17:22:57 +01:00
Tom Payne
f4dea053af
Merge pull request #417 from twpayne/clean-up-side-by-side-example
...
Clean up side-by-side example
2013-03-22 07:04:43 -07:00
Tom Payne
422ed4bd43
Clean up side-by-side example
2013-03-22 14:39:17 +01:00
Tom Payne
b0989af9d1
Merge pull request #416 from twpayne/numeric-constant-clean-ups
...
Use Infinity instead of Number.POSITIVE_INFINITY
2013-03-22 05:05:22 -07:00
Tom Payne
8b5367c947
Use Infinity instead of Number.POSITIVE_INFINITY
2013-03-22 11:34:44 +01:00
Tom Payne
514d513ca9
Merge pull request #401 from twpayne/coordinate-3d
...
Optionally extend ol.Coordinate to the third dimension
2013-03-20 05:05:14 -07:00
Tom Payne
7755555cc3
Use NaN as default value for Z
2013-03-20 12:02:40 +01:00
Tom Payne
d3ea5236ef
Optionally extend ol.Coordinate to the third dimension
...
We continue to inherit from goog.math.Vec2 instead of goog.math.Vec3
because goog.math.Vec2 better represents a position in space, with
appropriate functionality, whereas goog.math.Vec3 represents a direction
and magnitude.
2013-03-19 22:10:21 +01:00
Tom Payne
4fe67f09c0
Merge pull request #399 from twpayne/test-typos
...
Fix some trivial typos
2013-03-19 13:35:25 -07:00
Tom Payne
a1a2ab415f
Fix some trivial typos
2013-03-19 21:34:31 +01:00
Tom Payne
d48a9407f2
Merge pull request #382 from twpayne/move-files
...
Use more consistent directory structure
2013-03-19 04:52:36 -07:00
Tom Payne
6cc4cb33d0
Use more consistent directory structure
2013-03-19 12:03:31 +01:00
Tom Payne
41eedfaa06
Merge pull request #394 from Turbo87/test-improvements
...
Mocha improvements
2013-03-18 14:11:04 -07:00
Tom Payne
0a9cf1230e
Merge pull request #374 from twpayne/functionality-not-form
...
You can't extend expect.js outside expect.js
2013-03-15 07:55:45 -07:00
Tom Payne
af6de5582a
Add comment to highlight use of modified expect.js
...
Hat tip @marcjansen
2013-03-15 15:29:16 +01:00
Tom Payne
c9f43b4da7
Move equalArray into expect.js
2013-03-15 01:39:11 +01:00
Tom Payne
79c77a6369
Move intersect into expect.js
2013-03-15 01:39:11 +01:00
Tom Payne
7c7c4df3fc
Move called into expect.js
2013-03-15 01:17:28 +01:00
Tom Payne
62011dab28
Move roughlyEqual into expect.js
2013-03-15 01:17:28 +01:00
Tom Payne
bddaecbe69
Make it clear that ol3's expect.js is different
2013-03-14 23:33:58 +01:00
Tom Payne
1d002dd4ae
Merge pull request #368 from twpayne/equalarray
...
Add array value equality test
2013-03-14 07:42:40 -07:00
Tom Payne
7222464426
Don't use goog.array in ol.Collection tests
2013-03-14 14:50:23 +01:00
Tom Payne
d7b13ab09f
Add test for array equality
...
Hilariously, expect.js does not have one.
2013-03-14 14:49:43 +01:00
Tom Payne
f75d3abf7d
Merge pull request #297 from twpayne/fix-297
...
Canvas map is not immediately updated when layers are added or removed
2013-03-12 05:26:25 -07:00
Tom Payne
427c376fc6
Always render map when layers are added or removed
2013-03-12 12:57:22 +01:00
Tom Payne
a0b1d74bb5
Merge pull request #337 from Turbo87/polyline
...
Added ol.parser.polyline module
2013-03-11 13:55:04 -07:00
Tom Payne
f9c080a67d
Merge pull request #346 from twpayne/single-map-in-canvas-tiles-example
...
Use a single map in the canvas tiles example
2013-03-11 09:29:32 -07:00
Tom Payne
2a5d07d929
Use a single map in the canvas tiles example
2013-03-11 17:07:27 +01:00
Tom Payne
8b5194da38
Merge pull request #338 from twpayne/snap-center-to-pixel2
...
Snap center to pixel
2013-03-11 08:41:28 -07:00
Tom Payne
a6395cd2f5
Merge pull request #312 from twpayne/speed-up-precommit
...
precommit target is too slow
2013-03-11 06:47:16 -07:00
Tom Payne
58f1c929ac
Merge pull request #324 from twpayne/fix-canvas-renderer-clear
...
Canvas renderer is not properly cleared
2013-03-11 05:08:54 -07:00
Tom Payne
f4a7d9386b
Merge pull request #344 from twpayne/semi-transparent-example
...
Add semi-transparent layer example
2013-03-11 05:08:12 -07:00
Tom Payne
df6af7cafa
Replace precommit with separate check and integration-test targets
2013-03-11 12:21:13 +01:00
Tom Payne
34803cf78b
Add semi-transparent layer example
2013-03-11 12:00:58 +01:00
Tom Payne
2c6d20306f
Merge pull request #343 from twpayne/clean-up-fixme-target
...
Clean up fixme target
2013-03-11 03:54:46 -07:00
Tom Payne
47f04f9e8b
Merge pull request #334 from twpayne/rotation-example
...
Rotation example
2013-03-11 03:29:14 -07:00
Tom Payne
3934dbbcaf
Clean up fixme target
...
Correct regular expression
Use single quotes consistently
Use format strings
Correct grammar
2013-03-11 10:48:32 +01:00
Tom Payne
505c607ccb
Use snapCenterToPixel in DOM renderer
2013-03-10 16:14:15 +01:00
Tom Payne
bceb27f4bb
Use snapCenterToPixel in WebGL renderer
2013-03-10 16:14:15 +01:00
Tom Payne
c01068642b
Use snapCenterToPixel in Canvas renderer
2013-03-10 16:14:01 +01:00
Tom Payne
06463471e1
Add ol.renderer.Layer.snapCenterToPixel
2013-03-10 15:51:08 +01:00
Tom Payne
3a1fcdae0f
Optimize ol.Extent.getForView2DAndSize
2013-03-10 15:51:08 +01:00
Tom Payne
08d3120f08
Use ol.Extent.getForView2DAndSize
2013-03-10 15:51:08 +01:00
Tom Payne
ed787ba79c
Add ol.Extent.getForView2DAndSize
2013-03-10 15:51:08 +01:00
Tom Payne
e8b4a29254
Fix typo in canvas tiles example
2013-03-10 15:49:46 +01:00
Tom Payne
65907a6005
Add rotation example
2013-03-09 21:51:09 +01:00
Tom Payne
3910ec0dbb
Fix typo in WebGL map renderer
2013-03-09 21:50:10 +01:00
Tom Payne
25fd391edd
Merge pull request #329 from twpayne/animation-clean-ups
...
Animation clean ups
2013-03-09 04:02:29 -08:00
Tom Payne
4a7a5fe220
Sort properties alphabetically
2013-03-09 02:38:52 +01:00
Tom Payne
194edc7f26
Sort functions alphabetically
2013-03-09 02:19:35 +01:00
Tom Payne
9d950525bb
Default to easing inAndOut for all animations
2013-03-09 02:15:32 +01:00
Tom Payne
77bd279160
Use ol.easing instead of goog.fx.easing
2013-03-09 02:03:59 +01:00
Tom Payne
e12458b32e
Expose all goog.fx.easing functions in the ol.easing namespace
2013-03-09 02:02:19 +01:00
Tom Payne
2d7f848223
Merge pull request #321 from twpayne/prettier-hue-saturation-example
...
Make hue/saturation example prettier
2013-03-08 16:46:24 -08:00
Tom Payne
3981141999
Merge pull request #134 from twpayne/keyboard-interactions
...
Keyboard Pan interaction should animate
2013-03-08 16:32:34 -08:00
Tom Payne
fe3b8d862d
Correct center setting, thanks @elemoine
2013-03-09 01:31:14 +01:00
Tom Payne
2354207b47
Make hue/saturation example prettier
2013-03-08 15:13:26 +01:00
Tom Payne
b729f969a7
Add EMPTY tile state instead of using null for empty tiles
2013-03-08 14:41:14 +01:00
Tom Payne
0a13344668
Merge pull request #320 from twpayne/follow-mouse-position
...
Prioritize tile loading around mouse position
2013-03-08 04:15:49 -08:00
Tom Payne
d571ef5804
Prioritize tile loading around mouse position
2013-03-08 01:04:35 +01:00
Tom Payne
47f1b8cb0a
Cope with rotation in keyboard pan
2013-03-07 20:13:38 +01:00
Tom Payne
cd37031456
Animate keyboard pan
2013-03-07 20:00:31 +01:00
Tom Payne
3d37ba7666
Add ol.View2D.pan
2013-03-07 20:00:31 +01:00
Tom Payne
d4a5bfa015
Avoid creating an unecessary object
2013-03-07 19:39:24 +01:00
Tom Payne
af0bf21e8d
Configure keyboard pan with an options object
2013-03-07 19:32:51 +01:00
Tom Payne
c46f1425a0
Make keyboard zoom delta configurable
2013-03-07 19:24:00 +01:00