電子国土

html>

head>

title>電子国土、鈴ヶ峰・鬼ヶ城山(Akimasa Net)</title>

/head>

script>

!–

	function app_main()
	{
		top.map.openJSGIXML("http://www.akimasa21.net/densi/route/suzugamine_route.xml")
		top.map.setMapCenter(132.379864,34.386143,20000);
		top.map.openMap();
		top.map.setMouseMode( 'pan' );
		drawRoute();
		drawText();
		drawSymbol();
	}
	function drawRoute()
	{
		top.map.draw_remove( 'route' );
		top.map.draw_group( 'route' );
		for( i = 0; i < routeArray.length; i++ )
		{
			route = routeArray[i];
			if( route.posArray.length >= 4 )
			{
				top.map.draw_color( route.red, route.green, route.blue );
				top.map.draw_line( route.posArray );
			}
		}
	}
	function drawText()
	{
		top.map.draw_remove( 'text' );
		top.map.draw_group( 'text' );
		for( i = 0; i < textArray.length; i++ )
		{
			text = textArray[i];
			if( 0 <= text.x )
			{
				top.map.draw_color( text.red, text.green, text.blue );
				top.map.draw_text( 'MS Gothic', '標準', 16, 'RT', text.string, text.x, text.y );
			}
		}
		top.map.openMap();
	}
	function drawSymbol()
	{
		top.map.draw_remove( 'symbol' );
		top.map.draw_group( 'symbol' );
		for( i = 0; i < symbolArray.length; i++ )
		{
			symbol = symbolArray[i];
			if( 0 <= symbol.x )
			{
				top.map.draw_symbol( symbolBaseUrl + '/' + symbol.url, symbol.size, symbol.x, symbol.y );
			}
		}
	}

/script>

body onunload="map.doUnload();">

iframe name="map" width="600" height="400" src="webtis_map_obj.htm" scrolling="no" ></iframe>

/body>

/html>