Commit Graph

4125 Commits

Author SHA1 Message Date
Bart van den Eijnden
bca3e45940 BBOX strategy should not request data if its layer is out of range when changing layer visibility 2012-05-15 12:18:42 +02:00
Marc Jansen
a87f5ac16a Merge branch 'master' of https://github.com/openlayers/openlayers into control-inheritance 2012-05-15 08:34:53 +02:00
Xavier Mamano
05672deefa Add style = "position: absolute;" on the SVG to skip the bug of Chrome 18 2012-05-14 23:02:53 +02:00
Peter Robins
9ea3c2f121 Fix GPX write Point transform 2012-05-14 14:21:23 +01:00
Éric Lemoine
f7d4657c14 fix typo in Request.js (refs #462) 2012-05-12 08:56:21 +02:00
Tim Schaub
cb7cf5e18e Allow for circular dependency in XMLHttpRequest.js
To make custom builds easier, it's convenient to have a OpenLayers.Request depend on OpenLayers.Request.XMLHttpRequest (see 18b4d6808d).  This makes it so we don't know which is going to be included first.  To get around this, we can be careful about when we define OpenLayers.Request.
2012-05-11 17:41:24 -06:00
Tim Schaub
866fa443fe Merge branch '2.12' of github.com:openlayers/openlayers 2012-05-11 01:20:37 -06:00
Tim Schaub
44e526a0e8 Merge pull request #439 from tschaub/439
Changing/fixing the meaning of getServerZoom
2012-05-11 00:16:09 -07:00
ahocevar
72d1b54956 Also taking into account zoomOffset.
Now the meaning of getServerZoom is fully clarified, and we can get rid of some code again as well.
2012-05-11 00:26:09 -06:00
ahocevar
40b4cc49e0 Using OpenLayers.Util.indexOf.
Thanks @jorix for catching this.
2012-05-11 00:26:09 -06:00
ahocevar
9585341d9c Changing/fixing the meaning of getServerZoom.
If a layer is configured with serverResolutions, then getServerZoom should return the zoom level as index of the current resolution in the serverResolutions array.
2012-05-11 00:26:08 -06:00
Éric Lemoine
be6c90ed49 Merge branch '2.12' 2012-05-10 15:54:54 +02:00
Éric Lemoine
4ad6bacc5d when calculating maxResolution from maxExtent and tileSize we dont want to the actual tile size for single layers 2012-05-10 15:42:59 +02:00
ahocevar
18b4d6808d Adding missing dependency. Non-functional change. 2012-05-09 11:03:57 +02:00
Éric Lemoine
98fb795f97 set VERSION_NUMBER to 2.12-rc3 2012-05-05 14:27:12 +02:00
Éric Lemoine
e060b2ee4d Merge branch '2.12' 2012-05-05 14:25:51 +02:00
ahocevar
d01f57d3e6 There is no reason to restrict graphicTitle to externalGraphic symbols. 2012-05-05 12:49:25 +02:00
Éric Lemoine
2608a0ebe7 fix resize handling in IE 9 and better (refs #449) 2012-05-04 14:28:12 +02:00
Éric Lemoine
743dc9a738 Merge branch '2.12' 2012-05-02 17:11:37 +02:00
Éric Lemoine
612401a644 fix bug where tiles with gutters are shifted (refs #441) 2012-04-28 21:23:55 +02:00
Marc Jansen
c56a861ec7 Merge branch 'master' of https://github.com/openlayers/openlayers into no-$ 2012-04-25 09:16:27 +02:00
Matt Priour
77cf56a4b6 Add required OpenLayers.Filter deps to OpenLayers.Format.CQL 2012-04-24 22:52:19 -05:00
Éric Lemoine
1ace4df160 set OpenLayers.VERSION_NUMBER to Release 2.12-rc2 2012-04-24 21:55:49 +02:00
ahocevar
f4a77cad06 Merge pull request #432 from ahocevar/iframe-opacity
Long URLs messing up Opacity. r=@elemoine,@lewinmadrid
2012-04-24 12:32:48 -07:00
ahocevar
fc0b15ad45 Overriding onImageLoad to set the opacity on the correct element. 2012-04-24 08:08:41 -04:00
Tim Schaub
2b5b59bea5 Merge pull request #416 from tschaub/dotless
Use dotless identifiers.
2012-04-23 16:27:11 -07:00
ahocevar
179433da2f For IFrame tiles, we need to set opacity on the IFrame's parent. 2012-04-23 18:46:28 -04:00
ahocevar
a57c56ed96 Revert "Merge pull request #432 from ahocevar/iframe-opacity"
This reverts commit af046b9af8, reversing
changes made to f36fd5f0d1. The reason for reverting this is that the change breaks the select-feature-multilayer.html example.
2012-04-23 18:03:39 -04:00
Éric Lemoine
c6c1bf1f77 fix movestart, move, moveend sequence on pan with animate:false 2012-04-23 23:57:48 +02:00
ahocevar
11cc960be5 Setting opacity on the IFrame's parent, like we used to do in 2.11. 2012-04-23 10:36:51 -04:00
ahocevar
07114fc894 Setting opacity on the last child.
This is required for IFrame tiles, so we don't set the opacity on the event pane. To make this work with vector layers, the defs node needs to be inserted before the root group element instead of after it.
2012-04-23 10:17:20 -04:00
Björn Harrtell
3b91e41690 Mark context property as part of API. It's very useful and is used in examples (at least strategy-cluster-threshold) 2012-04-23 12:01:55 +03:00
John Lien
ab87c33670 Applied patch from ticket #3381 to Permalink tests and updated Permalink
control to pass tests by maintaining anchors.

All tests continue to pass.
2012-04-22 14:48:12 -04:00
Marc Jansen
e70ee09a4d Merge branch 'master' of https://github.com/openlayers/openlayers into no-$ 2012-04-20 23:45:37 +02:00
Marc Jansen
1691d4a71f Minor API doc enhancement 2012-04-21 00:23:41 +03:00
Marc Jansen
e690f28517 replace tab with spaces 2012-04-21 00:14:24 +03:00
Éric Lemoine
a57738e817 Merge branch '2.12' 2012-04-20 15:29:46 +02:00
Éric Lemoine
f36fd5f0d1 Merge pull request #393 from elemoine/393
grid layers may be misplaced
2012-04-20 06:27:27 -07:00
ahocevar
bd4c092943 Merge pull request #419 from ahocevar/bing-attribution
Incorrect Bing attribution when custom maxResolution is set. r=@elemoine
2012-04-20 06:11:31 -07:00
ahocevar
9ab6d08fb0 Calculate zoom level from serverResolutions.
The previous way of hard-coding an offset of 1 causes an incorrect attribution for layers with a custom maxResolution.
2012-04-20 15:08:45 +02:00
ahocevar
a73d9e3804 Merge pull request #407 from ahocevar/alwaysInRange
alwaysInRange not updated when using addOptions. r=@elemoine,@bartvde
2012-04-19 09:00:26 -07:00
ahocevar
551f509b49 Make sure tiles are loaded for Bing overlays.
Previously, Bing overlays that were added to an existing map had empty tiles, because tiles are added before the layer url is set in initLayer. This change makes sure tiles are only rendered when the layer url is available, by not processing the tile queue before the layer url is set.
2012-04-19 16:02:23 +02:00
ahocevar
ef33f01504 Respect alwaysInRange from prototype, but allow changes in addOptions. 2012-04-19 12:02:18 +02:00
Tim Schaub
faaa2cec1f Using compiled regexp to replace dots.
Though split and join appear to be more efficient in Chrome, a compiled regexp looks to be a safer bet across the board.  See http://jsperf.com/dotless (and http://jsperf.com/dotless-nop for the NOP).
2012-04-18 09:46:24 -04:00
Tim Schaub
163caf0e8d Underscore in canvas hit detection. 2012-04-18 09:40:27 -04:00
Tim Schaub
8533edd19b Toward dotless identifiers. 2012-04-18 09:39:58 -04:00
Marc Jansen
d86c1b6c9c Changed Pan control to inherit from OpenLayers.Control.Button. 2012-04-17 21:29:32 +02:00
Marc Jansen
56d7cee8cf Protect the trigger action of pan control by checking whether
we were added to a map prior to calling this.map.pan().
2012-04-17 21:25:56 +02:00
Marc Jansen
292da06150 Changed ZoomIn control to inherit from OpenLayers.Control.Button. 2012-04-17 20:05:47 +02:00
Bart van den Eijnden
a96d32d284 rename to dateRegEx and provide default value in api docs 2012-04-17 17:39:37 +02:00