Basic tools like zoom in and zoom out in arcgis runtime for .net

3184
8
Jump to solution
02-21-2016 07:52 PM
New Contributor II

Hi guyz...I am new to arcgis Runtime...I want  to make basic tools like zoom in, zoom out button in arcgis runtime .net  ...Could you please help me out...

Reply
0 Kudos
1 Solution

Accepted Solutions
Regular Contributor II

Just for the ZoomIn and ZoomOut functionality, you can create 2 buttons and call MapView.ZoomAsync(double) to invoke to zoom. If you give a value larger than 1 ie 1.5 then it zoom in and if the value is less than 1 ie 0.5 then it zoom out.

ie. await MapView.ZoomAsync(1.5);

View solution in original post

8 Replies
New Contributor II

Hey,

there is a very good documentation and sample code.

This will help you with your first steps.

.NET Sample Code Home | ArcGIS for Developers

Reply
0 Kudos
New Contributor II

Hey Oliver ,thanx for reply..Actually i already did it and i searched alot but i am  unable to get helpul information ...if you have any helpful suggestion please let me know..

Thanks in advance

Anil

Reply
0 Kudos
Regular Contributor II

Hi,

Could you be more exact what kind of information you are looking for? Samples, Guide documentation and API reference should give fairly good idea how to work with the SDK.

If you have more detailed questions how to do something specific functionality, please let me know.

Also have a look on our toolkit controls on GitHub.

Here are some references:

https://developers.arcgis.com/net/desktop/guide/guide-home.htm

https://developers.arcgis.com/net/desktop/api-reference/

https://github.com/Esri/arcgis-runtime-samples-dotnet

https://github.com/Esri/arcgis-toolkit-dotnet

Reply
0 Kudos
Regular Contributor II

Just for the ZoomIn and ZoomOut functionality, you can create 2 buttons and call MapView.ZoomAsync(double) to invoke to zoom. If you give a value larger than 1 ie 1.5 then it zoom in and if the value is less than 1 ie 0.5 then it zoom out.

ie. await MapView.ZoomAsync(1.5);

View solution in original post

New Contributor II

Thanks Antti Kajanus for help..

That what i was looking for..

New Contributor III

Can you please help me with the code ??

Reply
0 Kudos
Esri Frequent Contributor

I would love to help, but what's the problem you're having with the code?

Reply
0 Kudos
New Contributor III

Thankyou sir, i got how to work with zoomin and zoomout

Reply
0 Kudos