I'd like to use a basemap containing world map data as a backdrop to some point and outline data that I'm hosting in ArcGIS server in the ESRI Flex API, but I would like the map control to share a WKID with my data, so I don't need to reproject it on every operation. However, the Map control seems to want a) the layers to be displayed with the first being on the bottom, and b) the first layer to be the layer that defines the WKID. Is there a good way to work around these contraints?
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
|
According to the docs, you can't set SpatialReference directly. Instead, set the extent property on the Map object.
|
|||
|
|
|
An alternative way to workaround the (a) and (b) constraints you mention is to re-order the layers once the first layer is loaded (and has set the map spatial reference). |
|||
|
|
