求助:百度地图上输入一个位置,怎么知道它的经纬度? 急死我了,找了很久找不到!!!谷歌上的右键【这儿是什么】就可以看,但是用得百度上距离差了好多!怎么办??? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 http://dev.baidu.com/wiki/static/map/API/tool/creatMap/ <!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html; charset=gb2312" /><title>事件监听函数参数</title><script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script></head><body><div style="width:768px;height:450px;border:1px solid gray" id="container"></div><div id="info"></div></body></html><script type="text/javascript">var map = new BMap.Map("container");map.centerAndZoom(new BMap.Point(110.741794, 19.607654), 15);var opts = {type: BMAP_NAVIGATION_CONTROL_SMALL} map.addControl(new BMap.NavigationControl(opts)); //创建小狐狸var pt = new BMap.Point(110.741794, 19.607654);var myIcon = new BMap.Icon("http://union.mapbar.com/apidoc/images/detail_.gif", new BMap.Size(24,24));var er = new BMap.Marker(pt,{icon:myIcon}); // 创建标注map.addOverlay(er); // 将标注添加到地图中map.addEventListener("click", function(e){ document.getElementById("info").innerHTML = e.point.lng + ", " + e.point.lat;});</script>我找到了这个 神啊,救救我吧,求助,运行时出现StructureMap Exception Code: 208 如何判断一个页面正在刷新还是完成刷新了 请问datagrid根据前台已有table设置多行表头的问题! asp.net 2.0网站权限管理模块 怎样在程序中动态地将datagrid中的一个绑定列转换为另一个列类型(如模板列)? 同一页面实现多页签效果如何实现 这是为啥哦~~~ 推荐ASP.NET+ado.net学习用书 URL重写后路径重复了 怎样获取access数据库字段属性???? 菜鸟求一好看的含checkbox的treeview样式 SQL sever 查询一段时间的数据
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>事件监听函数参数</title>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
</head>
<body>
<div style="width:768px;height:450px;border:1px solid gray" id="container"></div>
<div id="info"></div>
</body>
</html>
<script type="text/javascript">
var map = new BMap.Map("container");
map.centerAndZoom(new BMap.Point(110.741794, 19.607654), 15);
var opts = {type: BMAP_NAVIGATION_CONTROL_SMALL}
map.addControl(new BMap.NavigationControl(opts)); //创建小狐狸
var pt = new BMap.Point(110.741794, 19.607654);
var myIcon = new BMap.Icon("http://union.mapbar.com/apidoc/images/detail_.gif", new BMap.Size(24,24));
var er = new BMap.Marker(pt,{icon:myIcon}); // 创建标注
map.addOverlay(er); // 将标注添加到地图中map.addEventListener("click", function(e){
document.getElementById("info").innerHTML = e.point.lng + ", " + e.point.lat;
});</script>我找到了这个