Closed hiroaki-com closed 1 year ago
<iframe
src="https://maps.google.co.jp/maps?output=embed&q="検索ワード"
width="800"
height="450"
style="border: 0"
allowfullscreen=""
loading="lazy"
>
</iframe>
イメージ:
参考サイト: https://chuna.tech/blog/web-application/Vue/reactive-googlemap-no-apikey/
ブラウザ環境: https://codepen.io/pen/
https://qiita.com/sikkim/items/365cb1211a3b8ca7b410#訪問予定リストと地図の連動
現実案 保存済み住所データを使用 作成画面で住所保存→データベース→ビュー→Google map APIで地図取得→詳細テンプレート表示
理想 作成画面で店舗URL保存→保存されたURLからAPIで住所情報取得→住所から地図取得→表示
※htmlからのスクレイピングは禁止
https://paiza.jp/works/django/primer/beginner-django4/8811
概要
参考
https://learning.mihune-web.com/googlemap/
https://stackoverflow.com/questions/72679450/django-how-to-show-a-pointfield-in-a-map-from-a-html-template
- https://qiita.com/hiroki1994/items/01984d7f893e4261fc08