-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Windows Application Development Cookbook
By :
As you learned in the previous chapter, you can show a map directly in your application. Unfortunately, by default, it informs a user that the map service token has not been specified. You can solve this problem by generating a map token using the Bing Maps Dev Center portal, as you will see in this recipe. Then, the obtained token should be set as a value of the MapServiceToken property of MapControl.
To step through this recipe, you need a project that contains a page with the MapControl control. You could use an application developed as an example in the Showing a map within a page recipe from
Chapter 8, Internet-based Scenarios.
To obtain a map token, perform the following steps: