2012/5/9 Tomas Straupis <[email protected]>: > Hello > > Can somebody point me to the description on how an url (tile scheme) > attribute works in OpenLayers.Layer.OSM? > > I'm in particular interested in the way an ARRAY of url's works. > That is if I specify more than one url, how will that be used?
see: https://github.com/openlayers/openlayers/blob/master/lib/OpenLayers/Layer/XYZ.js#L119 and https://github.com/openlayers/openlayers/blob/master/lib/OpenLayers/Layer/HTTPRequest.js#L169 and https://github.com/openlayers/openlayers/blob/master/lib/OpenLayers/BaseTypes.js#L110 > Requests from one client will be split (how?) or first/one working > tile server will be found and used afterwards? > What is the purpose of it? Load balancing? Failover? Something else? The purpose is "round robin loadbalancing" actually it splits the loading of tiles across the available service endpoints making loading of a map faster by using more simultaneous connections than generally available (4) to a browser. > > Thank you > > -- > Tomas > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users -- Disclaimer; This message is just a reflection of what I thought at the time of sending. The message may contain information that is not intended for you or that you don't understand. _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
