Commit Graph

5186 Commits

Author SHA1 Message Date
ahocevar
cebc7e60de Don't displayOutsideMaxExtent when wrapDateLine is set.
p=scaddenp, r=me (closes http://trac.osgeo.org/openlayers/ticket/3616)
2012-02-10 13:03:18 +01:00
Bart van den Eijnden
2c0b13957e Merge pull request #206 from bartvde/viewportDiv
create APIMethod for obtaining the view port (r=fredj,ahocevar)
2012-02-09 05:35:17 -08:00
Bart van den Eijnden
e9ffef03c7 create APIMethod for obtaining the view port, this is needed by GeoExt to append the map panel items there so that they don't interfere with the zoombox for example 2012-02-09 10:33:24 +01:00
Pierre GIRAUD
85b9d5f7f9 Merge pull request #200 from pgiraud/gpx
Adding missing schemalocation, version. Better management of the namespaces.
2012-02-08 02:47:38 -08:00
Pierre GIRAUD
734f150f4f Adding behavior change node 2012-02-08 10:50:38 +01:00
Pierre GIRAUD
92f8040938 More up-to-date way to create or set namespacedj elements or attributes. 2012-02-08 10:39:31 +01:00
Éric Lemoine
e7eae00246 Merge pull request #202 from probins/http
ReadWithPOST should pass through options.headers (patch from @probins)
2012-02-07 13:28:05 -08:00
Peter Robins
00a00db127 ReadWithPOST should pass through options.headers 2012-02-07 11:57:29 +00:00
Antoine Abt
4b971a12b2 Merge pull request #201 from tonio/labeldefault
re-add default labelAlign
2012-02-06 13:50:06 -08:00
Antoine Abt
0d27dc82ae re-add default labelAlign, but avoid duplicate declaration accross renderers 2012-02-06 21:45:57 +01:00
Frédéric Junod
e3ab08bca3 Merge pull request #199 from fredj/create-callback
Remove OpenLayers.Protocol.CSW.v2_0_2.createCallback. r=bartvde
2012-02-06 00:56:58 -08:00
fredj
d72b5b4810 Remove OpenLayers.Protocol.CSW.v2_0_2.createCallback, already defined in OpenLayers.Protocol 2012-02-03 12:37:53 +01:00
Frédéric Junod
63dc27cd3a Merge pull request #197 from fredj/simple-objects
Replace LonLat instances with simple objects
2012-02-02 22:50:37 -08:00
fredj
79a64f4be6 Tile.Image tests: add missing scope params (see #184) 2012-02-02 17:03:35 +01:00
fredj
3a69729074 Update OpenLayers.Bounds.containsLonLat input type
'll' parameter can now be either a OpenLayers.LonLat instance or a
simple javascript object with a 'lon' and 'lat' properties.
2012-02-02 16:35:30 +01:00
fredj
657b47abb0 Update Control.OverviewMap.getOverviewPxFromLonLat input type
'lonlat' parameter can be either a OpenLayers.LonLat instance or a
simple javascript object with a 'lon' and 'lat' properties.
2012-02-02 16:35:30 +01:00
fredj
8558b6ee5c Update OpenLayers.Layer.Grid.calculateGridLayout inputs type.
No need to clone the passed bounds (read only access).
'bounds' can be either a Bounds instance or a simple javascript
object. Same for 'origin': LonLat instance or a simple javascript
object.
2012-02-02 16:35:30 +01:00
Frédéric Junod
2d0714990d Merge pull request #184 from fredj/get-url-async
Change getUrlAsync parameters. r=ahocevar
2012-02-02 05:59:13 -08:00
ahocevar
7de254fecc Merge pull request #196 from ahocevar/baselayer-visibility
Making sure that a new base layer becomes visible. r=@bartvde.
2012-02-02 05:37:51 -08:00
ahocevar
abdd3a2e5b Making sure that new base layer becomes visible.
The new base layer may previously have been out of range, in which case setVisibility(true) would do nothing if the layer was visible already. So we check if it was previously out of range, and redraw it if necessary.
2012-02-02 13:53:37 +01:00
Pierre GIRAUD
030f8fdbb9 Adding missing schemalocation, version 2012-02-02 13:13:05 +01:00
Frédéric Junod
aba04d7c42 Merge pull request #193 from fredj/event-listeners
New eventListeners APIProperty for OpenLayers.Tile. r=elemoine
2012-02-01 23:52:35 -08:00
fredj
263b429c49 Add eventListeners usage example in APIdoc 2012-02-01 15:32:14 +01:00
fredj
fc0152ea1e New eventListeners APIProperty for OpenLayers.Tile.
Same behavior as Map.eventListeners or Layer.eventListeners.
New listeners can be registered using the options parameter:

new OpenLayers.Tile.Image(layer, position, bounds, null, size, {
  eventListeners: {
    loadstart: function(evt) {
      // ...
    },
    loadend: function(evt) {
      // ...
    }
  }
});
2012-02-01 11:57:47 +01:00
fredj
742ada16bf Allow testing of specific renderers via '?renderer=<name>' 2012-02-01 11:18:17 +01:00
Frederic Junod
56d22ff9ad coding standards: replace 'new Array()' with '[]' 2012-02-01 11:08:56 +01:00
Éric Lemoine
271e3b61bd Events.buttonclick should be part of the API 2012-01-31 17:07:47 +01:00
fredj
1f43df33f8 Add a note into notes/2.12.md about getURLasync changes 2012-01-30 09:04:41 +01:00
fredj
40806dbe68 Pass the callback scope to getURLasync 2012-01-27 14:50:34 +01:00
fredj
fe202cef14 Change getUrlAsync parameters.
Instead of giving the function a bound, a scope, a property to update
and a callback, only give the bound and a callback.

When the url is retrieved by getUrlAsync, simply call the callback
with the url as argument and let the caller manage this.
2012-01-27 13:23:08 +01:00
Frédéric Junod
9aa1c4450e Merge pull request #183 from fredj/transform-control
Transform control. r=ahocevar
2012-01-27 03:45:08 -08:00
fredj
becb7af745 Update the transform-feature example to show how the 'role' attribute can be used 2012-01-27 12:35:26 +01:00
fredj
4e73df0115 Set Control.TransformFeature handle role (rotate) into attributes. 2012-01-27 11:42:24 +01:00
fredj
717e13fb44 transformFeature() already call drawHandles 2012-01-27 11:42:24 +01:00
Pierre GIRAUD
a75d8ab235 Merge pull request #180 from pgiraud/xls_typo
Fixing typo
2012-01-26 06:56:59 -08:00
Pierre GIRAUD
359d48f466 Fixing typo 2012-01-26 15:37:13 +01:00
fredj
f627071274 Remove unnecessary initialize functions (only calls the parent). 2012-01-26 15:14:10 +01:00
fredj
8062f70e1b Pass unmodified arguments array to the parent class 2012-01-25 14:53:31 +01:00
fredj
586a39ca30 Layer.Zoomify: url already defined in Layer.HTTPRequest 2012-01-25 14:52:18 +01:00
Éric Lemoine
c66e5da29a mock map.pan, map.zoomIn and map.zoomOut in the Control.KeyboardDefaults tests, references #176 2012-01-25 13:08:13 +01:00
ahocevar
ca8a801ff0 Using t.eq to better show the issue (see #162) 2012-01-25 11:49:21 +01:00
Éric Lemoine
2f66031603 remove multiple variable declarations in Control/KeyboardDefaults.js, non functional change 2012-01-25 10:54:39 +01:00
Éric Lemoine
7652b0e983 change test function name in Handler/Keyboard.html, non-functional change 2012-01-25 10:48:54 +01:00
Frédéric Junod
22cdabe3b1 Merge pull request #175 from fredj/transform-control
Transform control, r=ahocevar
2012-01-24 23:35:30 -08:00
fredj
1d422dbc73 Remove unsetFeature call in Control.TransformFeature.deactivate 2012-01-24 15:13:19 +01:00
fredj
d9de788b3b Don't create unneded local variable (box) 2012-01-24 15:13:19 +01:00
fredj
eceaf1a319 Add more properties to destroy in destroy() 2012-01-24 15:13:19 +01:00
fredj
cea7b3e55c Set Control.TransformFeature handle role (resize) into attributes. 2012-01-24 15:13:18 +01:00
ahocevar
dc03537132 Merge pull request #167 from ahocevar/button-controls-improved
Fixing PanZoomBar and Panel issues after #164. r=@elemoine
2012-01-24 05:17:00 -08:00
fredj
2bd9721fd8 remove tabs 2012-01-24 12:13:41 +01:00