CMV Map: Geometry can not be converter to spatial reference of the map
Hello, I have problem with the HomeButton in CMV application. Does not work correctly.
I have basemap layer with the same extent and wkt(wkid).
My configured HomeButton is like this:
homeButton: {
include: true,
id: 'homeButton',
type: 'domNode',
path: 'esri/dijit/HomeButton',
srcNodeRef: 'homeButton',
options: {
map: true,
extent: new Extent({
xmin: 7453997.167724074,
ymin: 4522670.011172033,
xmax: 7670518.546794982,
ymax: 4693440.008273583,
spatialReference: {
wkid:'PROJCS["Bessel_1841_Transverse_Mercator",GEOGCS["GCS_Bessel_1841",DATUM["D_Bessel_1841",SPHEROID["Bessel_1841",6377397.155,299.1528128]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",7500000.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",21.0],PARAMETER["Scale_Factor",0.9999],PARAMETER["Latitude_Of_Origin",0.0],UNIT["Meter",1.0]]'
}
})
},
fromDb: false
}
And I got this error in console after clicking the HomeButton:
Any help or suggestions?
Thanks...
-
0
Du måste logga in om du vill lämna en kommentar.
Kommentarer
1 kommentar