I have added Google Maps on my site, but it's not clickable?

Hi, I followed this tutorial, but my code is shown below.

I have added maps in my site, it works perfectly except it’s not clickable I can’t click it? I can only move it. I thought you needed two fingers to move it, and one finger to tap and go through the link. Is that the same on the computer.

This is the code:


<!DOCTYPE html>



        <title>Dinno Optical</title>



        * {

            margin: 0;

            padding: 0;


        #map {

            height: 500px;

            width: 100%;




<div id="map"></div>


    function initMap() {

        var location = {lat: 43.688960, lng: -79.741825};

        var map = new google.maps.Map(document.getElementById("map"), {

            zoom: 16, 

            center: location


        var marker = new google.maps.Marker({

            position: location, 

            map: map




<script async defer src="https://maps.googleapis.com/maps/api/





This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.