http://[abc].tile2.opencyclemap.org/transport/${z}/${x}/${y}.png
var sub = ["a","b","c"]; var wtl = esri.layers.WebTiledLayer; var cycleMap = new wtl("http://{subDomains}.tile2.opencyclemap.org/transport/${z}/${x}/${y}.png", { "id": "OTranspoMap", "copyright": "OTM", "subDomains": sub }); map.addLayer(cycleMap);
Uncaught TypeError: Cannot call method 'toString' of undefined
var cycleMap = new wtl("http://${subDomain}.tile.opencyclemap.org/cycle/${level}/${col}/${row}.jpg", { "copyright": "Open Cycle Map", "id": "Open Cycle Map", "subDomains": ["a", "b", "c"] });
var cycleMap = new wtl("http://${subDomain}.tile2.opencyclemap.org/transport/${z}/${x}/${y}.png", { "id": "OTranspoMap", "copyright": "OTM", "subDomains": sub });
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.