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: ''




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?



Aditya Kumar