Select to view content in your preferred language

Mapping Toolkit - WPF

1062
5
06-28-2013 08:23 AM
Labels (1)
ducksunlimited
Deactivated User
HI Everyone,

I just started building a WPF app using ArcGIS Runtime SDK. I have a map viewer and navigation control, but I am looking for a toolkit (just like what the one available for the silverlight web viewer) - so just basically zoom in/out, pan, full extent and so on. Is it available?

Thanks for your help.
Russel
0 Kudos
5 Replies
PreetiMaske
Esri Regular Contributor
Hi,

These operations are available Out-of-the box. you don't need reference to any toolkit to be able to Pan, Zoom-in or Zoom-out.

Thanks,
Preeti
0 Kudos
ducksunlimited
Deactivated User
Hi,

These operations are available Out-of-the box. you don't need reference to any toolkit to be able to Pan, Zoom-in or Zoom-out.

Thanks,
Preeti


thanks for your response. yes, i can program myself to add these out-of-box functions, but what i really want is an already exising toolbar with nice feel and look like http://help.arcgis.com/en/webapi/silverlight/samples/start.htm#ToolBarWidget
0 Kudos
EzequiasRodrigues_da_Rocha
Regular Contributor
But how to add custom tools on 10.1?

I would like to make selections on my FeatureSource but I haven't as I have MapActions (in 10.0 Windows) in WPF.

Is there any alternative to set tools to my Windows Mobile WPF application?


Regards
Ezequias
0 Kudos
EzequiasRodrigues_da_Rocha
Regular Contributor
I think I have found the solution.

  private void map1_MouseUp(object sender, MouseButtonEventArgs e)
        {                          
                double x = e.GetPosition(sender as Map).X;
                double y = e.GetPosition(sender as Map).Y;
                Coordinate coord = new Coordinate(mainMap.ToMap(Convert.ToInt32(x),Convert.ToInt32(y)));  
        }
0 Kudos
StephenBooks
New Contributor
I think the best guide you need if you have troubles in finding solutions to your WPF questions in Beginning WPF by Full Example.

Good luck in creating amazing applications!
0 Kudos