update = getBoolean(json, "update", false);
if (!update) {
boolean hasMapConfig = getBoolean(json, "hasMapConfig", false);
if (hasMapConfig) {
final MapConfigAdapter adapter = new MapConfigAdapter();
adapter.fromJson(getObject(json, "mapConfig"));
return adapter.getMapConfig();
} else {
return null;
}
}