Having a map with version 4.1.0 of the component, generated with mabs 7.1, when we add a marker to a map we got the app just closes. Debugging the add Marker the error occurs on the instruction cordova_exec.apply(this, commandParams.args).
In the console log we got:
Uncaught (in promise) TypeError: Cannot read property 'width' of undefined at Map.<anonymous> (Map.js:1382) at commandQueueExecutor.js:63
(kindly check the attachs)
Hi Telmo,
Can you test this release?
https://github.com/fafvaz/cordova-plugin-googlemaps-OS#Mabs7.2
Can you please take a look at this demo?
Best Regards
Hi Fábio,
the issue are not the markers alone by itself.
Context: the app I've mentioned above have a bunch of screens (all working fine for a long time with version 3.0.0 and MABS 5.2).In the last days updated to version 4.1.0 and MABS 7.1 and the app crash in some screens while adding a marker as mentioned above. Another screens where a marker is also added all seems fine.
After further analysis, it seems that in a screen with a Map and a Watch (from R&D Location Plugin component) when the watch triggers and we add a mark in the map as usual (with the Lat/Lng given by the Watcher), some error occurs inside the java code while adding the Marker and the app just closes.
Regards.
tested with the url you given above (MABS 7.1) and keeping the rest of extensibility configuration and seems that worked. Did a few tests and the app run without issues ;)
Seemed some incompatible with the Location plugin Watcher feature (only occurs when we activate the watcher).