Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Windows Phone 7.5: Building Location-aware Applications

You're reading from   Windows Phone 7.5: Building Location-aware Applications Build your first Windows Phone application with Location and Maps with this book and ebook.

Arrow left icon
Product type Paperback
Published in Jul 2012
Publisher Packt
ISBN-13 9781849687249
Length 148 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

Table of Contents (11) Chapters Close

Windows Phone 7.5: Building Location-aware Applications
Credits
About the Author
About the Reviewers
1. www.PacktPub.com
2. Preface
1. The Location-based World FREE CHAPTER 2. Using Location in Windows Phone 7.5 3. Using Maps in your Windows Phone App 4. Events App - PacktEvents 5. Location-aware News App — PacktNews

Plotting events on Bing Maps


In Chapter 3, Using Maps in your Windows Phone App, we saw how to use Bing Maps and pushpins within our apps. Now, let us use that knowledge to incorporate maps within our "Hello Events" franchise:

  1. 1. Create a new Silverlight for Windows Phone project and Name it HelloEvents-Maps.

  2. 2. Copy the code and UI from our previous HelloEvents-Categories example. We will make some changes in the EventPage.xaml and EventPage.xaml.cs files to show maps and events plotted on the maps.

  3. 3. Add a button and a map control to your EventPage.xaml file just below the ListBox control. Your ContentPanel grid should now contain the following lines of code:

    <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,30">
    <ProgressBar Name="loadingBar" Margin="0,251,0,263"
    IsIndeterminate="true"></ProgressBar>
    <ListBox Height="555" HorizontalAlignment="Left"
    Margin="2,6,0,0" Name="myEventsList"VerticalAlignment="Top"
    Width="448"></ListBox>
    <Button Content...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image