ahocevar
fe8a00d5c9
Support the culture attribute in the Bing Layer.
...
p=dcabasson, r=me (closes http://trac.osgeo.org/openlayers/ticket/3598 )
2012-02-14 17:23:01 +01:00
fredj
add094b284
tileSize property already defined in parent class (Layer.Grid)
2012-02-14 14:49:31 +01:00
fredj
692fe2dd12
Bounds.fromSize: size can be a simple object, update doc.
2012-02-14 14:32:15 +01:00
Frederic Junod
2dabac734c
Revert "Move the popup close box sizing to CSS"
...
Moving the box size to CSS broke `Popup.setSize()`; the function
expects a width for the padding computation. Because this function is
called before the div is added to the DOM, the size can't be
computed.
This reverts commit 134f24480a .
2012-02-13 19:59:59 +01:00
Éric Lemoine
16c30b8e6d
Merge pull request #45 from twpayne/initial-bearing-to
...
Add OpenLayers.Spherical, including utility functions for calculations on the basis of a spherical earth, patch from @twpayne
2012-02-13 05:35:13 -08:00
Frederic Junod
134f24480a
Move the popup close box sizing to CSS
2012-02-12 21:56:41 +01:00
ahocevar
3fae6c0d29
Merge pull request #195 from ahocevar/layerswitcher-simplified
...
No additional events registered on the LayerSwitcher. r=@fredj.
2012-02-12 03:32:20 -08:00
ahocevar
6385be7ffe
Template for the Attribution control.
...
This allows to add map specific copyright, or copyright required for tools like geocoders that are used in the context of the map.
2012-02-11 12:34:40 +01:00
ahocevar
68a6c62f0b
Documenting tileOptions defaults.
2012-02-10 18:03:22 +01:00
ahocevar
b17c7b69f2
Adding comment about GMaps API version.
...
Closes http://trac.osgeo.org/openlayers/ticket/2984 .
2012-02-10 15:46:45 +01:00
Frédéric Junod
ad201f3a80
Merge pull request #160 from fredj/tile-canvas
...
Tile.Image and canvas. r=ahocevar,tschaub
2012-02-10 06:43:09 -08:00
fredj
f8099e9ab1
Unset crossOrigin when setting blankImageUrl to the image.
...
Tested with FF 10, Chrome 16 and 18.
2012-02-10 13:46:13 +01:00
Frédéric Junod
85beb32e85
Merge pull request #209 from fredj/modify-feature-create-vertices
...
New createVertices option for Control.ModifyFeature. r=bartvde
2012-02-10 04:16:45 -08:00
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
ahocevar
342d624616
New crossOriginKeyword property.
...
Set to 'anonymous' for Layer.OSM and Layer.Bing, and not used by default for other layers.
2012-02-10 12:50:13 +01:00
Tom Payne
8d6c9ef1ee
Correct documentation
2012-02-10 09:42:52 +01:00
Tom Payne
3c30929858
Correct spelling
2012-02-10 09:42:08 +01:00
Éric Lemoine
4cc1bf1899
better docs for the Spherical namespace
2012-02-09 16:59:02 +01:00
fredj
b34f272fa7
Optimize the string test
2012-02-09 15:35:35 +01:00
fredj
e9097ce066
More APIdoc for OpenLayers.Tile.Image.getCanvasContext
2012-02-09 15:34:08 +01:00
fredj
b4ac0af5d8
New OpenLayers.Tile.Image.getCanvasContext function
2012-02-09 15:34:00 +01:00
fredj
57ae02f381
Set image.crossOrigin attribute in OpenLayers.Tile.Image
2012-02-09 15:33:54 +01:00
fredj
14624cb815
New OpenLayers.CANVAS_SUPPORTED constant
2012-02-09 15:33:46 +01:00
fredj
6daecd677d
New createVertices option for Control.ModifyFeature
2012-02-09 14:12:52 +01: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
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
0d27dc82ae
re-add default labelAlign, but avoid duplicate declaration accross renderers
2012-02-06 21:45:57 +01:00
fredj
d72b5b4810
Remove OpenLayers.Protocol.CSW.v2_0_2.createCallback, already defined in OpenLayers.Protocol
2012-02-03 12:37:53 +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
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
ahocevar
a278986442
No additional events registered on the LayerSwitcher.
...
With the buttonclick event, we can also handle clicks on layer names and checkboxes/radiobuttons when they get the olButton class. To make this work on iOS, we have to add a check in buttonclick.js to handle the case where the event occurred on a text element (nodeType === 3).
2012-02-02 00:02:51 +01: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
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
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
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
Tom Payne
1a1cb9fe4e
Add OpenLayers/Spherical.js
2012-01-25 16:26:28 +01:00