function bindEvents(vueInst, googleMapsInst, events) {
	events.forEach((eventName) => {
		if (vueInst.$gmapOptions.autoBindAllEvents || vueInst.$attrs[eventName]) {
			googleMapsInst.addListener(eventName, (ev) => {
				vueInst.$emit(eventName, ev);
			});
		}
	});
}
This function helps you to bind events from Google Maps API to Vue events

@param  {Object} vueInst the Vue instance
@param  {Object} googleMapsInst the Google Maps instance
@param  {string[]} events an array of string with all events that you want to bind
@returns {void}