object(yii\widgets\ActiveForm)#179 (30) {
["action"]=>
string(0) ""
["method"]=>
string(4) "post"
["options"]=>
array(2) {
["enctype"]=>
string(19) "multipart/form-data"
["id"]=>
string(16) "form-edit-report"
}
["fieldClass"]=>
string(23) "yii\widgets\ActiveField"
["fieldConfig"]=>
array(0) {
}
["encodeErrorSummary"]=>
bool(true)
["errorSummaryCssClass"]=>
string(13) "error-summary"
["requiredCssClass"]=>
string(8) "required"
["errorCssClass"]=>
string(9) "has-error"
["successCssClass"]=>
string(11) "has-success"
["validatingCssClass"]=>
string(10) "validating"
["enableClientValidation"]=>
bool(true)
["enableAjaxValidation"]=>
bool(false)
["enableClientScript"]=>
bool(true)
["validationUrl"]=>
NULL
["validateOnSubmit"]=>
bool(true)
["validateOnChange"]=>
bool(true)
["validateOnBlur"]=>
bool(true)
["validateOnType"]=>
bool(false)
["validationDelay"]=>
int(500)
["ajaxParam"]=>
string(4) "ajax"
["ajaxDataType"]=>
string(4) "json"
["scrollToError"]=>
bool(true)
["scrollToErrorOffset"]=>
int(0)
["attributes"]=>
array(0) {
}
["_fields":"yii\widgets\ActiveForm":private]=>
array(0) {
}
["_id":"yii\base\Widget":private]=>
string(16) "form-edit-report"
["_view":"yii\base\Widget":private]=>
NULL
["_events":"yii\base\Component":private]=>
array(0) {
}
["_behaviors":"yii\base\Component":private]=>
NULL
}
$(document).on('click', '.selector', function(event) {
var id= $(this).data('id');
toggleBounce(markers[id]);
});
function toggleBounce(marker) {
if (marker.getAnimation() !== null) {
marker.setAnimation(null);
} else {
marker.setAnimation(google.maps.Animation.BOUNCE);
}
}
google.maps.event.addListener(marker, 'click', (function(marker) {
return function() {
$('selector').append(marker.title);
}
})(marker));