Aşağıdaki basit bir html sayfasıyla sayfanızda bir haritaya sahip olabiliyorsunuz.

Tabiki Google apileriyle falan daha gelişmiş uygulamalar yapılabilir.

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<title>Untitled Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="http://dev.virtualearth.net/mapcontrol/mapcontrol.ashx?v=6.1"></script>
<script type="text/javascript">
    var map = null;
    function GetMap()
    {
        map = new VEMap('myMap');
        map.LoadMap();
    }
</script>
</head>
<body onload="GetMap();">
<form id="form1" >
<div id='myMap' style="position:relative; width:400px; height:400px; z-index: -100;"></div>
</div>
</form>
</body>
</html>

Mustafa KOÇER

mkocer@dotnetkosesi.com

3 kişi tarafından 4.7 olarak değerlendirildi

  • Currently 4,666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5