See the Pen Google Map API multiple markers—0910 by Jiun-Yi Yang (@JiunYiYang) on CodePen.

網頁內嵌多地標地圖

Project Info:

使用到Google Maps javascript API、Marker與array概念

  • js Array:放置多個地名、經緯度及前後順序
  • Marker:在地圖上顯示地標
  • Google Maps Javascript API:顯示地圖,並調整中心、放大倍數
  • js:滑鼠移過去時顯示地名

Client: