Select to view content in your preferred language

Aerial in state plane coords with Bing backgrounds

495
1
08-15-2012 07:29 AM
ShawnKraft
Occasional Contributor
What I would like to do is use both my aerial as well as Bing maps as backgrounds via the mapswitcher. 
Problem is when I put this:

<map initialextent="506359 283843 559527 309834 3736" top="40">
<basemaps>
  <layer label="Streets" type="bing" visible="true" style="road" culture="en-US" />
  <layer label="Aerial" type="bing" visible="false" style="aerial" culture="en-US" />
  <layer label="Aerial with labels" type="bing" visible="false" style="aerialWithLabels" culture="en-US" />
  <layer label="Laramie Aerial" type="image" visible="false" alpha="1" url="http://icarus/ArcGIS/rest/services/Laramie/ImageServer"/>

Everything works except when the initial map pops up, its somewhere in the atlantic ocean instead of Laramie,WY. The coords and spatial reference in the initial extent are in state plane feet for Laramie,WY because my aerial and all my data is in state plane.  Is there a way I can get this to work so the map comes up centered on Laramie?  If I can then I can just toggle between Bing map backgrounds and my aerial.
Tags (2)
0 Kudos
1 Reply
ShawnKraft
Occasional Contributor
Never mind.  Figured it out.  Someone can close this thread.
0 Kudos