Select to view content in your preferred language

Rendering a custom map service.

493
1
12-11-2012 05:55 PM
PrasannaRaghavendar
New Contributor III
Hi,
I would like to know how to render a custom map service on the page. I know that doing this would render an ArcGis map service.
map = new esri.Map("map");
var tiledMapServiceLayer = new esri.layers.ArcGISTiledMapServiceLayer("https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer");
map.addLayer(tiledMapServiceLayer);


I want one of the custom made map service to be placed as the URL. How should I achieve that?

Thanks
Prasanna
0 Kudos
1 Reply
DevonDunham1
Deactivated User
Hello,

After researching this it appears the only way to accomplish this is by deploying or borrowing resources from an ESRI Mapping Server. I may be wrong but would definitely like to know as well.
0 Kudos