Overslaan naar inhoud
  • +31 653-919-302
Cafayate.Net
  • 0
  • 0
  • Aanmelden
  • Nederlands English (US) Español (AR)
  • Contact
  • Startpagina
  • Blog
  • Vacatures
  • Contact
Cafayate.Net
  • 0
  • 0
    • Startpagina
    • Blog
    • Vacatures
    • Contact
  • +31 653-919-302
  • Nederlands English (US) Español (AR)
  • Aanmelden
  • Contact

Odoo Google Map API

  • Alle blogs
  • Tech Blog
  • Odoo Google Map API
  • 5 maart 2021 in
    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?

    Ontworpen voor bedrijven

    We zijn een team van gepassioneerde mensen met als doel levens te verbeteren met vernieuwende producten. We ontwikkelen geweldige oplossingen voor al je zakelijke uitdagingen. Onze producten zijn ontworpen voor kleine tot middelgrote bedrijven die hun prestaties willen optimaliseren.

    Neem contact op

    Plantexel
    Pedernera
    Salta Capital 
    Argentina

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