AnsweredAssumed Answered

Spatial reference Basemap

Question asked by Adityakumar529 on Nov 21, 2018
Latest reply on Nov 21, 2018 by Dan_Patterson

Hi ,

I am trying to add custom map in basemapgallery widget.

 

var topoLayer = new BasemapLayer({ url: 'https://xxxx/arcgis/rest/services/xxxx/MapServer' });

// topo item for gallery
var topoBasemap = new Basemap({
layers: [topoLayer],
id: 'topo',
title: 'Topo',
thumbnailUrl: 'http://www.arcgis.com/sharing/rest/content/items/6e03e8c26aad4b9c92a87c1063ddb0e3/info/thumbnail/topo_map_2.jpg'

});

 

 

But on execution I am getting the below error.

Map: Geometry (wkid: 102642) cannot be converted to spatial reference of the map (wkid: 102100)

 

Any clue?

 

Thanks

Aditya Kumar

Outcomes