Issue with truck, traffic and pano resources.
Hi, Thank-you very much for this plugin! It works well. I was having trouble with getting the truck, traffic and panorama tiles to work so I made this small change on line 53.
var special = ['trucktile', 'rctile', 'traffictile'];
var prefix = special.indexOf(options.resource) != -1 ? '/maptile': '/{resource}';
var path = prefix + '/2.1/{resource}/{mapId}/{scheme}/{z}/{x}/{y}/{tileResolution}/{format}?app_id={appId}&app_code={appCode}';
Also, for the rctile (panorama), I added this at line 65:
if (options.resource == 'rctile') {
tileServer = 'pano.maps.cit.api.here.com';
}
Thanks again, Eric