百度地图:用于打印的地图展示
2015-04-30 15:15
204 查看
<meta http-equiv="content-type" content="text/html;charset=utf-8"> <?php $move_left=isset($_GET["move_left"])?$_GET["move_left"]:0; $move_up=isset($_GET["move_up"])?$_GET["move_up"]:0; ?> <form action="http://www.cnhqd.cn/baiduapi/t.php"> 向左<input type="text" name="move_left" value="<?php echo $move_left;?>"> 向上<input type="text" name="move_up" value="<?php echo $move_up;?>"> <input type=submit> </form> <!--<table style="border:0px solid #000000;border-spacing:0">--> <?php $width=5; $height=2; //$url="http://online1.map.bdimg.com/tile/?qt=tile&x=109023&y=42348&z=19&styles=pl&scaler=1&udt=20141103"; $x=109023; $y=42348; for($j=0;$j<$height;$j++){ $ty=$y-$j+$height*$move_up; //echo "<tr style='border-style: none;border-spacing:0'>"; for($i=0;$i<$width;$i++){ $tx=$x+$i-$width*$move_left; $url="http://online1.map.bdimg.com/tile/?qt=tile&x=$tx&y=$ty&z=19&styles=pl&scaler=1&udt=20141103"; //echo "<td style='magin:0;border-spacing:0'><img sytle='border:none;border-spacing:0' src='$url'></td>"; echo "<div style='float:left'><img src='$url'></div>"; } echo "<div style='clear:both'></div>"; } ?> <!--</table>-->
相关文章推荐
- BaiduMap---百度地图官方Demo之多地图展示(在一个Activity中创建多个地图展示)
- 百度地图打印开发_地图打印
- 如何下载谷歌/百度/高德大字体地图用于打印
- Android下百度地图开发(一):基础地图展示
- 百度地图demo,根据ip展示地图显示地区,并在地图上高亮显示
- 百度地图的简单开发之实现地图全景,内景展示功能(四)
- 浅谈百度地图的简单开发之实现地图全景,内景展示功能(四)
- C#开发Android百度地图手机应用程序(多地图展示)
- 3.0+百度地图在地图初始化的时候就弹框展示一个信息框,而不是用户点击poi时才弹出
- 百度地图开发2 --- 地图自定义数据展示
- Android 开发之集成百度地图的定位与地图展示
- 百度地图4.0多个经纬度展示在地图上
- Android 开发之集成百度地图的定位与地图展示
- 百度地图android端URL.api直接展示地图处理
- Android 百度地图 SDK v3.3.0 (二)--- 地图定位和图层展示
- swift地图定位(二十)百度地图的使用(POI)
- CSS小技巧:利用CSS,给WEB页面强制分页,用于打印!
- HTML5获取当前地理位置并在百度地图上展示的实例
- 【百度地图】 利用百度地图sdk开发时,白屏无法显示地图的解决方法。
- 百度地图-省市县联动加载地图 分类: Demo JavaScript 2015-04-26 13:08 531人阅读 评论(0) 收藏