Hi Everyone,
I am getting this really weird log entry in the console while loading a base map layer and on click it.
//Creating a base map gallery widget
var basemapGallery = new BasemapGallery({
id: "basemapGallery",
map: this.map,
showArcGISBasemaps: true,
portalUrl: this.config.sharinghost,
basemapsGroup: this._getBasemapGroup()
}, domConstruct.create("div", {}, basemapDiv));
//adding a base map layer into the base map gallery widget
var additionalBasemap = new esri.dijit.Basemap({
layers: [new esri.dijit.BasemapLayer({
url: "Provincial_Basemap_A/Latest (MapServer)",
opacity: 1
})],
title: "Provincial Basemap A"
});
basemapGallery.add(additionalBasemap);
basemapGallery .startup();
Added layer is visible in the Base map gallery widget. but tried to access that layer throws a console error:
Map: Geometry (wkid: 102100) cannot be converted to spatial reference of the map (wkid: 102184) Map: Geometry (wkid: 102184) cannot be converted to spatial reference of the map (wkid: 102100)
Thanks for the help in advance.