Select to view content in your preferred language

Map Wrapping

2074
7
05-18-2010 02:08 PM
DanielPrietti
Emerging Contributor
Hello,

I've been using the ArcGis Flex API 1.3 for awhile now, I love it.  One thing that annoys me though is the Map layers don't wrap around, instead you get the "Map Data Not Yet Available", or just a blank white background.

Is there any way to override the Map component to enable layer wrapping?

Thanks!
Tags (2)
0 Kudos
7 Replies
DanielPrietti
Emerging Contributor
So I guess it's not possible?  Is this added in version 2.0, or is this something that has to be added server-side?
0 Kudos
DanielPrietti
Emerging Contributor
Any update on this?
0 Kudos
philippschnetzer
Frequent Contributor
please clarify the term 'map wrapping'....

...if you are using tiled arcgis online basemaps there are just certain scales that are not tiled so there is nothing to display....

...please elaborate
0 Kudos
DanielPrietti
Emerging Contributor
Sorry for not clarify...

Yes, I'm using a tile map service, similar to this:

[HTML]
<esri:ArcGISTiledMapServiceLayer           url="http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer" />
[/HTML]

So it's not possible to have the layer wrap around, instead of showing the blank map?  I was hoping for something similar to Google Maps, where you can keep dragging the map and the layer keeps wrapping around.
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Daniel,

   I was hoping one of the API Team members would answer this. The Flex API does not support map wrapping just as ArcMap does not either. This capability was discussed at the Developer conference round table but no firm plans that I know of.
0 Kudos
JohnPaulsen
Emerging Contributor
I realize this is an old thread but the API's support it now

http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_wraparound...

http://help.arcgis.com/en/webapi/silverlight/2.2/help/index.html#//0166000000m2000000.htm

http://help.arcgis.com/en/webapps/flexviewer/help/index.html#/What_s_new_in_2_3/01m300000011000000/

-Sean


Sean,  Thanks for taking the time to update this thread.  if using 2.3 or later  ArcGIS Viewer for Flex modify the config.xml file add the following property setting: wraparound180="true" to the map line <map initialextent=" .....>  to enable this feature.    Thanks again.
0 Kudos