}
if (params.object) {
- addObjectToMap(params.object, params.object_zoom);
+ addObjectToMap(params.object, { zoom: params.object_zoom });
}
handleResize();
}
if (data.type && data.id) {
- addObjectToMap(data, true);
+ addObjectToMap(data, { zoom: true, style: { opacity: 0.2, fill: false } });
}
if (marker) {