O'Reilly logo

Microsoft Silverlight 4 Business Application Development Beginner's Guide by Frank LaVigne, Cameron Albert

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Time for action - adding store locations

Let's add markers to the map where Cake-O-Rama currently has shops.

  1. Return to the CakeORamaLocations solution in Visual Studio.
  2. Let's change the Map control node in the MainPage.xaml file so that it contains the following:
    <map:Map x:Name="map" Center="39.04801,-76.84817" ZoomLevel="10" Mode="Road" Grid.Row="1" CredentialsProvider="[Bing Maps Account Key]" > <map:Pushpin Location="39.28345, -76.61714" /> <map:Pushpin Location="39.21485, -76.86082" /> <map:Pushpin Location="38.95981, -77.08540" /> <map:Pushpin Location="38.89153, -77.0850" /> <map:Pushpin Location="39.12242, -77.23495" /> <map:Pushpin Location="38.92415, -77.22659" /> <map:Pushpin Location="39.09325, -76.85680" /> <map:Pushpin Location="38.97804, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required