Select to view content in your preferred language

create a basemap for use in flex viewer

346
0
09-21-2012 12:55 AM
ASCOLASCOL
Emerging Contributor
Hello,

I wish from multiple files *. Shp CRER basemap layer that can be used in the application flex viewer.
So I move my layers format *. Shp in ArcMap (v10) and save the map as a *. Mxd.
I then published a url otenir card service:
http://monserveur:8399/arcgis/rest/services/haute-normandie_natural2/MapServer

In flex viewer application, I put the url here:
<basemaps>
    <layer label="haute-normandie_natural2" type="dynamic" visible="true"
        url="http://monserveur:8399/arcgis/rest/services/haute-normandie_natural2/MapServer"/>
</basemaps>


When I launch the application flex, I have no card, no ability to zoom in or out. I have a white background.
I think it had to create the map in a different way or I missed something?

With the url of esri, this is done like this:
<layer label="Streets" type="tiled" visible="true"
                   url="http://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>


Thank you for your help.
Tags (2)
0 Kudos
0 Replies