Skip to content

Commit

Permalink
we only do this at z12
Browse files Browse the repository at this point in the history
  • Loading branch information
emgrasmeder committed May 6, 2016
1 parent 90dd141 commit 117c443
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/count/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ var tileReduce = require('../../src');
var path = require('path');

var numFeatures = 0;

m
tileReduce({
bbox: [-122.05862045288086, 36.93768132842635, -121.97296142578124, 37.00378647456494],
zoom: 15,
zoom: 12,
map: path.join(__dirname, '/count.js'),
sources: [{name: 'osm', mbtiles: path.join(__dirname, '../../test/fixtures/osm.mbtiles'), raw: true}]
})
Expand Down

1 comment on commit 117c443

@tcql
Copy link
Contributor

@tcql tcql commented on 117c443 May 12, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

test/fixtures/osm.mbtiles is zoom 15:

sqlite3 test/fixtures/osm.mbtiles
sqlite> select * from metadata limit 5;
name|test.mbtiles
description|test.mbtiles
version|1
minzoom|15
maxzoom|15

so this should be switched back to 15

Please sign in to comment.