Matthew Perry
8aaaecc9ee
Fix a problem determining zoom levels. Updated some docs.
2012-02-06 09:06:49 -08:00
Matthew Perry
6ff3b895c9
Some refactoring and cleaning up rounding errors in tile math. Added
...
debugging mechanism.
2012-02-05 11:17:02 -08:00
Matthew Perry
be4db93e9b
Preliminary working implementation.. still lots of slop to clean up
2012-02-05 09:33:32 -08:00
Matthew Perry
92cbac468c
Merge remote-tracking branch 'upstream/master' into utfgrid
2012-02-04 17:03:25 -08:00
Matthew Perry
a6df52ff83
Initial import of UTFGrid support. Needs work.
2012-02-04 12:22:27 -08: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
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
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
2f66031603
remove multiple variable declarations in Control/KeyboardDefaults.js, non functional change
2012-01-25 10:54:39 +01: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
ahocevar
def2085915
vertexRenderIntent for all sketch modes.
...
Fixed whitespace from original patch.
p=mosesonline, r=me (closes http://trac.openlayers.org/ticket/3581 )
2012-01-23 14:39:06 +01:00
ahocevar
ae55f1a70c
Adding boxselectionstart and boxselectionend events.
...
Whitespace fixed from patch, and removed docs for beforefeatureselected and featureselected events because they are fired on the layer, not the control.
p=mosesonline, r=me (closes http://trac.osgeo.org/openlayers/ticket/3538 )
2012-01-23 14:30:36 +01:00
Frédéric Junod
d579f42539
Merge pull request #170 from fredj/prototype-pollution
...
Initialize variables in the code to keep the prototype clean.
2012-01-22 22:49:20 -08:00
ahocevar
5a1378cdab
Improved extension example docs and destroy method.
2012-01-22 21:30:41 +01:00
ahocevar
ed88941280
Incorporating review comments from @jorix.
2012-01-22 21:30:41 +01:00
ahocevar
e7107b96cb
Fixing PanZoomBar and Panel issues after #164 .
...
For PanZoomBar, this fixes the slider behavior. Now the buttonclick listener argument also includes a buttonXY property, and PanZoomPanel does not need an Events instance for the zoombarDiv any more.
For Panel, this fixes events for panels outside the map. Just setting the element on the Events instance was no longer enough after e70569b2bb . Events::attachToElement is now used, and it needed to be modified to also work if the Events instance had no element previously.
Finally, I renamed the button property of the buttonclick listener argument to buttonElement, to not confuse it with the browser event button property, and added some more tests and documentation.
2012-01-22 21:30:40 +01:00
ahocevar
1ecc5d6c90
Improving documentation for extensions.
...
Includes a currently non-functional change to make OpenLayers.Events work with extensions like the one in the code example.
2012-01-22 15:31:57 +01:00
Frederic Junod
b797614a17
Initialize variables in the code to keep the prototype clean.
2012-01-22 14:31:27 +01:00
ahocevar
3b96046669
Making GetFeatureInfo work with SLD defined layers.
...
Closes http://trac.osgeo.org/openlayers/ticket/3609 . p=h0nIg, r=me
2012-01-21 13:45:11 +01:00
ahocevar
29a31ad910
extensions can be an APIProperty (see #164 ).
2012-01-21 10:52:38 +01:00
ahocevar
9f9feabfae
Let's not over-engineer things (see #164 ).
2012-01-21 10:46:44 +01:00
ahocevar
c38f4ce7bb
Fixing a typo.
2012-01-21 10:45:43 +01:00
ahocevar
b90e533552
Documenting the idea of extensions better (see #164 ).
2012-01-21 10:43:01 +01:00
ahocevar
07dc1b5d84
Merge pull request #164 from ahocevar/button-controls
...
Don't let button controls interfer with handlers. Closes http://trac.osgeo.org/openlayers/ticket/3363 . r=@bartvde
2012-01-20 07:09:34 -08:00
ahocevar
d9cc0c08ed
Check for outsideViewport - we may not have a parentNode yet.
2012-01-20 16:08:02 +01:00
ahocevar
1d4b68af7b
Fixing docs.
2012-01-20 15:48:01 +01:00
ahocevar
67eda3e2ae
Re-adding accidently removed "if" block.
2012-01-20 15:44:20 +01:00
ahocevar
e09ee34f23
Incorporate remaining review comments from @bartvde.
2012-01-20 14:18:15 +01:00
ahocevar
e70569b2bb
Use event handling of OpenLayers.Event, not the native one.
...
Also includes some of the fixes suggested by @bartvde.
2012-01-20 14:17:56 +01:00
Bart van den Eijnden
4385efe0c8
Merge pull request #152 from bartvde/pycsw
...
make GetRecords request work against pyCSW (r=fredj)
2012-01-20 04:53:54 -08:00