Crear un google maps con marcadores
http://www.map-me.eu/
Crear el google maps:
http://www.funcion13.com/2012/04/25/google-maps-la-base/
http://www.funcion13.com/2012/05/07/google-maps-marcadores/
Ejemplo:
Código: Javascript
- <html>
- <head>
- <script type="text/javascript"
- src="http://maps.google.com/maps/api/js?sensor=false">
- </script>
- <script type="text/javascript">
- function initialize() {
- var position = new google.maps.LatLng(6.206162,-75.570661);
- var myOptions = {
- zoom: 16,
- center: position,
- mapTypeId: google.maps.MapTypeId.ROADMAP
- };
- var map = new google.maps.Map(
- document.getElementById("map_canvas"),
- myOptions);
- var marker = new google.maps.Marker({
- position: position,
- map: map,
- title:"This is the place."
- });
- var contentString = '<strong>Endocrino</strong> Centro de especialistas.';
- var infowindow = new google.maps.InfoWindow({
- content: contentString
- });
- google.maps.event.addListener(marker, 'click', function() {
- infowindow.open(map,marker);
- });
- }
- </script>
- </head>
- <body onload="initialize()">
- <div id="map_canvas" style="width:425px; height:350px"></div>
- </body>
- </html>
- <span>CALLE 7 N 39-197 PISO 11 CONSULTORIO 11-12</span>
Autor: graphixx