Odoo - Website with Multiple Google Maps for multiple locations ?

Zarshed Ali
Zarshed Ali
| 2 1 2
Asked on 2/11/15, 6:13 AM

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>
                     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);
            <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 theboldtext whis the ID of the google frame which uses as a DIV tag.

Zarshed Ali
Zarshed Ali
| 2 1 2
Answered on 2/11/15, 6:13 AM

Your answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

Ask a Question

Keep Informed

About This Forum

This forum is for HiTechnologia Employees & just Odoo general knowledge purpose only.

Read Guidelines

Question tools

2 follower(s)


Asked: 2/11/15, 6:13 AM
Seen: 6052 times
Last updated: 2/11/15, 6:13 AM