Add: `BaseClass.hasEventListener()`
MODIFY
README.md
README.md
- Add: (Android/iOS/Browser) `TileOverlayOptions.getTile` can return **base64 encoded image(png,gif,jpeg)**.
- - Add: (Android/iOS/Browser) `BaseClass.onThrottled()/addThrottledEventListener()` are added.
+ - Add: (Android/iOS/Browser) `BaseClass.onThrottled()/addThrottledEventListener()/hasEventListener()` are added.
- Fix: (Android) Can not load icon image file for Marker after external link opened.

MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.5.0-beta-20180928-1505" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
+<plugin id="cordova-plugin-googlemaps" version="2.5.0-beta-20180928-1512" xmlns="http://apache.org/cordova/ns/plugins/1.0" xmlns:android="http://schemas.android.com/apk/res/android">
<name>cordova-plugin-googlemaps</name>
<js-module name="Promise" src="www/Promise.js" />
<asset src="www/promise-7.0.4.min.js.map" target="promise-7.0.4.min.js.map" />

MODIFY
www/BaseClass.js
www/BaseClass.js
@@ -161,6 +161,10 @@ BaseClass.prototype = {
return this;
},
+ hasEventListener : function (eventName) {
+ return eventName in this[SUBSCRIPTIONS_FIELD];
+ },
+
destroy: function () {
this.off();
this.empty();

Add: `BaseClass.hasEventListener()`