[Tile-serving] [mod_tile] SCALE option to produce retina tiles (#82)

apmon notifications at github.com
Wed Jul 9 17:52:04 UTC 2014


> @@ -244,7 +245,7 @@ static enum protoCmd render(struct xmlmapconfig * map, int x, int y, int z, char
>          Map map_parameterized = map->map; 
>          if (map->parameterize_function) 
>              map->parameterize_function(map_parameterized, options); 
> -        mapnik::agg_renderer<mapnik::image_32> ren(map_parameterized,buf); 
> +        mapnik::agg_renderer<mapnik::image_32> ren(map_parameterized,buf,map->scale);

Has this option of scale in the constructor always existed, or is this a new feature and needs to be protected by an ifdef MAPNIK_VERSION?

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/pull/82/files#r14724565
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20140709/83975881/attachment.html>


More information about the Tile-serving mailing list