ラベル Google Maps の投稿を表示しています。 すべての投稿を表示
ラベル Google Maps の投稿を表示しています。 すべての投稿を表示

2011年12月14日水曜日

Google Maps API V3の Polygonの編集モードで頂点の clickイベントを捕捉したい

[Google Maps API v3] Polygon verteces events
1. How to capture the index id of a polygon's vertex when clicking on a vertex of a polygon? I want to use this to delete verteces by clicking on them.

あとで読む

2011年12月12日月曜日

Google Maps APIで道路の交通状況を取得する方法

渋滞の状況: Maps API - Seis Pesos
API でも、できた。

既存のAPIでそのままできるみたい。

2011年8月24日水曜日

Google Mapsは矢印キーで地図を移動できる

Google マップについて - マップ ヘルプ
キーボード ショートカット - 矢印キーで上下左右にスクロールします。PageUp、PageDown、Home、End キーでさらに広い範囲を移動できます。プラス(+)キーでズームイン、マイナス(-)キーでズームアウトします。
地図を1回クリックすると、十字キー(カーソルキー)で地図を移動できるようになる。

2011年8月5日金曜日

Google Maps APIで斜めの航空写真が表示できる場所

OverviewMapControlと鳥瞰図タイルがリリース: Oooooops! Goooogle Maps
なお、鳥瞰図(バードビュー)の画像が利用出来るのは、次の地図にマーカーがある地域です。

日本はまだ無い。

2011年8月1日月曜日

Google Mapsでマウスで選択した範囲を拡大表示するライブラリ

DragZoomControl Documentation: Examples
You can add the DragZoomControl to any Google map with a couple of lines of code.

V2用だけど。V3用もあるのかな?

2011年7月11日月曜日

Google Maps API V3のポリゴン・ポリライン編集機能は 8月リリース?

Issue 2432 - gmaps-api-issues - Feature Request: Add support for enableDrawing and enableEditing in V3 - Google Maps API bug reports and feature requests - Google Project Hosting
Can't deny that it is taking longer than we had expected, but this is still in the pipeline. Somewhat hesitant to commit precisely given how unsuccessful we have been at hitting our predicted dates so far, but right now we're aiming for mid quarter.

V2にあってV3に無い最後(ほかに何かあったっけ?)の大物、いよいよ登場か?

2011年5月25日水曜日

Google Maps API V3に 3つ目のライブラリ登場

Google Maps Javascript API V3 Places Library - Google Maps JavaScript API V3 - Google Code
The Google Places JavaScript library's functions enable your application to search for Places (defined in this API as establishments, geographic locations, or prominent points of interest) contained within a defined area, such as the bounds of a map, or around a fixed point.

例えばキーワードで検索する時に指定範囲内のデータを使ったサジェストができるみたい。
他に何が出来るか読んでみる。

2011年4月5日火曜日

IE9で Google Maps API V3の overviewMapControlが表示されない問題が解消した

IE9で Google Maps API V3の OverviewMapControlが表示されない問題が解消するらしいでFixedNotReleasedになり、その後Fixedになってからもしばらく駄目だったけど、ようやく解決したみたい。
アナウンスはないのかな。

2011年3月25日金曜日

IE9で Google Maps API V3の OverviewMapControlが表示されない問題が解消するらしい

Issue 3187 - gmaps-api-issues - IE9 Support for Overview Map Control - Google Maps API bug reports and feature requests - Google Project Hosting
Status: FixedNotReleased

FixedNotReleasedってのは、解決したけどまだリリースはしてないよ、これからリリースするよ、ってことかな?

Google Maps API V3にはポリゴン・ポリラインの作成・編集機能が無い

Issue 2432 - gmaps-api-issues - Feature Request: Add support for enableDrawing and enableEditing in V3 - Google Maps API bug reports and feature requests - Google Project Hosting
Being the person who started that rumour I can confirm that we are continuing to work on this, but the scheduled has now slipped a little to mid Q2. Apologies for the delay.

V2にはあるポリゴンやポリラインの作成・編集機能がV3にはまだないらしい。
あれはかなり強力な機能だけど、需要はなさそうというか狭そう。
mid Q2ということは5月頃リリース?

2011年3月17日木曜日

Google Maps API V3の OverviewMapControlが公式に発表された

Google Geo Developers Blog: A new angle on the world with 45° imagery
overviewMapControl: true,
overviewMapControlOptions: {
    opened: true
}

In three weeks the Overview Map Control will be added by default to all Maps in its minimized state.

デフォルトでは初期表示時には閉じた状態(矢印アイコンのみに縮小された状態)だが、上記のように「opened: true」を指定すれば開いた状態になる。
3週間以内には「overviewMapControl」のデフォルトがtrueになるようだ。

Google Maps API V3が HTTPSでアクセス可能になった

Google Geo Developers Blog: Maps APIs over SSL now available to all
To load the Maps API v3 over HTTPS, the API must be loaded from the hostname maps-api-ssl.google.com. For the Static Maps API and Web Services, please use maps.googleapis.com.

こんな感じか。
<script type="text/javascript" src="https://maps-api-ssl.google.com/maps/api/js?sensor=false"></script>

maps-api-ssl.google.co.jpではアクセスできなかった。


Google Chart APIはどうなんだろ?

2011年3月12日土曜日

Google Maps API V3で面積や距離を計算する

Google Maps Javascript API V3 Reference - Google Maps JavaScript API V3 - Google Code
google.maps.geometry.spherical namespace

Utility functions for computing geodesic angles, distances and areas. The default radius is Earth's radius of 6378137 meters.

V2のようにPolylineやPolygoneになかなか実装されないと思っていたら、これを使えばできたのか。

Google Maps API V3にOverview Controlが追加された

Issue 1470 - gmaps-api-issues - Add overview map control - Project Hosting on Google Code
overviewMapControl: true

公式ドキュメントにはまだ書いてないが、V2の時のようなOverview Controlが追加された。(少し小さくなったような?)

上記リンク先のコメント35によると、まだ未完成(バグがある)なのでGoogleは発表していないのではないか、とのこと。

2011年2月9日水曜日

Google Maps API V3についに AdSense登場

Google Geo Developers Blog: Monetize your Maps API v3 application with AdSense for Maps
In response to this we are happy to bring AdSense for Maps to Maps API v3. The Maps Ad Unit overlays a set of AdSense ads on the map, in any of the supported formats.

地図上にAdSenseを表示できるようになった。

これにともない、V3にV2のGoogleBarを付けて欲しいという要望は却下された。(Issue 1697 - gmaps-api-issues - GoogleBar & AdSense - Project Hosting on Google Code
これはまた論議を呼びそう。GoogleBarは独特な検索だけど割りきって使えばそれなりに便利だからなあ。

2010年12月7日火曜日

Google Maps API V3のマーカードラッグの仕様変更

JavascriptMapsAPIv3Changelog - gmaps-api-issues - A changelog that shows the releases for JS API v3. - Project Hosting on Google Code
Markers now lift when dragged, and bounce when dropped.

移動するときにヒョイと持ち上げる感じに見えるってこと?

2010年10月20日水曜日

ストリートビューの3D modeはエイプリルフールネタ(だけ)ではなかったみたい

Googleストリートビュー3D feat. 小学1年生 - funatti’s small small world
実はここで右クリックするとメニューが出てきて、"3D mode on"っていうのがあるのでクリック。

ストリートビューで右クリックすると、コンテキストメニューに「3D mode on」というのがある。これをクリックするとストリートビューが3D加工された画像になった。
3Dは最近の映画館のやつじゃなくて、昔ながらの左右が赤と緑のメガネの方。
対応している地域は少ないかも。東京タワーの近くは対応していた。

もともと4/1に公開され、2週間くらいしたら無くなったのでエイプリルフールネタだと思われていたが、今の時点でも可能なことを考えると本気なのかもしれない。
でも3Dは方法がいろいろあって、赤緑方式は非主流で、(小画面では)メガネ無しの方向に進んでるけど、対応できるのかな?

2010年10月12日火曜日

Google Maps API V3でデフォルトで Street Viewが使えるようになったみたい

JavascriptMapsAPIv3Changelog - gmaps-api-issues - A changelog that shows the releases for JS API v3. - Project Hosting on Google Code
Street View is enabled by default

今までもフラグを1つtrueにするだけだったけど。
でもこれで何もしなければ(わざわざStreet ViewをOffにするようなJavaScriptを入れなければ)、いつの間にかそこらじゅうのサイトのGoogle Mapsでストリートビューが見られるようになっているというわけか。

2010年9月28日火曜日

gmaps-api-v3-googlebarの作者は Googleの人?

jrgeerdes - Project Hosting on Google Code
Username: jrgeerdes

Owner role:
gmaps-api-v3-googlebar
A GoogleBar-like control for GMaps API v3

gmaps-api-v3-overviewmapcontrol
A GMaps API v3 control which approximates the functionality of the GOverviewMapControl in GMaps API v2

google-ajax-examples
This is a placeholder for examples of various Google APIs and their use via JavaScript

google-ajax-apis
Google AJAX APIs

gajaxapis-irc-bot
An IRC bot to help people discover and use the Google AJAX APIs

gmaps-api-v3-googlebarとかgmaps-api-v3-overviewmapcontrolとかを作ったjrgeerdesさんは実はgoogle-ajax-apisプロジェクトのOwnerでもあった。(しかも筆頭?)
google-ajax-apisの他のOwnerを見ると@google.comだから、jrgeerdesさんももしかしたらGoogleの人なんだろうか?

だとすると、gmaps-api-v3-googlebarとかgmaps-api-v3-overviewmapcontrolが正式にGoogle Maps API V3に採用される日も近い?

2010年9月6日月曜日

Google Mapsで経路検索結果を表示する URLのパラメータ

GoogleMapの経路検索で、車、電車、徒歩を指定するURL - iRSSの日記
dirflgパラメータをつけることで、経路のタイプを指定できる。

iPhone/iPadでは電車が"dirflg=r"なので注意!

ブログ アーカイブ

カテゴリー