How to print gmap ?

    You can print gmap using javascript by using following procedure. First of all create html file printmap.html and place it in the root directory or on the path that is accessible.
    <script type="text/javascript">
      var map_content =  window.opener.document.getElementById("mapDiv");
    On the page where we have gmap place a link or button as needed I'm using simple link here mapDiv is the div id in which the map is placed
    <a href="javascript:void(0);" class="printmap" onclick="'/printmap.html')">Print This Map</a>
    Average: 5 (1 vote)