// around line 306
protected void setMapInset(HashMap<String, Object> dict) {
float left = 0;
float top = 0;
float right = 0;
float bottom = 0;
if (dict.containsKey(MapModule.PROPERTY_MAP_INSET_LEFT)) {
left = TiConvert.toFloat(dict, MapModule.PROPERTY_MAP_INSET_LEFT, 0);
}
if (dict.containsKey(MapModule.PROPERTY_MAP_INSET_TOP)) {
top = TiConvert.toFloat(dict, MapModule.PROPERTY_MAP_INSET_TOP, 0);
}
if (dict.containsKey(MapModule.PROPERTY_MAP_INSET_RIGHT)) {
right = TiConvert.toFloat(dict, MapModule.PROPERTY_MAP_INSET_RIGHT, 0);
}
if (dict.containsKey(MapModule.PROPERTY_MAP_INSET_BOTTOM)) {
bottom = TiConvert.toFloat(dict, MapModule.PROPERTY_MAP_INSET_BOTTOM, 0);
}
map.setPadding(left, top, right, bottom);
}
// around line 65:
public static final String PROPERTY_MAP_INSET_LEFT = "left";
public static final String PROPERTY_MAP_INSET_TOP = "top";
public static final String PROPERTY_MAP_INSET_RIGHT = "right";
public static final String PROPERTY_MAP_INSET_BOTTOM = "bottom";
mapView.mapInset = {left: 0, top: 0, right: 0, bottom: 200}; // Should see the Google Logo on Google Maps move up