ExcelにBing Mapsを挿入し、Google Places APIで取得した住所から店舗の分布地図を作成:VBA/マクロ便利Tips(1/3 ページ) 業務効率化に役立つVBA/マクロのさまざまなTipsをコード例を交えて紹介していきます。今回は、Geocoding APIとGoogle Places APIを利用して、指定した住所から半径1Km範囲内にあるコンビニエンスストアを表示する方法などを解説。
昨日に引き続き「E2D3」を弄ってます。 Google Maps表示してみた 昨日の記事に書いた「これ多分D3.js以外にもいろいろ使えますね」の複線回収。 シート上の選択エリアからlat,lngフィールドを読み取りGoogle Maps上にマーカーでプロットするアプリです。 仕組みとしてはE2D3.jsで取得したデータをGeoJSONに変換してGoogle Mapsに渡しています。 多分Gmapをこんな感じで使うのは規約上駄目だと思うので、いづれleaflet.js版を作ろうと思います。 サンプルコード //サンプルデータ(県庁所在地) var sample_data = [ [ 'code', 'pref' , 'city', 'lat', 'lng'], [1,"北海道","札幌市",43.063968,141.347899], [2,"青森県","青森市",40.824623,14
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く