My favorites
▼
|
Sign in
lineadecodigo
Web Code Samples in spanish
Project Home
Downloads
Wiki
Issues
Source
Checkout
Browse
Changes
Source path:
svn
/
trunk
/
lineadecodigo_web
/
WebContent
/
Google
/
GoogleMaps
/
icono-en-mapa
/
poner-icono-en-mapa.html
r478
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Poner un icono en el Mapa</title>
<script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAA1gybajGje1CxFHgzphPqhBTkhzudNWd_u13Cffh29fB-9TXQzxQVh6gduUCW9NeYlGOi-AFsvIHQpg" type="text/javascript"></script>
<script type="text/javascript">
var map;
function load(){
if (GBrowserIsCompatible()) {
map = new GMap(document.getElementById("mapa"));
map.setCenter(new GLatLng(40.655997,-4.700518), 15);
var marker = new GMarker(new GLatLng(40.655997,-4.700518));
map.addOverlay(marker);
}
}
</script>
</head>
<body onload="load();" onunload="GUnload();">
<h1>Poner un icono en el Mapa</h1>
<div id="mapa" style="width: 400px;height: 300px;">
</div>
<hr>
Artículo disponible en: <a href="http://lineadecodigo.com/google/poner-un-icono-dentro-de-google-maps/">http://lineadecodigo.com/google/poner-un-icono-dentro-de-google-maps/</a><br/>
<a href="http://lineadecodigo.com" title="Linea de Codigo">lineadecodigo.com</a>
</body>
</html>
Show details
Hide details
Change log
r139
by vcuervo on Jun 21, 2009
Diff
Ponre un icono en un mapa
Go to:
.../Google/GoogleMaps/icono-en-mapa
...en-mapa/poner-icono-en-mapa.html
Project members,
sign in
to write a code review
Older revisions
All revisions of this file
File info
Size: 1212 bytes, 40 lines
View raw file
Powered by
Google Project Hosting