openlayers/openlayers — pull request #695 by ahocevar (2012-10-01 13:31:44+00:00)
Title: Support for multiple resource urls for WMTS

With this change, createLayer generates url arrays for both KVP and REST
encoding if multiple resource urls are provided. To make this work, the
WMTSCapabilities format got a new resourceUrls property, because
previously only the first resourceUrl for a format was stored.

With tests, and all tests pass in Safari5. Thanks for any review.