Commit Graph

8143 Commits

Author SHA1 Message Date
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
Bruno Binet 48c84aaf69 Do not wrap dateline if projection.isGlobal() is false 2013-03-07 02:07:00 +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 31b1f8b5b0 Add missing export 2013-03-06 21:34:18 +01:00
Tim Schaub 6cddd47d54 Correcting title for example list (see #296) 2013-03-06 15:24:50 -05: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
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
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
Bruno Binet 93ae4256eb Add a setExtent method to ol.Projection 2013-03-06 17:53:51 +01: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
Bruno Binet d1762a06f8 Merge pull request #290 from bbinet/projection_stuff
Add a getMetersPerUnit instance method to ol.Projection class
2013-03-06 08:50:47 -08:00
Frederic Junod 4c50b8ff31 Add tags in full screen example
Used to generate example-list.html
2013-03-06 17:31:48 +01:00
Frederic Junod 11f338f9fe Fit map to projection extent in full screen example
see: 5b0af9152a
2013-03-06 17:25:59 +01:00
Tom Payne c48e281c68 Add ol.Map.removeLayer 2013-03-06 17:17:32 +01:00
Frederic Junod aacee357c0 Port example list to Bootstrap 2013-03-06 17:08:34 +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
Frédéric Junod d60491093b Merge pull request #291 from openlayers/bootstrap
Use Bootstrap for examples
2013-03-06 07:28:17 -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
Frederic Junod eab160de67 Add github and twitter links in examples 2013-03-06 15:20:25 +01:00
Frederic Junod 2b238c68c7 Add Font Awesome 3.0.2 2013-03-06 15:20:25 +01:00
Frederic Junod e4863f3ce8 Add missing div close tag 2013-03-06 15:20:24 +01:00
Frederic Junod 6113ca2c59 Port full-screen example to Bootstrap 2013-03-06 15:20:24 +01:00
Frederic Junod a8ec0c95a0 Fix hostexamples target
Add missing bootstrap dir and examples.css
2013-03-06 15:19:47 +01:00
Frederic Junod 0007ec95de Port stamen example to Bootstrap 2013-03-06 15:19:47 +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