Commit Graph
100 Commits
Author SHA1 Message Date
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 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
Tom Payne 6af6e355f9 Port two layers example to Bootstrap 2013-03-06 15:19:47 +01:00
Tom Payne 2ca53da9f2 Port side-by-side example to Bootstrap 2013-03-06 15:19:47 +01:00
Tom Payne f1af80189f Port EPSG:4326 example to Bootstrap 2013-03-06 15:19:47 +01:00
Tom Payne 34c6652ed6 Port canvas tiles example to Bootstrap 2013-03-06 15:19:47 +01:00
Tom Payne d20aa69f5f Port anchored elements example to Bootstrap 2013-03-06 15:19:47 +01:00
Tom Payne 2d454c429a Add examples.css 2013-03-06 15:19:47 +01:00
Tom Payne a96fa30e97 Add Bootstrap 2.3.1 2013-03-06 15:19:47 +01:00
Tom Payne 3a7c4bd3bc Merge pull request #273 from twpayne/controls-api
reconsider the way we specify controls on the map
2013-03-06 05:59:31 -08:00
Tom Payne 38eaa9cfb2 Use an array to specify additional interactions 2013-03-06 13:19:50 +01:00
Tom Payne 363cb87e1a Use an array to specify additional controls 2013-03-06 13:19:34 +01:00
Tom Payne 23f0097517 Add ol.Collection.extend 2013-03-06 13:18:34 +01:00
Tom Payne c9cce57895 Add comment about ugly typecast 2013-03-06 13:06:35 +01:00
Tom Payne 671ee79c74 Add ol.interaction.defaults 2013-03-06 12:36:49 +01:00
Tom Payne a94eadf402 Port examples to ol.control.defaults 2013-03-06 12:36:49 +01:00
Tom Payne 8ae009d401 Add ol.control.defaults 2013-03-06 12:36:48 +01:00
Tom Payne 48852aa3ea Merge pull request #284 from twpayne/full-screen-fit-projection-extent
Fit map to projection extent in full screen example
2013-03-06 02:50:46 -08:00
Tom Payne 1ae20641ef Make mouse position control options argument optional 2013-03-05 18:58:29 +01:00
Tom Payne f581390655 Make zoom control options argument optional 2013-03-05 18:56:41 +01:00
Tom Payne c521f92408 Make attribution control options argument optional 2013-03-05 18:56:34 +01:00
Tom Payne 8a66095a4a Export some ol.View2D functions 2013-03-05 17:03:33 +01:00
Tom Payne 5b0af9152a Fit map to projection extent in full screen example 2013-03-05 16:49:36 +01:00