---
title: "调用google地图"
author: "foohsinglong"
date: "2011-09-08T15:21:14Z"
tags: []
categories: ["Web前端"]
slug: "google"
draft: false
lastmod: "2011-09-08T16:21:16Z"
id: 1168555
url: "https://foohsinglong.iteye.com/blog/1168555"
---

\[b]引言:\[/b]\[u]今天一个朋友问我象51job那样的地图怎样实现的,我就网上收集了大家两个简单的使用方法\[/u] \[b]A.这个非常简单,是静态的\[/b] 具体参考: \[url]http://code.google.com/intl/zh-CN/apis/maps/documentation/staticmaps/\[/url] \[code="java"] ![](http://maps.google.com/maps/api/staticmap?center=39.9942100%2C116.3645000%2C13&zoom=14&size=512x512&maptype=roadmap%0A&markers=color%3Ablue%7Clabel%3AS%7C39.987889%2C116.350029&markers=color%3Agreen%7Clabel%3AG%7C39.9942100%2C116.3645000%0A&markers=color%3Ared%7Ccolor%3Ared%7Clabel%3AC%7C39.987889%2C116.350029&sensor=false) \[/code] \[img]http://dl.iteye.com/upload/attachment/551589/a11c1277-c7cc-3396-beab-e6a0d310b25c.bmp\[/img] \[b]B.这个应用非常实用,但不是很简便,是动态的\[/b] \[code="java"] Google Map API

点击地图可以创建新的标注,在创建新标注前先加入注解:

![](http://www.catalogeasy.cn/images/index_r2_c3.jpg)  
[XXXXX有限公司](http://www.xxxxxx.com) 联系电话：010-XXXXXX18

\[/code] \[img]http://dl.iteye.com/upload/attachment/551587/1178a42b-be0d-3a4b-b2d0-de74da4211da.jpg\[/img] 具体参考: \[url]http://code.google.com/intl/zh-CN/apis/maps/\[/url] \[b]C.这是转自vifix的博客的谷歌地图应用\[/b] \[code="java"] 地理位置坐标转换

输入一个地址: 获取坐标

Powered by [Google Map API](http://code.google.com/apis/maps/) / Created by [vifix.cn](http://vifix.cn)

\[img]http://dl.iteye.com/upload/attachment/551622/3bbf51f6-3014-331a-a951-f71d3a9a43dc.jpg\[/img] \[/code] 具体参考: \[url]http://vifix.cn/blog/convert-address-to-coordinates-google-map-api.html\[/url]