Something seems to be going wrong when I try to configure my layers and basemaps in Flex Viewer 3.1. The issue seems to be around the coordinate system, which is 2193.
I've got my main config setup like this:
However that doesn't load the map, but it does in Flex Viewer 3.0? It does work though if I change addarcgisbasemaps to true and use WGS coordinates for the initial extent. I know the "addarcgisbasemaps" tag was added in 3.1, so I'm thinking something to do with that.
I've got my main config setup like this:
Code:
<map wraparound180="true" esrilogovisible="false" initialextent="1778634 5433543 1856528 5473165" fullextent="1778634 5433543 1856528 5473165" top="0" addarcgisbasemaps="false">
<basemaps>
<layer label="Imagery (2010)" type="tiled" visible="true"
icon="assets\images\basemap_imagery.png" url="http://gis.mstn.govt.nz/ArcGIS/rest/services/Basemaps/WairarapaImagery/MapServer"/>
</basemaps>
<operationallayers>
<layer label="Boundaries" type="dynamic" visible="true" alpha="0.7" url="http://gis.mstn.govt.nz/ArcGIS/rest/services/Cadastral/Boundaries/MapServer" />
</operationallayers>
</map>