Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 229594

addGroundOverlay from Google Maps Native not working

$
0
0

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!


Viewing all articles
Browse latest Browse all 229594

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>