Select to view content in your preferred language

Regarding padding unit in mapView.setExtent()

2821
1
10-01-2015 03:54 AM
ThomasBinu
Deactivated User

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
Honored Contributor

The units are in device-independent pixels.

0 Kudos