Commit Graph

8226 Commits

Author SHA1 Message Date
Bruno Binet
1f30f693b6 Merge pull request #288 from bbinet/projection_stuff
Find proj4js projection even if code is different than srs.
2013-03-06 01:06:38 -08:00
Bruno Binet
bb1cf45c0a Add Proj4js.Proj.srsCode property to Proj4js externs 2013-03-06 02:38:03 +01:00
Bruno Binet
f1b72a10bc Tests for cached proj4js projections. 2013-03-06 01:59:35 +01:00
Bruno Binet
7d1db48836 Find proj4js projection even if code is different than srs. 2013-03-06 01:57:06 +01: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
Frederic Junod
de168e0fb0 Use goog.style.getSize to compute the map size.
This allows to initialize hidden map (display: none).
Otherwise the size is 0 (clientWidth == clientHeight == 0)
2013-03-05 18:48:02 +01:00
Éric Lemoine
59271ae2d8 Fix typo (thanks @bbinet) 2013-03-05 18:35:21 +01:00
Éric Lemoine
2924bf088d Merge pull request #286 from elemoine/droppedtile
Fix tile change event handling
2013-03-05 09:07:53 -08:00
Éric Lemoine
a4afcd533f Add FIXME 2013-03-05 18:06:57 +01:00
Tom Payne
8a66095a4a Export some ol.View2D functions 2013-03-05 17:03:33 +01:00
Éric Lemoine
4e758f87ae Do not register multiple listeners on same tile 2013-03-05 17:01:34 +01:00
Éric Lemoine
fd6aaff2f5 Remove listeners when dropping tiles 2013-03-05 17:01:34 +01:00
Tom Payne
5b0af9152a Fit map to projection extent in full screen example 2013-03-05 16:49:36 +01:00
Marc Jansen
5b258ca23f Merge pull request #283 from marcjansen/test-output
Nicer test output for headless tests
2013-03-05 07:07:25 -08:00
Marc Jansen
aed6e4c1e3 JSHintified, thanks @elemoine. 2013-03-05 16:05:07 +01:00
Marc Jansen
2c1fa61078 Nicer output of console runner. 2013-03-05 15:30:01 +01:00
Marc Jansen
6600435378 Remove dangling whitespace. 2013-03-05 15:29:47 +01:00
ahocevar
df4f2c4c0a No projection configuration needed on the layer 2013-03-05 15:25:47 +01:00
Bart van den Eijnden
dfcdf75449 add WMS 1.0.0 parser 2013-03-05 13:26:04 +01:00
Éric Lemoine
98f9f44877 Merge pull request #261 from elemoine/zoomfactor
Change default zoom delta and animate mousewheel zoom
2013-03-05 03:52:38 -08:00
Éric Lemoine
b884f2f25d View2D NoConstraint methods renamed 2013-03-05 12:51:03 +01:00
Tom Payne
3b29ec610b Merge pull request #280 from twpayne/check-requires-in-comments-fixes
Improve comment parsing when checking for requires
2013-03-05 03:05:52 -08:00
Tom Payne
254a96e036 Improve comment parsing when checking for requires 2013-03-05 11:51:53 +01:00
Éric Lemoine
403666d875 Merge pull request #279 from elemoine/check-examples
Check the examples against whitespace build first
2013-03-05 02:39:58 -08:00
Éric Lemoine
82c2fc19a1 Check the examples against whitespace build first
This is to produce stack traces that are easier to understand when an example fails to load.
2013-03-05 11:37:30 +01:00
Éric Lemoine
9a64435a65 Merge pull request #275 from elemoine/275
Files in gh-pages examples
2013-03-05 02:31:39 -08:00
Bruno Binet
ade4213dd8 Merge pull request #277 from bbinet/fix-wmts-parser
Add defaultNamespaceURI and errorProperty properties for WMTS.
2013-03-05 02:29:23 -08:00
Bruno Binet
8b3cfda963 Add defaultNamespaceURI and errorProperty properties for WMTS.
Thanks @bartvde.
2013-03-05 11:26:46 +01:00
Éric Lemoine
aa9275b57f Make hostexamples target more robust 2013-03-05 11:26:22 +01:00
Tom Payne
68919b5ee3 Merge pull request #267 from twpayne/stamen-fixes
Stamen fixes
2013-03-05 02:14:21 -08:00
ahocevar
8fd25749c0 Merge pull request #276 from ahocevar/wms-params
WMS GetMap request parameters shall be params. r=@elemoine
2013-03-05 02:13:37 -08:00
ahocevar
19f8692672 Moving VERSION into params 2013-03-05 11:11:41 +01:00
ahocevar
4bb521db65 WMS GetMap request parameters shall be params
To avoid surprises, we configure everything that is a WMS GetMap
request parameter in the params object, and not as direct
configuration option. This affects the VERSION and TRANSPARENT
params.
2013-03-05 10:54:33 +01:00
ahocevar
2676050d54 Do not use tiledWMSOptions in closure function
See #269.
2013-03-05 10:50:46 +01:00
Tom Payne
985b4f57c1 Merge pull request #260 from twpayne/projections-in-feet
Projections in feet
2013-03-05 01:17:56 -08:00
Frédéric Junod
5c78fff519 Merge pull request #270 from fredj/pretty-print-build
Pretty print the whitespace build
2013-03-05 01:08:16 -08:00
Éric Lemoine
29e610b9f3 Animate double click/tap zoom 2013-03-05 10:08:01 +01:00
Éric Lemoine
e598e4b9b2 Animate zoom after pinch 2013-03-05 10:08:01 +01:00
Éric Lemoine
43b1e11e7a 2DView refactoring
This refactoring makes animating zoom, as opposed to zoomByDelta, possible.
2013-03-05 10:08:01 +01:00
Éric Lemoine
d42d88c198 Animate rotation when releasing mouse or fingers 2013-03-05 10:08:00 +01:00
Éric Lemoine
c431acacca Make animating rotation possible 2013-03-05 10:08:00 +01:00
Éric Lemoine
2f611529dd Do not apply rotation constraint while rotating
This is on par to what the TouchRotate interaction does.
2013-03-05 10:08:00 +01:00
Éric Lemoine
1776d80cb9 Add a snapToZero rotation constraint 2013-03-05 10:08:00 +01:00
Tom Payne
6f2d15bb5f Add Stamen example 2013-03-05 10:05:22 +01:00
Tom Payne
6d6188ea79 Correct Stamen source 2013-03-05 10:05:22 +01:00
Bart van den Eijnden
d587d45a09 Merge pull request #271 from bartvde/epsg4326example
remove unused code from epsg-4326 example
2013-03-05 01:00:00 -08:00
Éric Lemoine
7d6d82519b Make TouchRotate interaction use rotateNoConstraint 2013-03-05 09:59:31 +01:00
Éric Lemoine
178c68868b Add a rotateNoConstraint View2D method 2013-03-05 09:59:31 +01:00