Hi all!
I am having some difficulties trying to add an overlay on Google Maps.
this.map.addGroundOverlay({
'url': floorplan.url,
'bounds': bounds,
'visible': true,
'opacity': 1,
'zIndex': 9999
}).then(
(result) => {
console.log('success', result);
},
(error) => {
console.log('error', error);
}
);
I am also using IndoorAtlas cordova plugin. When I try adding the floorplan image on the google maps, nothing happens.
If I use the google maps javascript api and not the ionic-native version, everything works perfectly, but I want to use the native version because it does have much more features as geolocating in real time and so on.
Please help me.
Thank you!