Support specifying grid resolution at the layer level
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user