DC,google map

1.会报一个错:[0.10] Maps Error: You can only use the Maps component after a user has interacted with the ad.这个时候地图显示不出来,有两种处理方法:

1 @StudioMap.setDoNotRequireUserInteraction(true);

2 @enabler.addEventListener(StudioEvent.INTERACTION, enablerInteractionHandler); 3 function enablerInteractionHandler(e:StudioEvent){ 4 //在这里面初始化地图 5 }
原文地址:https://www.cnblogs.com/1000pen/p/2744286.html