惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

美团技术团队
罗磊的独立博客
SecWiki News
SecWiki News
The Register - Security
The Register - Security
The GitHub Blog
The GitHub Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Schneier on Security
IT之家
IT之家
博客园 - 聂微东
T
The Exploit Database - CXSecurity.com
Recorded Future
Recorded Future
大猫的无限游戏
大猫的无限游戏
Know Your Adversary
Know Your Adversary
Latest news
Latest news
Vercel News
Vercel News
G
GRAHAM CLULEY
D
DataBreaches.Net
D
Darknet – Hacking Tools, Hacker News & Cyber Security
S
SegmentFault 最新的问题
博客园_首页
雷峰网
雷峰网
T
Tenable Blog
Spread Privacy
Spread Privacy
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
酷 壳 – CoolShell
酷 壳 – CoolShell
Cisco Talos Blog
Cisco Talos Blog
V
Visual Studio Blog
J
Java Code Geeks
博客园 - Franky
The Cloudflare Blog
Apple Machine Learning Research
Apple Machine Learning Research
C
CERT Recently Published Vulnerability Notes
T
Threatpost
Google DeepMind News
Google DeepMind News
F
Fortinet All Blogs
P
Privacy International News Feed
T
Threat Research - Cisco Blogs
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
Recent Announcements
Recent Announcements
Blog — PlanetScale
Blog — PlanetScale
Security Latest
Security Latest
U
Unit 42
M
MIT News - Artificial intelligence
Y
Y Combinator Blog
K
Kaspersky official blog
有赞技术团队
有赞技术团队
B
Blog
腾讯CDC

博客园 - 无声雨

远程桌面不能复制粘贴到本地的解决办法 操作文件或者文件夹做硬连接 SharePoint2010 安装时报“未能启动数据库服务 MSSQL$Sharepoint"解决办法 解决OracleDBConsoleorcl服务无法启动问题[转帖] oracle10g dbconsole 重建步骤(转帖) 做个记号,VS2008中选择默认环境 SQLServer2005SP2安装时提示KB921896错误 Asp.Net2.0中TreeView使用javascript客户端实现选择节点联动的脚本 WindowsXp系统时services.exe占用内存和CPU资源的问题 EXT中GRID自动适应宽与高 Grid使用动态数据源的问题 IE6下PNG图片对象以及其作为背景透明的处理 关于韩文等文字存储乱码的问题 EXT中的语言包 Ext中tree的研究 使用ASP生成条形码(转) IE地址栏javascript代码(转) 设置双网卡同时访问内外网 BAT文件的妙用(转)
使用Google Map获取地址坐标
无声雨 · 2012-06-08 · via 博客园 - 无声雨

方法一:获得gmap地图上指定位置的坐标,
1 打开 http://ditu.google.com/maps
2 找到你要获得坐标的地点, 指着那个位置,鼠标右键,定位到中心,则自动居中
3 在浏览器栏输入

1 javascript:void(prompt('',gApplication.getMap().getCenter()));

4 回车

方法二:通过地址http://maps.google.com/maps?获取坐标,后面接的参数如下:

q 需要进行地址解析的地址

key 申请到的API密钥

output 生成的输出应有的格式,选项有xml,kml,csv或json.

下面的例子将获取深圳市的坐标:
http://maps.google.com/maps/geo?q=%E6%B7%B1%E5%9C%B3&output=xml&key=ABQIAAAAzr2EBOXUKnm_jVnk0OJI7xSosDVG8KKPE1-m51RBrvYughuyMxQ-i1QfUnH94QxWIa6N4U6MouMmBA

另类方法:http://maps.google.com/maps?f=q&geocode=&q="+你要查找的位置+"&output=js