Ir al contenido
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Inicia sesión
  • Nederlands English (US) Español (AR)
  • Contáctanos
  • Inicio
  • Blog
  • Empleos
  • Contáctanos
Cafayate.Net
  • 0
  • 0
    • Inicio
    • Blog
    • Empleos
    • Contáctanos
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Inicia sesión
  • Contáctanos

Odoo Google Map API

  • Todos los blogs
  • Tech Blog
  • Odoo Google Map API
  • 5 de marzo de 2021 por
    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.

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

    Diseñado para empresas

    Somos un equipo de personas apasionadas cuyo objetivo es mejorar la vida de todos a través de productos revolucionarios. Creamos grandes productos para resolver sus problemas empresariales. Nuestros productos están diseñados para pequeñas y medianas empresas dispuestas a optimizar su rendimiento.

    Contáctenos

    Plantexel
    Pedernera
    Salta Capital 
    Argenina

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