Bug fix: Typo in Map.js
MODIFY
README.md
README.md
@@ -66,6 +66,9 @@ Example using config.xml
</plugin>
```
+## version 2.0.7 -> 2.0.8
+
+- Fix: internal eventName typo (sorry!)
## Quick demo

MODIFY
package.json
package.json
{
"name": "cordova-plugin-googlemaps",
- "version": "2.0.7",
+ "version": "2.0.8",
"description": "Google Maps native SDK for Android and iOS",
"cordova": {
"id": "cordova-plugin-googlemaps",

MODIFY
plugin.xml
plugin.xml
<?xml version='1.0' encoding='utf-8'?>
-<plugin id="cordova-plugin-googlemaps" version="2.0.7" 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.0.8" 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="BaseClass" src="www/BaseClass.js">
<runs />

MODIFY
www/Map.js
www/Map.js
@@ -1083,7 +1083,7 @@ Map.prototype._onMarkerEvent = function(eventName, markerId, position) {
if (eventName === event.INFO_OPEN) {
marker.set("isInfoWindowShown", true);
}
- if (eventName === event.INFO_CLOS) {
+ if (eventName === event.INFO_CLOSE) {
marker.set("isInfoWindowShown", false);
}
marker.trigger(eventName, position, marker);
@@ -1103,7 +1103,7 @@ Map.prototype._onClusterEvent = function(eventName, markerClusterId, clusterId,
if (eventName === event.INFO_OPEN) {
marker.set("isInfoWindowShown", true);
}
- if (eventName === event.INFO_CLOS) {
+ if (eventName === event.INFO_CLOSE) {
marker.set("isInfoWindowShown", false);
}
}

Bug fix: Typo in Map.js #1737