けんたろう
unread,Aug 28, 2008, 3:14:03 AM8/28/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
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
実装しています。
これは有名ですね
var G_HYBRID_PHYSICAL_MAP = new
GMapType([G_PHYSICAL_MAP.getTileLayers()
[0],G_HYBRID_MAP.getTileLayers()
[1]],G_NORMAL_MAP.getProjection(),"Hybrid Physical");
map.addMapType(G_PHYSICAL_MAP);
map.addMapType(G_HYBRID_PHYSICAL_MAP);
var c = new GHierarchicalMapTypeControl();
c.clearRelationships();
c.addRelationship(G_SATELLITE_MAP, G_HYBRID_MAP,"地名を表示", false);
c.addRelationship(G_PHYSICAL_MAP, G_HYBRID_PHYSICAL_MAP, "地名を表示",
false);
map.addControl(c);
こんな感じでいけます。
通常のマップタイプコントローラの変わりに