Shapefiles in Bing Maps Silverlight
-
Sunday, April 25, 2010 4:42 PMHi guys! I would really think this question would be asked a lot, but a quick search of both the web and Google didn't turn up anything obvious...
Is there a straightforward way to view ESRI Shapefiles in the Bing Maps Silverlight Control as a layer/overlay? Could someone provide me to pointers (web links, whatever) to getting started?
If not, does anyone have a recommended best-way to display ESRI Shapefiles in Bing Maps (for Silverlight)?
I appreciate any help...!
All Replies
-
Sunday, April 25, 2010 4:54 PMModerator
There are a couple ways to get ShapeFiles into the Silverlight control. One of the easiest methods is to import your shape files into SQL 2008 using the app found here: http://www.sharpgis.net/page/SQL-Server-2008-Spatial-Tools.aspx
An alternative method is to create a ShapeFile reader to import your files. The following is a simple example of how to do this: http://www.c-sharpcorner.com/uploadfile/nschan/shapefile02252007134834pm/shapefile.asp x I've take a similar approach in the past for application and this works out well but requires a lot more work initially.
For both methods you will likely need to support multiPolygons/multipolylines. For this take a look at this article: http://rbrundritt.spaces.live.com/blog/cns!E7DBA9A4BFD458C5!1100.entry
Windows Live Developer MVP - http://rbrundritt.spaces.live.com- Marked As Answer by Richard_BrundrittMicrosoft Employee, Moderator Tuesday, May 04, 2010 12:13 AM

