It could be faster to use one connection for multiple tiles.
First we should determine whether the current implementation reuses the
connection behind the scenes in .Net
CloudMade has explicit support for requesting multiple tiles at once,
documented at:
http://developers.cloudmade.com/issues/show/120
URL pattern:
http://<server>/tile/streamer?t=<comma separated tile numbers
X,Y,X,Y,X,Y,X....>&z=<zoom_level>&size=<64,256>&style=<style_id>&api_key=<api_ke
y>
Response format:
<X_tile 1><Y_tile 1><tile_size 1><tile 1>
<X_tile 2><Y_tile 2><tile_size 2><tile 2>
...
<X_tile n> <Y_tile n><tile_size n><tile n>
<X_tile> - X coordinate of tile, 4 bytes integer
<Y_tile> - Y coordinate of tile, 4 bytes integer
<tile_size> - byte count of tile, 4 bytes integer
<tile> - raw bytes of PNG
Original issue reported on code.google.com by mark.g...@gmail.com on 24 Jun 2009 at 6:53
Original issue reported on code.google.com by
mark.g...@gmail.com
on 24 Jun 2009 at 6:53