Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
ポリラインから情報ウインドウ(吹き出し)を出したい。
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
nabe  
View profile   Translate to Translated (View Original)
 More options Oct 17, 10:42 pm
From: nabe <nabey...@s5.dion.ne.jp>
Date: Sat, 17 Oct 2009 19:42:14 -0700 (PDT)
Local: Sat, Oct 17 2009 10:42 pm
Subject: ポリラインから情報ウインドウ(吹き出し)を出したい。
初めまして
知識も無いまま、Google maps APIで、いろんなことに挑戦しています。
Google マップのマイマップで地図上に線を引き、その線上(線の上なら何処でも)をクリックすると情報ウインド(吹き出し)が表示できるのです
が、Google maps APIでも、同様のことが出来るのでしょうか?
マーカーからの情報ウインドの表示は出来るのですが・・・・・・・
方法をご存知の方が居られましたら、是非ご教授ください。

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Masashi.K  
View profile   Translate to Translated (View Original)
 More options Oct 17, 10:53 pm
From: "Masashi.K" <wf9a5...@gmail.com>
Date: Sat, 17 Oct 2009 19:53:56 -0700 (PDT)
Local: Sat, Oct 17 2009 10:53 pm
Subject: Re: ポリラインから情報ウインドウ(吹き出し)を出したい。
GPolyline や GPolygonクラスそのものには、情報ウィンドウを開くための
メソッドは用意されていないので、
たぶんGMap2 の openInfoWindow で行っているのではないでしょうか。

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nabe  
View profile   Translate to Translated (View Original)
 More options Oct 18, 4:22 am
From: nabe <nabey...@s5.dion.ne.jp>
Date: Sun, 18 Oct 2009 01:22:34 -0700 (PDT)
Local: Sun, Oct 18 2009 4:22 am
Subject: Re: ポリラインから情報ウインドウ(吹き出し)を出したい。
Masashi.kさん
早速の書き込み有難うございます。
私も、GMap2 の openInfoWindowHtml(point, html, opts?)だと思い、色々と挑戦したのですが、
GPolyline をどのようにしてpointにすれば良いのか分かりません。
とりあえずもう少し考えて見ます。
また何か良い方法がありましたらご教授ください。

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hiroaki  
View profile   Translate to Translated (View Original)
 More options Oct 18, 10:47 am
From: hiroaki <hwatatt...@gmail.com>
Date: Sun, 18 Oct 2009 07:47:22 -0700 (PDT)
Local: Sun, Oct 18 2009 10:47 am
Subject: Re: ポリラインから情報ウインドウ(吹き出し)を出したい。
nabe さん

GMap2 の click イベントを用います。

ポリラインをクリックしたときは、コールバック関数の第一引数に、ポリラインのオブジェクトが入ってきます。第二引数がクリックした地点の
GLatLng です。

GEvent.addListener(gmap2,'click',function
(overlay,latlng,overlaylatlng){
    this.openInfoWindowHtml(latlng,'hello');

});

On 10月18日, 午後5:22, nabe <nabey...@s5.dion.ne.jp> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
nabe  
View profile   Translate to Translated (View Original)
 More options Oct 19, 7:37 am
From: nabe <nabey...@s5.dion.ne.jp>
Date: Mon, 19 Oct 2009 04:37:55 -0700 (PDT)
Local: Mon, Oct 19 2009 7:37 am
Subject: Re: ポリラインから情報ウインドウ(吹き出し)を出したい。
hiroaki さん

有難うございます。
なるほど・・・

click イベントを使うんですね!!

早速、挑戦してみたいと思います。
上手く行ったら報告させてもらいます。

・・・・・・また分からないことがあったら、質問するかもしれません。
その時は見捨てずに、またご教授下さい。

本当に有難うございました。


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google