[英]cordova-plugin-googlemaps Camera Speed Slow
如何調整相機的動畫速度?
它沒有滯后感或任何東西的感覺,只是動畫緩慢。
在教程或其他任何地方都沒有提及
map.animateCamera({
target: {
lat: "100",
lng: "100",
speed: 10 //I tried adding this, it doesn't do anything
},
zoom: 15
});
教程: https : //github.com/mapsplugin/cordova-plugin-googlemaps
經過一番挖掘后,我發現本教程中的解決方案幾乎不可見。 我認為除非努力,否則您找不到。 反正這里
map.animateCamera({
target: {
lat: "100",
lng: "100"
},
zoom: 15,
duration: 1000 //Camera Animation speed in milliseconds
});
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.