Skip to content

Instantly share code, notes, and snippets.

@green3g
Last active April 25, 2016 16:34
Show Gist options
  • Save green3g/1011ea0404b620e2752da1b70a1802b3 to your computer and use it in GitHub Desktop.
Save green3g/1011ea0404b620e2752da1b70a1802b3 to your computer and use it in GitHub Desktop.
mapOptions: {
basemap: "topo",
extent: new m({
xmin: -1.038891959E7,
ymin: 5505576.68,
xmax: -1.037829484E7,
ymax: 5517328.87,
spatialReference: {
wkid: 102100
}
}),
sliderStyle: "small"
},
"{
"basemap":"topo",
"extent":{
"type":"extent",
"xmin":-10388919.59,
"ymin":5505576.68,
"xmax":-10378294.84,
"ymax":5517328.87,
"spatialReference":{
"wkid":4326 //why is this different!?
}
},
"sliderStyle":"small"}"
mapOptions: {
basemap: 'topo',
extent: new Extent({
'xmin': -10388919.590119971,
'ymin': 5505576.681496908,
'xmax': -10378294.843188345,
'ymax': 5517328.874595738,
'spatialReference': {
'wkid': 102100
}
}),
sliderStyle: 'small'
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment