memo 作業内容 前回のGoogle Maps API version3を使ってみる(2)では、マーカーや情報ウィンドウの基本的な表示について学びましたが、今回はマーカーの見せ方とイベントについて調べてみたいと思います。 マーカーの複数表示設定 マーカーのオリジナル画像設定 情報ウィンドウを1つずつしか表示させない設定 マーカークリックでマップを移動させる設定 --- head内に設定等を記述 --- <script type="text/javascript"> // 最後に開いた情報ウィンドウを記憶 var currentInfoWindow = null; function initialize() { var latlng = new google.maps.LatLng(33.593754102476126, 130.38095712661743); var myOptions
2011-03-16: 目次を作成しました。 2010-09-17: Google Map 2 記事一覧を作成しました。 2010-07-03: Google Map 3 記事一覧を作成しました。 Google Map API V3でマーカーを複数設置してみます。 マーカーを複数設置する方法は沢山あると思いますが、 そのうちの一つを紹介します。 サンプルコードです。 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Google Maps V3</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="h
Google Maps API Premier Same great maps plus a SLA, support, and control over ads The Google Maps Javascript API V3 - Basics Note: The Google Maps Javascript API Version 3 documented within these pages is now the official Javascript API. Version 2 of this API has been officially deprecated as per our deprecation policy. We encourage you to migrate your code to this newly updated and enhanced versi
gmap3 - version 7.2 jQuery plugin for the Google Maps Javascript API using the native way View on GitHub Download .zip Download .tar.gz gmap3 is the ultimate plugin to create and manage Google Maps with jQuery. Discover all its potential and try to find its limits ! Why using gmap3? Less than 10ko minified Google Maps syntax No limitation of the Google Maps API Code covered by unit tests. Example
・head部分でGoogle Maps APIとGoogle AJAX Search APIのスクリプトをインクルード。 ・地図を貼り付けたい部分に<div id=”sample1″></div>のようなタグを書く。 ・次のようなJavaScriptを外部ファイルに記述してhead部分でインクルード。 var GEOCODING = function(){}; GEOCODING.prototype.zoom = 15; GEOCODING.prototype.map = ""; GEOCODING.prototype.options = {}; GEOCODING.prototype.init = function(id, width, height, text, address) { var self = this; self.options.size = new GSize(widt
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く