Each projected and geographic coordinate system is defined by both a well-known ID (WKID) or a definition string (WKT). The ArcGIS API for Flex (and the underlying ArcGIS Server REST API) only supports well-known IDs (not definition strings).
Shimon31, The fact is that the SFV 1.3 works out of the box using basemaps in 4326 (both map display and the draw widget). With the minor exception of dynamic maps that is discussed here in this thread http://forums.esri.com/Thread.asp?c=158&f=2421&t=297291&mc=3#927860. If the dynamic maps issue is not your issue than either you have changed some code or your map services are in another projection. It really doesn't matter if your map services are in another projection as long as they are added as they are added to the livemaps or basemaps section of the config.xml with a type value of dynamic. What is your map services WKID? Maybe you should post your config.xml.
var extent:Extent = new Extent(Number(extArray[0]), Number(extArray[1]), Number(extArray[2]), Number(extArray[3]));
var extent:Extent = new Extent(Number(extArray[0]), Number(extArray[1]), Number(extArray[2]), Number(extArray[3]),new SpatialReference(4326));
Shimon31, I have to admit you have me a little confused here. In the SFV 1.3 this line of code is there by defaultvar extent:Extent = new Extent(Number(extArray[0]), Number(extArray[1]), Number(extArray[2]), Number(extArray[3])); and both the map displays and the draw widget works...When you say that you set the code to var extent:Extent = new Extent(Number(extArray[0]), Number(extArray[1]), Number(extArray[2]), Number(extArray[3]),new SpatialReference(4326));and the map does not display but the draw widget work, what is the spatial reference of you map services that are in the map? are you using the default OLD basemaps or the newer ones that are in WKID 102100?
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.