This is a migrated thread and some comments may be shown as answers.

IIS Map doesn't show

1 Answer 22 Views
Map
This is a migrated thread and some comments may be shown as answers.
Kai-Uwe
Top achievements
Rank 1
Kai-Uwe asked on 19 Apr 2011, 10:00 AM
Hi,

I have a RadMap configured to show the sample continents using Shapefiles.

<

 

 

telerik:MapShapeReader Source="../Shapes/world_continents.shp"

 

 

 

 

DataSource="../Shapes/world_continents.dbf"

 

 

 

ToolTipFormat="CONTINENT" />

 


Works fine with the VS 2010 Web Development Server.

But when I change the Start options to use custom server instead of default web server then the map simply shows the background and does not load the shapes.

How can I use custom server with RadMap? 

1 Answer, 1 is accepted

Sort by
0
Kai-Uwe
Top achievements
Rank 1
answered on 19 Apr 2011, 12:25 PM
Hi,

ok, found the information in the general topic of this silverlight forum.

I have to add the mime types for the used shp and dbf files to IIS, like:

<

 

 

system.webServer>

 

 

<

 

 

staticContent>

 

 

<

 

 

mimeMap fileExtension=".dbf" mimeType="application/octet-stream" />

 

 

<

 

 

mimeMap fileExtension=".shp" mimeType="application/octet-stream" />

 

 

</

 

 

staticContent>

 

 

</

 

 

system.webServer>

 


Tags
Map
Asked by
Kai-Uwe
Top achievements
Rank 1
Answers by
Kai-Uwe
Top achievements
Rank 1
Share this question
or