Select to view content in your preferred language

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

4991
8
Jump to solution
02-21-2016 07:52 PM
AnilKumar2
Deactivated User

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...

0 Kudos
1 Solution

Accepted Solutions
AnttiKajanus1
Deactivated User

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
OliverBrandt2
Deactivated User

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

0 Kudos
AnilKumar2
Deactivated User

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

0 Kudos
AnttiKajanus1
Deactivated User

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

0 Kudos
AnttiKajanus1
Deactivated User

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);

AnilKumar2
Deactivated User

Thanks Antti Kajanus for help..

That what i was looking for..

VijitWadhwa
Occasional Contributor

Can you please help me with the code ??

0 Kudos
dotMorten_esri
Esri Notable Contributor

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

0 Kudos
VijitWadhwa
Occasional Contributor

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

0 Kudos