VDS Technologies

 

using here map

5/26/2016 6:21:38 AM
Total Posts 1

using here map

hi

i tried to use the tile provided by here map, referring to https://developer.here.com/api-explorer/rest/map-tile/map-tile-terrain

 

and example will be as below 

https://1.aerial.maps.cit.api.here.com/maptile/2.1/maptile/newest/terrain.day/7/66/45/256/png8?app_id=DemoAppId01082013GAL&app_code=AJKnXv84fjrb0KIHawS0Tg

 

where the 7/66/45 represents zoom/column/row

 

how ever it can't load.

any idea how to use this tile in aspmap ?

5/27/2016 2:48:10 AM
MVP
Total Posts 323

Re: using here map

Try the code below

void AddOSMLayer()

{

OSMLayer osmLayer = newOSMLayer("https://1.aerial.maps.cit.api.here.com/maptile/2.1/maptile/newest/terrain.day/{z}/{x}/{y}/256/png8?app_id=DemoAppId01082013GAL&app_code=AJKnXv84fjrb0KIHawS0Tg");

map.BackgroundLayer = osmLayer;

}