Tom Payne
fe3b8d862d
Correct center setting, thanks @elemoine
2013-03-09 01:31:14 +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
Bart van den Eijnden
1f510d893f
Merge pull request #282 from bartvde/wms1_0_0
...
add WMS GetCapabilities 1.0.0 parser (=r@elemoine)
2013-03-07 05:06:13 -08: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
Bart van den Eijnden
0dab671072
add WMS 1.0.0 parsing to false by default
2013-03-07 13:53:26 +01: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
Éric Lemoine
b487275d5b
Round image height and width for WMS
2013-03-07 13:37:48 +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
Éric Lemoine
d81d9d7411
Merge pull request #309 from elemoine/attributions
...
Fix js error when image source has no attributions
2013-03-07 04:28:22 -08:00
Tom Payne
6bcbd25e2f
Merge pull request #295 from openlayers/refactor-examples
...
Refactor examples
2013-03-07 04:27:18 -08:00
Éric Lemoine
251e9a09fa
Fix js error when image source has no attributions
2013-03-07 12:41:15 +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
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
Éric Lemoine
7fabff5ffa
Revert "Remove listeners when dropping tiles"
...
This reverts commit fd6aaff2f5 .
2013-03-07 10:41:23 +01: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
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
Tom Payne
09b75f8044
Don't include scale line in default controls
2013-03-06 20:46:52 +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
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
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
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
61982646ba
Allow layers to be passed as an array when creating a map
2013-03-06 16:59:09 +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
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
Frédéric Junod
c54f38f4c0
Merge pull request #287 from fredj/mapsize
...
Use goog.style.getSize to compute the map size.
2013-03-06 03:59:51 -08:00
Tom Payne
671ee79c74
Add ol.interaction.defaults
2013-03-06 12:36:49 +01:00
Tom Payne
8ae009d401
Add ol.control.defaults
2013-03-06 12:36:48 +01:00
Bruno Binet
1ff3c79ff6
Use correct value to convert from foot to meters
...
(was using value for converting to inches).
Thanks @twpayne
2013-03-06 12:26:30 +01:00