Commit Graph
100 Commits
Author SHA1 Message Date
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
Tom Payne 1deeaa437c Merge pull request #272 from twpayne/projection-get
allow people to specify projection as a string
2013-03-07 04:59:00 -08:00
Tom Payne 21d34f1cc8 Rename projection functions for a friendlier API
The following functions are renamed:

getTransform -> getTransformForProjections
getTransformFromCodes -> getTransform
transform -> transformWithProjections
transformWithCodes -> transform

With this change, the faster functions that avoid projection look-up
have longer names and are used internally, whereas the slower but
friendlier short name functions are available for users.
2013-03-07 13:39:40 +01:00
Tom Payne 874583656e Use strings rather than ol.projection.get in examples 2013-03-07 13:31:11 +01:00
Tom Payne eaa17758bd Allow strings to be used wherever projections are needed 2013-03-07 13:29:40 +01:00
Tom Payne afcbec469a Rename ol.projection.getFromCode to ol.projection.get 2013-03-07 13:29:39 +01:00
Tom Payne 6bcbd25e2f Merge pull request #295 from openlayers/refactor-examples
Refactor examples
2013-03-07 04:27:18 -08:00
Tom Payne d4b58d489f Correct description in side-by-side example 2013-03-07 03:15:19 +01:00
Tom Payne 3c701067b3 Remove animations from side-by-side example 2013-03-07 02:58:00 +01:00
Tom Payne 674eb9b396 Add animation example 2013-03-07 02:56:28 +01:00
Tom Payne 50cb6294ee Remove brightness/contrast from side-by-side example 2013-03-07 01:56:41 +01:00
Tom Payne bea6b644af Add brightness/contrast example 2013-03-07 01:56:41 +01:00
Tom Payne 8ab00689b2 Remove hue/saturation from side-by-side example 2013-03-07 01:56:41 +01:00
Tom Payne f0466ef9c7 Add hue/saturation example 2013-03-07 01:56:41 +01:00
Tom Payne f942333f48 Add MapQuest example 2013-03-07 01:18:32 +01:00
Tom Payne 31b1f8b5b0 Add missing export 2013-03-06 21:34:18 +01:00
Tom Payne a686a0a893 Remove two-layers example 2013-03-06 21:29:23 +01:00
Tom Payne 58323bb8fc Add export JPEG example 2013-03-06 21:28:59 +01:00
Tom Payne 479e7fc8dd Make Stamen example prettier 2013-03-06 21:08:06 +01:00
Tom Payne b07c1cce1f Add mouse position example 2013-03-06 20:57:48 +01:00
Tom Payne fe7f112c41 Remove mouse position control from side-by-side example 2013-03-06 20:57:48 +01:00
Tom Payne 05c21e6f1c Add scale line example 2013-03-06 20:46:53 +01:00
Tom Payne 09b75f8044 Don't include scale line in default controls 2013-03-06 20:46:52 +01:00
Tom Payne 6dab2cd466 Remove scale line from full screen example 2013-03-06 20:46:52 +01:00
Tom Payne 99870acd19 Add TileJSON example 2013-03-06 20:46:52 +01:00
Tom Payne 3e7cd5fffb Add Bing Maps example 2013-03-06 20:46:52 +01:00
Tom Payne 818b4a9d5e Remove Bing Maps from two-layers example 2013-03-06 20:21:40 +01:00
Tom Payne d60a6e943b Don't use ol.Collection in simple example 2013-03-06 20:21:39 +01:00
Tom Payne 65e003db50 Merge pull request #274 from twpayne/map-layers-api
ol.Collection versus array
2013-03-06 10:48:48 -08:00
Tom Payne 6c58da95e6 Merge pull request #300 from twpayne/stamen-unique-attribution
Use a single, shared attribution for Stamen sources
2013-03-06 09:27:44 -08:00
Tom Payne ad6cb91b73 Merge pull request #296 from fredj/bootstrap
Port example list to Bootstrap
2013-03-06 08:56:43 -08:00
Tom Payne e027f9771e Use a single, shared attribution for Stamen sources
This ensures that the attribution only appears once, even if multiple
Stamen layers are used in the same map.
2013-03-06 17:53:33 +01:00
Tom Payne c48e281c68 Add ol.Map.removeLayer 2013-03-06 17:17:32 +01:00
Tom Payne fcbd758f48 Add ol.Map.addLayer 2013-03-06 17:00:17 +01:00
Tom Payne 441092dad6 Don't use ol.Collection in examples 2013-03-06 17:00:16 +01:00
Tom Payne 61982646ba Allow layers to be passed as an array when creating a map 2013-03-06 16:59:09 +01:00
Tom Payne 388eac3838 Merge pull request #293 from twpayne/fix-293
Build error
2013-03-06 07:56:23 -08:00
Tom Payne 61552e6664 Merge pull request #294 from twpayne/collection
Collection improvements
2013-03-06 07:49:53 -08:00
Tom Payne 220beb5177 Simple and whitespace builds use internal, not external, source 2013-03-06 16:00:15 +01:00
Tom Payne 3e7c913c44 Add ol.Collection.remove 2013-03-06 15:53:11 +01:00
Tom Payne 0a38f2f7a7 Don't export ol.Collection.getArray 2013-03-06 15:50:07 +01:00
Tom Payne 905a0059db Remove unused insert_at, set_at, and remove_at events 2013-03-06 15:50:03 +01:00
Tom Payne d8a73d12ed Fix navbar link, thanks @fredj 2013-03-06 15:19:47 +01:00
Tom Payne 3b9d500818 Don't store templates in map div 2013-03-06 15:19:47 +01:00
Tom Payne 3491b55fb2 Add missing closing tag 2013-03-06 15:19:47 +01:00
Tom Payne bcea43dcd6 Don't lint Bootstrap JavaScript 2013-03-06 15:19:47 +01:00
Tom Payne fa448951d9 Add simple example 2013-03-06 15:19:47 +01:00
Tom Payne c87aaa3eb1 Port WMS example to Bootstrap 2013-03-06 15:19:47 +01:00
Tom Payne 80da379d60 Port WMS custom projection example to Bootstrap 2013-03-06 15:19:47 +01:00
Tom Payne ca3f6e0fdf Port WMS capabilities example to Bootstrap 2013-03-06 15:19:47 +01:00