Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 32

Warning: include(http://cafeterrace-enoki.com/site_banner.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 32

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/site_banner.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 32

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 42

Warning: include(http://cafeterrace-enoki.com/annai.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 42

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/annai.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 42

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 43

Warning: include(http://cafeterrace-enoki.com/Categories.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 43

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/Categories.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 43

About

2007年8月 4日 11:27に投稿されたエントリーのページです。

ひとつ前の投稿は「オタワ州から」です。

次の投稿は「チョコちゃん」です。


Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 67

Warning: include(http://cafeterrace-enoki.com/coment.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 67

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/coment.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 67

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 68

Warning: include(http://cafeterrace-enoki.com/kanri.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 68

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/kanri.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 68

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 69

Warning: include(http://cafeterrace-enoki.com/counter.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 69

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/counter.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 69

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 70

Warning: include(http://cafeterrace-enoki.com/powered.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 70

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/powered.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 70
Top5・PC関係を覚えるgoogle-map-apiの四苦八苦 > google-map APIを作る(其の2)

« オタワ州から | メイン | チョコちゃん »

google-map APIを作る(其の2)

今回は「body」内を書くが何だか書くのも難しいワイ!
以下は山の爺の作りかけの「body」内のタグと言う物。


<body onload="load()" onunload="GUnload()">

<table border="4" align="center">
<tr><td colspan="2"><div id="map" style="width: 800px; height: 500px"></div></td></tr>

<tr><td width=300>1<input type="checkbox" name="cb1" onClick="checkbox1clicked()">カフェテラス「えの木」(テスト表示)</td><td width=500>2山の爺の住む位置はコノ辺り</td></tr>

<tr><td>3<input type="checkbox" name="cb2" onclick="checkbox2clicked()">4富士山(テスト)</td><td>4テスト、コノ辺りが富士の頂上か?</td></tr>

<tr><td>5<input type="checkbox" name="cb3" onclick="checkbox3clicked()">名古屋駅(テスト)</td><td>6駅はコノ辺り・・・。</td></tr>

<tr><td>7</td><td>8</td></tr>

<tr><td>9</td><td>10</td></tr>


</table>

<script type="text/javascript">
//<![CDATA[
var map;

var marker1, marker2, marker3,・・・・ ;

map = new GMap2(document.getElementById("map"));
map.addControl(new GLargeMapControl());
map.addControl(new GMapTypeControl());
map.setCenter(new GLatLng(35.062082, 136.482188), 6);

marker1 = new GMarker(new GLatLng(35.062082, 136.482188));
var marker1_is_displayed = 0;
function checkbox1clicked() {
if (marker1_is_displayed == 0) {
map.addOverlay(marker1);
marker1_is_displayed = 1;
} else {
map.removeOverlay(marker1);
marker1_is_displayed = 0;
}
}

marker2 = new GMarker(new GLatLng(35.36283226698779, 138.73088836669922));
var marker2_is_displayed = 0;
function checkbox2clicked() {
if (marker2_is_displayed == 0) {
map.addOverlay(marker2);
marker2_is_displayed = 1;
} else {
map.removeOverlay(marker2);
marker2_is_displayed = 0;
}
}

marker3 = new GMarker(new GLatLng(35.171001920816955, 136.88175201416016));
var marker3_is_displayed = 0;
function checkbox3clicked() {
if (marker3_is_displayed == 0) {
map.addOverlay(marker3);
marker3_is_displayed = 1;
} else {
map.removeOverlay(marker3);
marker3_is_displayed = 0;
}
}
 :
 :
 :


//]]>


</script>
<p><a href="http://cafeterrace-enoki.com">topに戻る</a></p>
</body>


・・・と取りあえずは「body」内に入れておこう!
※赤の部分だけでも取り合えずは地図のみ表示される。
※茶色の部分は記事毎に追加する物。(是がチョット面倒じゃ!)
追加する物には連番があるので気をつけよう!

遣り方はこの様な感じだったようだ?少しは違いが有るかも?(有ってはならないと思うのだが・・?)
コノ画面の出来上がりはコチラだ。

人気ブログランキングへ

コメントを投稿

スポンサードリンク


Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 334

Warning: include(http://cafeterrace-enoki.com/blog.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 334

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/blog.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 334

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 335

Warning: include(http://cafeterrace-enoki.com/hp-rink.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 335

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/hp-rink.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 335

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 336

Warning: include(http://cafeterrace-enoki.com/rink_baner.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 336

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/rink_baner.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 336
e

Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 347

Warning: include(http://cafeterrace-enoki.com/Copyright.php) [function.include]: failed to open stream: no suitable wrapper could be found in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 347

Warning: include() [function.include]: Failed opening 'http://cafeterrace-enoki.com/Copyright.php' for inclusion (include_path='.:/usr/local/php5.2/php') in /home/users/0/lolipop.jp-dp05040747/web/archives/2007/08/04-112754.php on line 347