我的代碼當前是響應式的,但我想知道如何讓地圖自動旋轉?謝謝。如何讓Google的室內地圖視圖自動旋轉?
例子:http://virali.se/photo/spin/embed/00c79439f35e4833d4b3c350f6af0043.html#embed
<style>
.google-maps {
position: relative;
padding-bottom: 75%; // This is the aspect ratio
height: 0;
overflow: hidden;
}
.google-maps iframe {
position: absolute;
top: 0;
left: 0;
width: 100% !important;
height: 100% !important;
}
</style>
<div class="google-maps">
<iframe src="https://www.google.com/maps/embed?pb=!1m0!3m2!1sen!2sca!4v1417361836017!6m8!1m7!1sD80WPU9LQ3oAAAALCpZfjw!2m2!1d45.71770335915593!2d11.47028447620278!3f17!4f0!5f1.4199149422479231" width="1700" height="550" frameborder="0" style="border:0"></iframe>
</div>
你是什麼意思的「自動旋轉」 ? – geocodezip 2015-02-07 17:20:16
請參閱:http://nap360.com/ – Diana 2015-02-10 02:35:28