Commit Graph

8179 Commits

Author SHA1 Message Date
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
Éric Lemoine 3c37e6da56 Make custom proj example use tile layers only 2013-03-07 12:36:09 +01:00
Éric Lemoine 02cbdde333 Add a single image WMS example 2013-03-07 12:29:13 +01:00
Éric Lemoine d31fb7a0fd Merge pull request #303 from elemoine/tile
Tile loading stops after a while when there are multiple maps
2013-03-07 03:15:37 -08:00
Éric Lemoine 73d06442ec Merge pull request #302 from elemoine/debug
Hosted examples in debug mode
2013-03-07 03:15:09 -08:00
Éric Lemoine 71f06320f6 WMS example renamed to wms-tiled 2013-03-07 12:03:28 +01:00
Bruno Binet 35b6d805df Merge pull request #307 from bbinet/null-extent
Check for not null extent
2013-03-07 02:06:18 -08:00
Éric Lemoine f55423d575 Register change listeners for loading tiles only
With this commit we register a change listener at a time when we are guaranteed that the listener will be called. In this was we don't need to remove listeners when the tile is dropped from the tile queue. And to avoid busy-polling between IDLE and LOADING we rely on the map to call requestRenderFrame when new tiles change to LOADING from IDLE.
2013-03-07 11:03:20 +01:00
Bruno Binet 41408c0909 Extent cannot be undefined here but it can be null
so we now use !goog.isNull(extent) instead of goog.isDef(extent)
2013-03-07 10:54:06 +01:00
Bruno Binet 129f2bbcb0 Merge pull request #305 from bbinet/check-isglobal
Do not wrap dateline if projection.isGlobal() is false
2013-03-07 01:42:18 -08:00
Éric Lemoine 7fabff5ffa Revert "Remove listeners when dropping tiles"
This reverts commit fd6aaff2f5.
2013-03-07 10:41:23 +01:00
Éric Lemoine bbc8249e28 Check the examples in raw mode as well 2013-03-07 10:33:40 +01:00
Éric Lemoine 306447fac7 Update readme.md 2013-03-07 10:30:47 +01:00
Éric Lemoine 757401313b Extent hosted loader to support debug mode 2013-03-07 10:30:47 +01:00
Frederic Junod feb03b8cda Change opacity step value in side-by-side example
Avoid rounding issue (0.1 in binary format). fixes #299
2013-03-07 10:14:39 +01: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
Bruno Binet 48c84aaf69 Do not wrap dateline if projection.isGlobal() is false 2013-03-07 02:07:00 +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
Bruno Binet 7f9e327a65 Merge pull request #304 from bbinet/projection-improvements
Some projection improvements
2013-03-06 16:53:14 -08:00
Bruno Binet 1e050fe25f Add global=true for both EPSG:4326 and EPSG:3857 2013-03-07 01:36:42 +01:00
Bruno Binet 4415f8ac74 Add test for ol.projection.configureProj4jsProjection 2013-03-07 01:36:41 +01:00
Bruno Binet b6d57894b4 Add configureProj4jsProjection function
so that we can add extent and global parameter to proj4js projections.
And remove setExtent method which is not relevant.
2013-03-07 01:36:41 +01:00
Bruno Binet 0e53a3f3c9 ol.Proj4jsProjection_ now takes a single argument 2013-03-07 01:36:40 +01:00
Bruno Binet 9d88273161 ol.Projection now takes a single argument
which is called ol.ProjectionOptions.
2013-03-07 01:36:39 +01:00
Bruno Binet 8dd3093f4c Add information on wether the projection is global
so that we know if we can wrap the dateline.
2013-03-07 01:36:39 +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
Tim Schaub 6cddd47d54 Correcting title for example list (see #296) 2013-03-06 15:24:50 -05: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
Éric Lemoine 74b8fea679 Extent hostexamples target to copy ol and closure 2013-03-06 20:32:06 +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
Éric Lemoine 8ce86ac2c9 Add depswriter scripts
Copied from http://closure-library.googlecode.com/git/closure/bin/build/
2013-03-06 19:16:03 +01:00
Bruno Binet a10cae6117 Merge pull request #301 from bbinet/projection-setextent
Add a setExtent method to ol.Projection
2013-03-06 09:46:07 -08:00