Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
マップ上の場所にマーカーを置き、ロード中にマップをこのポイントに集中させました。ページやその他のアクションをクリックせずに、このマーカーのコンテンツをマップ外の div に表示したい! 私の悪い英語でごめんなさい!
使用できます、
document.getElementById('YourDivId').innerHTML = 'What you want to show.';
divで情報を表示します。最後のマーカーが地図上に配置されたときに表示したい場合は、マーカーの配列を使用して最後のマーカーに到達し、innerHTMLでマーカーの情報を使用できます。