×
Namespaces

Variants
Actions

Talk:Google Landmarks on a Bing Map for Windows Phone

From Nokia Developer Wiki
Jump to: navigation, search

Somnathbanik - Compatibility

This article is Compatible for both Windows Phone 7 and Windows Phone 8. But suggested to use the new location API.

We will update the title accordingly.

somnathbanik 13:11, 5 June 2013 (EEST)

Wolf11747 - Problem with sample code

I have a problem in here:

           if (LandMarkCount >= 0)
               {
                  
                   PlotUserAndLandMarks();
               }
               else
               {
                   MessageBox.Show("There is no information available for your location");
                   progressBar.IsIndeterminate = false;
                   progressBar.Visibility = Visibility.Collapsed;
               }

I get the mesage "There is no information available for your location" this means that i am not getting information here

XElement xmlDataStill = XElement.Parse(e.Result);

but i should (unless it doesnt works in Mexico, but i dont think so)

does this needs an api key or something in this part?? string url = "https://maps.googleapis.com/maps/api/place/search/xml?location=" + latitude + "," + longitude + "&radius=1000&name=" + LandMarkName + "&sensor=true/false&key=<Your Google API Key>";

sorry if this is a noob's problem but i am new in the use of API's

wolf11747 (talk) 07:38, 17 January 2014 (EET)

Wolf11747 - Sorry I already found the problem

I didn't reead the part where you talked about the windows api key

wolf11747 (talk) 07:47, 17 January 2014 (EET)

 

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×