locked
Bing Maps Silverlight control 3D support

    General discussion

  • Does anyone know somithing about 3D support in the Silverlight control? When it could be ready?

    I have to upgrade an old project ASP.NET and Virtual Earth with Silverlight but I'm not shure to use the new Silverlight map control because I have a lot of 3D models to show in the map and today 3D is not supported.

    Tuesday, December 22, 2009 5:06 PM

All replies

  • short answer: no one knows but unlikely to be soon

    long answer:

    Silverlight 3 does not have any real 3d support so a full silverlight 3d control isnt currently possible. Silverlight 4 has been anounced and it also has no 3d support. That means it will be silverlight 5 before we have a chance of this being a possibility and thats got to be at least 12 months away


    Brian @ Earthware - UK interactive mapping web developers http://www.earthware.co.uk/blog | http://www.twitter.com/earthware | Windows Live Developer MVP
    Wednesday, December 23, 2009 10:46 PM
    Moderator
  • Thank you Brian for your answer, this is a very bad news!
    Searching on the net I found some interesting projects like Balder, we really have to wait Silverlight 5 for 3D support?
    Tuesday, December 29, 2009 8:27 AM
  • Just to clarify - you are talking about the creation of a brand new, native 3D modelling engine within the Silverlight control, right? Even after Silverlight 5 might make this possible, I still would expect a fully-managed 3D map control to be some time after that... but I'd be pleasantly surprised if it comes sooner.

    If you really want to, it should be possible to create a hack to get the Silverlight Map control to call into the existing Bing Maps 3D control, but doing so obviously breaks the cross-platform, self-contained model of Silverlight, and it also requires jumping through some hoops to try to break out of the Silverlight sandbox and call the VE3D control on the client machine. You could try to make a javascript call from Silverlight to a WScript ActiveX object, which then ran the VE3D control from a shell command.... probably...

    You say that you have an existing solution that is already using the existing 3D map control succesfully (and the AJAX control behind that? Or a WinForms application?) - what are your specific reasons for eanting to upgrade to Sliverlight?


    Beginning Spatial with SQL Server http://www.apress.com/book/view/1430218290
    Tuesday, December 29, 2009 9:17 AM
    Moderator
  • Thank you tanoshimi, I'm talking about 3D functionalities like importing 3D models and the possibility to set the pitch and the heading of the map as in the old VE Ajax control.

    Our existing solution is an Ajax web application and we can import 3D models but also draw 3D shapes over the map. We want to upgrade to Silverlight because we want to improve the UI of the application. Moreover the Silverlight control could permit to write our application logic in C# not in Javascript so we could have a great benefit in performance, I think.

    But we can't lose 3D mode. If I understood, do you think it could be possible to work in 2D mode with the Silverlight control and when we want to switch in 3D mode load "on demand" the VE Ajax control in 3D mode, like a coexistence of the two controls?

    Tuesday, December 29, 2009 4:42 PM
  • do you think it could be possible to work in 2D mode with the Silverlight control and when we want to switch in 3D mode load "on demand" the VE Ajax control in 3D mode, like a coexistence of the two controls?

    Yes, that's basically what I was suggesting - you could use the Silverlight map as your 'main' 2d interface, and then when you want to switch into 3D mode you could call javascript from Silverlight to communicate with an instance of the AJAX control (which, in turn, could be set to call the VE3D application to run in 3D mode).
    Note that I haven't actually tried this, but I can't see why it wouldn't work.... if you do try it, please post back here and let us know how you get on!

    You might find the following information about how to set up the calls from Silverlight <--> Javascript useful:
    http://blogs.silverlight.net/blogs/msnow/archive/2008/07/08/tip-of-the-day-15-communicating-between-javascript-amp-silverlight.aspx
    Beginning Spatial with SQL Server http://www.apress.com/book/view/1430218290
    Tuesday, December 29, 2009 5:02 PM
    Moderator
  • Thank you, I think it's a good piece of advice!
    If I try I will post my results.
    Wednesday, December 30, 2009 8:00 AM