Hi ,
I am trying to add custom map in basemapgallery widget.
var topoLayer = new BasemapLayer({ url: 'https://xyz/arcgis/rest/services/xyz/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
NAD 1983 StatePlane California II FIPS 0402 Feet: ESRI Projection -- Spatial Reference
NAD 1983 StatePlane California II FIPS 0402 Feet
A projection from this to web Mercator ESRI:102100: SR-ORG Projection -- Spatial Reference
is needed
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.