Matthew Perry
867080a074
Option for loading utfgrid via jsonp
2012-02-13 16:56:35 -08:00
Matthew Perry
5857af5fec
Adding multi grid html
2012-02-08 12:04:09 -08:00
Matthew Perry
5d00c76c92
Updated examples with another showing multiple grid support
2012-02-08 11:36:50 -08:00
Matthew Perry
b01026bd80
Cleaning up the docs to a marginally acceptable level.
2012-02-08 11:16:50 -08:00
Matthew Perry
0cf589b337
Hide bullets
2012-02-07 16:05:31 -08:00
Matthew Perry
47876746a5
Adjust default handler options
2012-02-07 16:05:04 -08:00
Matthew Perry
0a74cb45f8
Filled out the html example page
2012-02-07 12:21:03 -08:00
Matthew Perry
80656cdfd0
Support specifying grid resolution at the layer level
2012-02-07 12:20:29 -08:00
Matthew Perry
4e84a7113d
Fix event handling.. no need to detect lastXY
2012-02-07 11:23:04 -08:00
Matthew Perry
47222a9401
Adding example utfgrid json files
2012-02-07 11:22:29 -08:00
Matthew Perry
d46092f717
Fix up the constructor
2012-02-07 10:03:03 -08:00
Matthew Perry
54e9fdb784
Initial example html/js page
2012-02-07 10:02:19 -08:00
Matthew Perry
d900028c2a
function to reset handler
2012-02-06 19:56:02 -08:00
Matthew Perry
9e3bd972f4
Refactor Control to allow multiple handler types (move, hover, click)
2012-02-06 15:22:28 -08:00
Matthew Perry
fb791e14fa
Update Tile/UTFGrid.js to remove traces of images.
2012-02-06 09:46:57 -08:00
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
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
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