Hoppa till huvudinnehållet

get x,y values from the map

Kommentarer

1 kommentar

  • Permanently deleted user

    Hi Sonia,

    If you're coding a module to send these coordinates, you can subscribe to the MapMouseClicked event in the Silverlight viewer and it will contain the map coordinates of the click (as well as the screen coordinates).

    It looks like your service is consuming UTM coordinates. If your map is in a different coordinate system, you can easily project the point by adding a using directive for Geocortex.EssentialsSilverlightViewer.Infrastructure.Utils. If you do that, you should be able to access an extension method called Project on the MapPoint object received in the event.

    Hope this helps.

    - Jason

     

     

    0

Du måste logga in om du vill lämna en kommentar.