-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
The module doesn't seem to works with HiDPI screens like Retina.
Example:
save following under config.json, then run /usr/bin/nodejs /usr/bin/tessera -c . -p 28089
{
"/toner": {
"source": "tilejson+http://staging.tile.stamen.com/toner-background/index.json"
},
"/toner-http": {
"source": "http://toner-elb-3vaew2i23b6d-1666871272.us-east-1.elb.amazonaws.com/toner-background/{z}/{x}/{y}.png"
}
}
http://127.0.0.1:28089/toner-http/6/11/26@2x.png returns a 512x512 image. Fine.
http://toner-elb-3vaew2i23b6d-1666871272.us-east-1.elb.amazonaws.com/toner-background/6/11/26@2x.png returns a 512x512 image (it's the link described in the tilejson file). Fine.
http://127.0.0.1:28089/toner/6/11/26@2x.png returns a 256x256 image. Wrong :-(.
The solution is probably as simple as integrating the modifications proposed in https://github.com/mapbox/node-tilejson/pull/26/files.
Metadata
Metadata
Assignees
Labels
No labels