Support specifying grid resolution at the layer level

This commit is contained in:
Matthew Perry
2012-02-07 12:20:29 -08:00
parent 4e84a7113d
commit 80656cdfd0
2 changed files with 9 additions and 2 deletions

View File

@@ -136,6 +136,14 @@ OpenLayers.Layer.UTFGrid = OpenLayers.Class(OpenLayers.Layer.Grid, {
return OpenLayers.String.format(url, xyz);
},
/**
* APIProperty: utfgridResolution
* {Number} Number of pixels per grid "cell"
* Defaults to 4
*/
utfgridResolution: 4,
/**
* Method: getTileInfo
* Get tile information for a given location at the current map resolution.