Select to view content in your preferred language

Use different  spatial reference in flex beside arcgis online

708
3
Jump to solution
08-10-2012 06:51 AM
zaheertimol
Emerging Contributor
Hi ,
     does anyone has any sample of a different spatial reference use in a config.xml file.
Thanks
Zee
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
RamaChintapalli
Esri Contributor
Then you can define your tiled map service in the basemap's tag as below. You need to make sure that the initial extent you define in the <map> tag matches the initial extent of your map service.

<map wraparound180="true" initialextent="-14968409 2032579 -6681412 7531153" top="40">          <basemaps>             <layer label="My Basemap" type="tiled" visible="true"                    url="http://<yourservername>/ArcGIS/rest/services/<yourmapservicename>/MapServer"/>                     </basemaps>         <operationallayers>            ...     ...                                </operationallayers> </map>

View solution in original post

0 Kudos
3 Replies
RamaChintapalli
Esri Contributor
Not sure what exactly you were looking for. Are you looking to add your own basemap (different spatial reference than the arcgis online) ?
0 Kudos
zaheertimol
Emerging Contributor
Not sure what exactly you were looking for. Are you looking to add your own basemap (different spatial reference than the arcgis online) ?


yes that what i am looking for
0 Kudos
RamaChintapalli
Esri Contributor
Then you can define your tiled map service in the basemap's tag as below. You need to make sure that the initial extent you define in the <map> tag matches the initial extent of your map service.

<map wraparound180="true" initialextent="-14968409 2032579 -6681412 7531153" top="40">          <basemaps>             <layer label="My Basemap" type="tiled" visible="true"                    url="http://<yourservername>/ArcGIS/rest/services/<yourmapservicename>/MapServer"/>                     </basemaps>         <operationallayers>            ...     ...                                </operationallayers> </map>
0 Kudos