Cordova CLI,Admob和Google地图插件冲突
我有admob和google地图插件的麻烦。当广告展示时,我的地图会留空。我认为他们都冲突。但我不知道如何解决呢?任何人?
i have trouble with admob and google maps plugins. When the ads appear, my maps blank. i think they both conflict. But i dont know how to solve it? Anyone?
Nothings是冲突的,因为我相信你使用google-phonegap- maps插件和admob-
当您使用任何其他框架时,Google-phonegap-map插件需要进行调整。因为它在本机视图上运行。如果你把背景颜色到任何DOM元素它可能反映在你的地图上。 Admob横幅我猜应用一些背景(我不能准确地以什么方式取出),但它是。所以我想出的工作是重叠你的横幅,它会解决。
Nothings is conflicting as I believe you are using google-phonegap-maps plugin and admob-pro. Google-phonegap-map plugins needs to be tweaked when your working with any other framework. As it is running on Native View. If you put Background color to any DOM element It may reflect on your Map. Admob banner I guess applies some background (I couldn't exactly fetch out in what manner), But It does. So the work around I have came up with is to Overlap your banner and it will be solved.
admob.createBanner({
/*parameter stuff, set one more parameter*/
overlap : true,
})
就可以了。
我猜你已经在Facebook上认可了。
and it will be done. I guess you have already acknowledged on facebook.