bizinfoone_map.php
来自「城市分类信息,门户网站,我做为地方信息网」· PHP 代码 · 共 66 行
PHP
66 行
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><head><title> 鐢熸椿鍦板浘</title> <style type="text/css"><!--#Layer1 { position:absolute; width:147px; height:16px; z-index:1; left: 0px; top: 223px; background-color: #ffff33; border:none; font-size:12px; padding-left:5px;}--> </style><link href="../css/default/style.css" type="text/css" rel="stylesheet" /></head><body style="margin:0px;"><script language="javascript" src="http://api.51ditu.com/js/maps.js "></script> <div id="myMap" style="position:relative; width:258px; height:258px;"></div> <script language="javascript">var maps = new LTMaps( "myMap" );var icon = new LTIcon();icon.setImageUrl('../images/map/centerPoi.gif'); maps. centerAndZoom ( new LTPoint( <?=$_GET[y]?> , <?=$_GET[x]?> ) , 1 );var marker1 = new LTMarker( new LTPoint( <?=$_GET[y]?> , <?=$_GET[x]?> ) , icon );var text = new LTMapText( marker1 );text.setLabel( "<?=$_GET[bizname]?>" );text.setBackgroundColor( "#f2f2f2" );maps.addOverLay( text );maps.addOverLay( marker1 );LTMarker.setInfoWinWidth( 120 );LTMarker.setInfoWinHeight( 20 );var control = new LTSmallMapControl();maps.addControl( control );</script> </body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?