Skip to Content
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Sign in
  • Nederlands English (US) Español (AR)
  • Contact Us
  • Home
  • Blog
  • Jobs
  • Contact us
Cafayate.Net
  • 0
  • 0
    • Home
    • Blog
    • Jobs
    • Contact us
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Sign in
  • Contact Us

Odoo Google Map API

  • All Blogs
  • Tech Blog
  • Odoo Google Map API
  • March 5, 2021 by
    Administrator

    Steps to set multiple google map in page

    Step 1: Select page where you want to add google map and select customize.

    Step 2: You have to add following code in page

    <script src=”http://maps.googleapis.com/maps/api/js”></script>
    <script>
    function initialize() {
    var mapProp = {
    center:new google.maps.LatLng(51.508742,-0.120850),zoom:5,mapTypeId:google.maps.MapTypeId.ROADMAP
    };
    var map=new google.maps.Map(document.getElementById(“googleMap“),mapProp);
    }
    google.maps.event.addDomListener(window, ‘load’, initialize);
    </script>
    <div id=”googleMap” style=”width:250px;height:250px;”></div>

    Step 3: If you want to use more than one Google Map in single page then you have to just change the boldtext whis the ID of the google frame which uses as a DIV tag.

    If you get the answer as you need then please accept the answer.

    in Tech Blog
    How to edit Website Contact Form location map?

    Designed for companies

    We are a team of passionate people whose goal is to improve everyone's life through disruptive products. We build great products to solve your business problems. Our products are designed for small to medium size companies willing to optimize their performance.

    Get in touch

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

    • +31 653-919-302
    • [email protected]
    Follow us
    Copyright © Plantexel
    Nederlands | English (US) | Español (AR)