Select to view content in your preferred language

MapView.zoomxyz( ... ) ?

5592
1
Jump to solution
04-15-2015 12:01 AM
TeroRönkkö
Occasional Contributor

Hi, what is the difference on these and what do the parameters mean actually:

zoomToScale(Point centerPt, double scale)

zoomToResolution(Point centerPt, double res)

zoomTo(Point centerPt, float factor)

 

 

What is scale, resolution and factor respectively? I know factor zooms by some factor from the currentlyu active zoom level but what should I give to resolution or scale?

 

I am working on offline TPK files and trying to zoom to certain point on certain level but can't figure out proper inputs.

 

Thanks!

 

0 Kudos
1 Solution

Accepted Solutions
TeroRönkkö
Occasional Contributor

(Self reply)

zoomToScale seems to work fine for what I am using - mMapView.zoomToScale(point, 10000);   zooms to 1:10000 mapscale.  It just wan'st obvious from the documentation.

View solution in original post

1 Reply
TeroRönkkö
Occasional Contributor

(Self reply)

zoomToScale seems to work fine for what I am using - mMapView.zoomToScale(point, 10000);   zooms to 1:10000 mapscale.  It just wan'st obvious from the documentation.