Making the default UTFGrid resolution 2.
According to the latest [spec](https://github.com/mapbox/utfgrid-spec/blob/master/1.2/utfgrid.md): "By default, UTFGrid operates on a 2x2 grid."
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
layer = new OpenLayers.Layer.UTFGrid(
|
||||
null,
|
||||
"../data/utfgrid/world_utfgrid/${z}/${x}/${y}.json",
|
||||
{isBaseLayer: true}
|
||||
{isBaseLayer: true, utfgridResolution: 4}
|
||||
);
|
||||
map = new OpenLayers.Map({
|
||||
div: "map",
|
||||
|
||||
Reference in New Issue
Block a user