Regarding padding unit in mapView.setExtent()

2707
1
10-01-2015 03:54 AM
ThomasBinu
New Contributor III

In the function mapView.setExtent(envelope, padding) , is the padding in pixel or dp? The documentation says its dp, but after testing in different devices, I think it's in pixels, can someone verify?

Tags (3)
0 Kudos
1 Reply
EricBader
Occasional Contributor III

The units are in device-independent pixels.

0 Kudos