This is a migrated thread and some comments may be shown as answers.

Recreating Databinding Map not loading

5 Answers 81 Views
Map
This is a migrated thread and some comments may be shown as answers.
Bryan
Top achievements
Rank 1
Bryan asked on 01 Apr 2011, 09:20 PM
I am trying to create a Silverlight App based on the Databinding RadMap example.

I am using MS Visual Studio 2010, and created a Silverlight App with a web server.  I started out by just trying to recreate the Databinding example from the example code, but when I run it, the loading symbol gets to 100% and just sits there, not loading the map.

I have tried on both FireFox 3.6 and IE8. 
I previously, using the same means, successfully created a working version of the Search example.
The huge ExamplesCS_SL solution file, works fine.

I can't figure out what is going wrong.   Can anyone help me?

Thanks,
Bryan

5 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 06 Apr 2011, 08:40 AM
Hello Bryan,

Unfortunately we are having difficulties reproducing the problem without your code. Could you, please, send to us your solution or another small runnable project illustrating the issue?

Kind regards,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Bryan
Top achievements
Rank 1
answered on 06 Apr 2011, 06:15 PM
Hey Andrey,
I have submitted my solution as an attachment to a support ticket, ID: 411592.

Thanks,
Bryan
0
Andrey
Telerik team
answered on 07 Apr 2011, 08:45 AM
Hello Bryan,

I'm sorry, but attached zip file contains only one file: SilverlightApplication1.sln and nothing more. Could you try sending the actual files again?


Greetings,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Bryan
Top achievements
Rank 1
answered on 08 Apr 2011, 01:10 PM
Sorry about that Andrey,
I have resubmitted, support ticket ID:412359

Thanks,
Bryan
0
Andrey
Telerik team
answered on 13 Apr 2011, 08:07 AM
Hi Bryan,

I have inspected your application. It did not work because the POICollection and WayPointCollection classes have contained incorrect URIs to resource streams in their Load method. When I update them to the following then application works as expected:
StreamResourceInfo streamInfo = Application.GetResourceStream( 
 new Uri("/SilverlightApplication1;component/PointsOfInterest.xml", UriKind.RelativeOrAbsolute)); 
    
StreamResourceInfo streamInfo = Application.GetResourceStream( 
 new Uri("/SilverlightApplication1;component/WayPoints.xml", UriKind.RelativeOrAbsolute)); 

Also I should ask you to use your own Bink Maps key in the VEKey.txt file instead of key which is used for our silverlight examples only. To learn how to obtain a key, please visit the following link:
http://msdn.microsoft.com/en-us/library/ee681900.aspx

Greetings,
Andrey Murzov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Map
Asked by
Bryan
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Bryan
Top achievements
Rank 1
Share this question
or