Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TileLive Blank tiles when size is not 256 #94

Open
niranjanbala opened this issue Jul 27, 2015 · 1 comment
Open

TileLive Blank tiles when size is not 256 #94

niranjanbala opened this issue Jul 27, 2015 · 1 comment

Comments

@niranjanbala
Copy link

I am using tilelive-js & tilelive-mapnik in my node app. All works fine when i use the default tileSize : 256
When i change tileSize to 1024. I get blank tiles. Note: I have changed the size in google maps overlays.
tilelive.load({
protocol: 'mapnik:',
pathname: {{mapnikXmlFile}},
xml: {{mapnikXmlFileContent}},
query: {
tileSize: {{tileSize}},
autoLoadFonts: false
}
}, function(err, source) {
if (err) {
callback(err);
} else {
source.getTile({{Z},{{X}}, {{Y}}, function(error, tile, headers) {
//handle response
});
}
});
If i reduce the zoom by 2 images are rendered correctly, Want to know if i have missed any configuration in tilelive apis or the Z,X,Y coming from google-overlays wrong?

@tjwebb
Copy link

tjwebb commented Jun 2, 2016

same problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants