rkbangde / route-me

Automatically exported from code.google.com/p/route-me
0 stars 0 forks source link

Support round-robin for map sources #89

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
RMCloudMadeMapSource.m and other support one fix URL per source. But e.g. 
CloudeMade is 
offering round-robin URLs:

The URLs for http://%@.tile.cloudmade.com/devid/1/%d/%d/%d/%d.png can be:
http://a.tile.cloudmade.com/devid/1/%d/%d/%d/%d.png 
http://b.tile.cloudmade.com/devid/1/%d/%d/%d/%d.png 
http://c.tile.cloudmade.com/devid/1/%d/%d/%d/%d.png 

This should improve loading performance . Would be great to have support for 
that generalized. 

Original issue reported on code.google.com by linde.andreas on 15 Mar 2009 at 10:14

GoogleCodeExporter commented 8 years ago
Sorry, should have been defines as enhancement

Original comment by linde.andreas on 15 Mar 2009 at 10:15

GoogleCodeExporter commented 8 years ago

Original comment by Quazie on 15 Mar 2009 at 3:45

GoogleCodeExporter commented 8 years ago
Andreas: I switched from a.tile.cloudmade.com to simply tile.cloudmade.com in 
r341. 

In http://developers.cloudmade.com/projects/tiles/documents they state that the 
explicit provision of a/b/c 
roundrobin is to get around connection limits in browsers. So this would impact 
us only if we were being limited 
by the number of simultaneous NSURL connections that Cocoa Touch allows to a 
particular host.

What change are you proposing? How would that make things faster?

Original comment by halmuel...@gmail.com on 15 Mar 2009 at 6:13