The class NonHierarchicalViewBasedAlgorithm from googlemaps/android-maps-utils have a constructor:
public NonHierarchicalViewBasedAlgorithm(int screenWidth, int screenHeight) {
mViewWidth = screenWidth;
mViewHeight = screenHeight;
}
But Im not sure if I should send the width in pixels or in dp.
Any ideas?