Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
260
XamWebMap.Projection.ProjectToMap() missing?
posted

I've recently inherited some silverlight code and am trying to get it running. It was written using DataVisualization 9.1 and I moved it to 9.2. The only thing that is not working is

myMap.Projection.ProjectToMap()

ProjectToMap does not seem to be part of XamWebMap.Projection and I don;t see anything that would replace it.  Has it been depricated? What is the replacement?

Parents
No Data
Reply
  • 30692
    Suggested Answer
    Offline posted

    In Silverlight 3.0 Microsoft added a projection property to UIElement (which XamWebMap inherits from) for the new 3D projection functionality. As a result, the XamWebMap map projections are now applied and manipulated using the MapProjection property, so try:

    myMap.MapProjection.ProjectToMap...

    -Graham

Children
No Data