Google Maps Error

2 replies · opened Sep 30, 2016

JjaurrietaSep 30, 2016

Hello

Google maps is not working on my contact page. I already got an API Key and included it following the examples in similar topics. Please look into my file, the maps is showing blank and i cannot find where is the error.

Thank you very much

JjaurrietaSep 30, 2016

`<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>

&lt;meta http-equiv="content-type" content="text/html; charset=utf-8" /&gt;
&lt;meta name="author" content="SemiColonWeb" /&gt;

&lt;!-- Stylesheets
============================================= --&gt;
&lt;link href="http://fonts.googleapis.com/css?family=Lato:300,400,400italic,600,700|Raleway:300,400,500,600,700|Crete+Round:400italic" rel="stylesheet" type="text/css" /&gt;
&lt;link rel="stylesheet" href="css/bootstrap.css" type="text/css" /&gt;
&lt;link rel="stylesheet" href="style.css" type="text/css" /&gt;
&lt;link rel="stylesheet" href="css/dark.css" type="text/css" /&gt;
&lt;link rel="stylesheet" href="css/font-icons.css" type="text/css" /&gt;
&lt;link rel="stylesheet" href="css/animate.css" type="text/css" /&gt;
&lt;link rel="stylesheet" href="css/magnific-popup.css" type="text/css" /&gt;

&lt;link rel="stylesheet" href="css/responsive.css" type="text/css" /&gt;
&lt;meta name="viewport" content="width=device-width, initial-scale=1" /&gt;
&lt;!--[if lt IE 9]&gt;
	&lt;script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"&gt;&lt;/script&gt;
&lt;![endif]--&gt;

 &lt;span class="color"&gt;&lt;/span&gt;
&lt;link rel="stylesheet" href="css/colors.css" type="text/css" /&gt;

&lt;!-- Document Title
============================================= --&gt;
&lt;title&gt;Contacto | Recurso V&lt;/title&gt;



&lt;script&gt;

(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-68183562-1', 'auto');
ga('send', 'pageview');

</script>
</head>

<body class="stretched no-transition">

&lt;!-- Document Wrapper
============================================= --&gt;
&lt;div id="wrapper" class="clearfix"&gt;

	&lt;!-- Header
	============================================= --&gt;
	&lt;header id="header" class="full-header"&gt;

		&lt;div id="header-wrap"&gt;

			&lt;div class="container clearfix"&gt;

				&lt;div id="primary-menu-trigger"&gt;&lt;i class="icon-reorder"&gt;&lt;/i&gt;&lt;/div&gt;

				&lt;!-- Logo
				============================================= --&gt;
				&lt;div id="logo"&gt;
					&lt;a href="index.html" class="standard-logo" data-dark-logo="images/logo-dark.png"&gt;&lt;img src="images/logo.png" alt="Canvas Logo"&gt;&lt;/a&gt;
					&lt;a href="index.html" class="retina-logo" data-dark-logo="images/logo-dark@2x.png"&gt;&lt;img src="images/logo@2x.png" alt="Canvas Logo"&gt;&lt;/a&gt;
				&lt;/div&gt;&lt;!-- #logo end --&gt;

				&lt;!-- Primary Navigation
				============================================= --&gt;
				&lt;nav id="primary-menu"&gt;

					&lt;ul&gt;
						&lt;li class="mega-menu"&gt;&lt;a href="index.html"&gt;&lt;div&gt;Inicio&lt;/div&gt;&lt;/a&gt;								
						&lt;/li&gt;			
						&lt;li class="mega-menu"&gt;&lt;a href="nosotros.html"&gt;&lt;div&gt;¿Por qué Nosotros?&lt;/div&gt;&lt;/a&gt;
                            &lt;li class="mega-menu"&gt;&lt;a href="servicios.html"&gt;&lt;div&gt;Servicios&lt;/div&gt;&lt;/a&gt;
														&lt;/li&gt;
                        &lt;li class="current"&gt;&lt;a href="contacto.html"&gt;&lt;div&gt;Contacto&lt;/div&gt;&lt;/a&gt;
														&lt;/li&gt;											
					&lt;/ul&gt;

									
				&lt;/nav&gt;&lt;!-- #primary-menu end --&gt;

			&lt;/div&gt;

		&lt;/div&gt;

	&lt;/header&gt;&lt;!-- #header end --&gt;
&lt;!-- Page Title
	============================================= --&gt;
		
			&lt;!-- Content
	============================================= --&gt;
	&lt;section id="content"&gt;
        	&lt;div class="section parallax dark notopmargin noborder" style="padding: 80px 0; background-image: url('images/parallax/home/home2.jpg');" data-stellar-background-ratio="0.4"&gt;
				&lt;div class="container center clearfix"&gt;

					&lt;div class="emphasis-title"&gt;
						&lt;h2&gt;Contacto&lt;/h2&gt;
                        
									&lt;/div&gt;
                                            
				&lt;/div&gt;
			&lt;/div&gt;

		&lt;div class="content-wrap"&gt;

			&lt;div class="container clearfix"&gt;

				&lt;!-- Contact Form
				============================================= --&gt;
				&lt;div class="col_half"&gt;

					

					&lt;div class="contact-widget"&gt;

						&lt;div class="contact-form-result"&gt;&lt;/div&gt;

						&lt;form class="nobottommargin" id="template-contactform" name="template-contactform" action="include/sendemail.php" method="post"&gt;

							&lt;div class="form-process"&gt;&lt;/div&gt;

							&lt;div class="col_one_third"&gt;
								&lt;label for="template-contactform-name"&gt;Nombre &lt;small&gt;*&lt;/small&gt;&lt;/label&gt;
								&lt;input type="text" id="template-contactform-name" name="template-contactform-name" value="" class="sm-form-control required" /&gt;
							&lt;/div&gt;

							&lt;div class="col_one_third"&gt;
								&lt;label for="template-contactform-email"&gt;Email &lt;small&gt;*&lt;/small&gt;&lt;/label&gt;
								&lt;input type="email" id="template-contactform-email" name="template-contactform-email" value="" class="required email sm-form-control" /&gt;
							&lt;/div&gt;

							&lt;div class="col_one_third col_last"&gt;
								&lt;label for="template-contactform-phone"&gt;Teléfono&lt;/label&gt;
								&lt;input type="text" id="template-contactform-phone" name="template-contactform-phone" value="" class="sm-form-control" /&gt;
							&lt;/div&gt;

							&lt;div class="clear"&gt;&lt;/div&gt;

							&lt;div class="col_two_third"&gt;
								&lt;label for="template-contactform-subject"&gt;Asunto &lt;small&gt;*&lt;/small&gt;&lt;/label&gt;
								&lt;input type="text" id="template-contactform-subject" name="template-contactform-subject" value="" class="required sm-form-control" /&gt;
							&lt;/div&gt;

							&lt;div class="col_one_third col_last"&gt;
								&lt;label for="template-contactform-service"&gt;Servicio&lt;/label&gt;
								&lt;select id="template-contactform-service" name="template-contactform-service" class="sm-form-control"&gt;
									&lt;option value=""&gt;-- Selecciona Uno --&lt;/option&gt;
									&lt;option value="Diseno"&gt;Diseño e Ingeniería&lt;/option&gt;
									&lt;option value="Certificacion"&gt;Certificaciones&lt;/option&gt;
									&lt;option value="EMAP"&gt;Evaluación de Productos&lt;/option&gt;
									&lt;option value="Cursos"&gt;Cursos y Capacitación&lt;/option&gt;
								&lt;/select&gt;
							&lt;/div&gt;

							&lt;div class="clear"&gt;&lt;/div&gt;

							&lt;div class="col_full"&gt;
								&lt;label for="template-contactform-message"&gt;Mensaje &lt;small&gt;*&lt;/small&gt;&lt;/label&gt;
								&lt;textarea class="required sm-form-control" id="template-contactform-message" name="template-contactform-message" rows="6" cols="30"&gt;&lt;/textarea&gt;
							&lt;/div&gt;

							&lt;div class="col_full hidden"&gt;
								&lt;input type="text" id="template-contactform-botcheck" name="template-contactform-botcheck" value="" class="sm-form-control" /&gt;
							&lt;/div&gt;

							&lt;div class="col_full"&gt;
								&lt;button name="submit" type="submit" id="submit-button" tabindex="5" value="Submit" class="button button-3d nomargin"&gt;Envía Comentario&lt;/button&gt;
							&lt;/div&gt;

						&lt;/form&gt;
					&lt;/div&gt;

				&lt;/div&gt;&lt;!-- Contact Form End --&gt;

				&lt;!-- Google Map
				============================================= --&gt;
					&lt;div class="col_half col_last"&gt;
               	&lt;!-- Google Map
					============================================= --&gt;
					&lt;section id="google-map" class="gmap bottommargin" style="height: 300px;"&gt;&lt;/section&gt;

				&lt;/div&gt;&lt;!-- Google Map End --&gt;

				&lt;div class="clear"&gt;&lt;/div&gt;

			

			&lt;/div&gt;

		&lt;/div&gt;
        
        &lt;div class="content-wrap"&gt;

			&lt;div class="container clearfix"&gt;

				

				&lt;div class="clear"&gt;&lt;/div&gt;

				

			&lt;/div&gt;

		&lt;/div&gt;

	&lt;/section&gt;&lt;!-- #content end --&gt;

	&lt;!-- Footer
	============================================= --&gt;
	&lt;footer id="footer" class="dark"&gt;

		&lt;div class="container"&gt;

			&lt;!-- Footer Widgets
			============================================= --&gt;
			&lt;div class="footer-widgets-wrap clearfix"&gt;
                
                		&lt;div class="row"&gt;

						&lt;div class="col-md-3 bottommargin"&gt;
							&lt;div class="col_full"&gt;

					

						&lt;div class="widget clearfix"&gt;

							

							&lt;div&gt;
								&lt;address&gt;
									&lt;strong&gt;Oficina:&lt;/strong&gt;&lt;br&gt;
									Torre Lovft, M-1, L-4&lt;br&gt;
									Francisco Villa 123&lt;br&gt;
                                    Col. El Aguacatal&lt;br&gt;
                                    Santa Catarina, NL. 66197&lt;br&gt;
								&lt;/address&gt;
								
							&lt;/div&gt;

						&lt;/div&gt;

				
				&lt;/div&gt;
						&lt;/div&gt;
                            &lt;div class="col-md-3 bottommargin"&gt;
                                &lt;strong&gt;Contacto:&lt;/strong&gt;&lt;br&gt;
							&lt;abbr title="Phone Number"&gt;&lt;strong&gt;Teléfono:&lt;/strong&gt;&lt;/abbr&gt; (81) 2141 0971&lt;br&gt;
								
								&lt;abbr title="Email Address"&gt;&lt;strong&gt;Email:&lt;/strong&gt;&lt;/abbr&gt; hola@recursov.com
						&lt;/div&gt;
                            
                             &lt;div class="col-md-3 bottommargin"&gt;
							&lt;div class="row"&gt;

							&lt;div class="col-md-6 clearfix bottommargin-sm"&gt;
								&lt;a href="#" class="social-icon si-dark  si-facebook nobottommargin" style="margin-right: 10px;"&gt;
									&lt;i class="icon-facebook"&gt;&lt;/i&gt;
									&lt;i class="icon-facebook"&gt;&lt;/i&gt;
								&lt;/a&gt;
								&lt;a href="#"&gt;&lt;small style="display: block; margin-top: 3px;"&gt;&lt;strong&gt;Siguenos&lt;/strong&gt;&lt;br&gt;en Facebook&lt;/small&gt;&lt;/a&gt;
							&lt;/div&gt;
							&lt;div class="col-md-6 clearfix"&gt;
								&lt;a href="#" class="social-icon si-dark si-rss nobottommargin" style="margin-right: 10px;"&gt;
									&lt;i class="icon-linkedin"&gt;&lt;/i&gt;
									&lt;i class="icon-linkedin"&gt;&lt;/i&gt;
								&lt;/a&gt;
								&lt;a href="#"&gt;&lt;small style="display: block; margin-top: 3px;"&gt;&lt;strong&gt;Siguenos&lt;/strong&gt;&lt;br&gt;en Linkedin&lt;/small&gt;&lt;/a&gt;
							&lt;/div&gt;

						&lt;/div&gt;
						&lt;/div&gt;
                            &lt;div class="col-md-3 bottommargin"&gt;
							
						&lt;/div&gt;
                &lt;/div&gt;
                
				

					&lt;div class="widget clearfix" style="margin-bottom: -20px;"&gt;

						

					&lt;/div&gt;

				&lt;/div&gt;
						&lt;/div&gt;
                           
	
	&lt;/footer&gt;&lt;!-- #footer end --&gt;

&lt;/div&gt;&lt;!-- #wrapper end --&gt;

&lt;!-- Go To Top
============================================= --&gt;
&lt;div id="gotoTop" class="icon-angle-up"&gt;&lt;/div&gt;

&lt;!-- External JavaScripts
============================================= --&gt;
&lt;script type="text/javascript" src="js/jquery.js"&gt;&lt;/script&gt;
&lt;script type="text/javascript" src="js/plugins.js"&gt;&lt;/script&gt;

&lt;!-- Footer Scripts
============================================= --&gt;
&lt;script type="text/javascript" src="js/functions.js"&gt;&lt;/script&gt;

<script type="text/javascript" src="1
https://maps.google.com/maps/api/js?key=AIzaSyAA9Z_1HumeWA6I4eyU0kwuAtWu6sQ_ROQ"></script>
<script type="text/javascript" src="js/jquery.gmap.js"></script>

<script type="text/javascript">

jQuery('#google-map').gMap({

    latitude: -37.9712369,
    longitude: 144.4926746,
    maptype: 'ROADMAP',
    zoom: 9,
    markers: [
        {
            address: "Melbourne, Australia",
            html: '&lt;div style="width: 300px;"&gt;&lt;h4 style="margin-bottom: 8px;"&gt;Hi, we\'re &lt;span&gt;Envato&lt;/span&gt;&lt;/h4&gt;&lt;p class="nobottommargin"&gt;Our mission is to help people to &lt;strong&gt;earn&lt;/strong&gt; and to &lt;strong&gt;learn&lt;/strong&gt; online. We operate &lt;strong&gt;marketplaces&lt;/strong&gt; where hundreds of thousands of people buy and sell digital goods every day, and a network of educational blogs where millions learn &lt;strong&gt;creative skills&lt;/strong&gt;.&lt;/p&gt;&lt;/div&gt;',
            icon: {
                image: "images/icons/map-icon-red.png",
                iconsize: [32, 39],
                iconanchor: [13,39]
            }
        }
    ],
    doubleclickzoom: false,
    controls: {
        panControl: true,
        zoomControl: true,
        mapTypeControl: true,
        scaleControl: false,
        streetViewControl: false,
        overviewMapControl: false
    }
});

</script>
<script>
$(function() {
$( "#side-navigation" ).tabs({ show: { effect: "fade", duration: 100 } });
});
</script>

</body>
</html>

SSemicolon WebSTAFFOct 2, 2016

Hello,

Can you please provide us with a Live URL so that we can check out the exact issue and provide you with a more accurate solution for this. Thanks for your Patience.

Meanwhile, do let us know if we can help you with anything else or if you find any further issues with Canvas.

Have the same question, or something new?

Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.

Reply on the dashboard