Groups
Groups
Sign in
Groups
Groups
Google-Maps-API-Japan
Conversations
About
Send feedback
Help
Googlemapの重ね合わせレイヤーの順番について
1,444 views
Skip to first unread message
gakugun
unread,
Aug 7, 2008, 2:20:18 AM
8/7/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
Googlemapに点、線、面、ラスタ画像を重ね合わせ、重ね合わせレイヤー表示順も変更したいですが、それは可能でしょうか?
Masashi.K
unread,
Aug 9, 2008, 7:05:30 AM
8/9/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google-Maps-API-Japan
>gakugunさん
いろいろと試してみましたが、難しそうです。
可能とすれば、『GOverlay.getZIndexメソッド』をオーバーライドすることでしょう。
ですが、Googleからは資料が公開されていないので、困難だと思います。
(解析すればできるでしょうけど・・・)
あとは、コンテナの中にレイヤー(DIV)を自作して、そこに自前の制御構造を追加する方法もあります。
まぁどちらも一筋縄ではいかないでしょう。
GMap2.getPane()でレイヤーを取得して、
そこに表示したいものを実装する(appendChildで偽装 (笑))というのが
現実的な妥協点だと思います。
参考してみてください
Reply all
Reply to author
Forward
0 new messages