This question has been flagged
2 Replies
12747 Views

Hi

i would like add/embed a view for google maps in contact us page

Note: google maps can't get the location by the addresse

We using doo 10 wih the default theme.


Avatar
Discard
Best Answer

With the help of Niyas and Mohammed we have solved that problem just a few days ago. Instead of the address, you can use the geo-coordinates which you can enter for a partner:

Check this: https://www.odoo.com/forum/help-1/question/10-0-website-contact-us-how-to-show-map-with-partner-longitude-partner-latitude-instead-of-address-121581

Avatar
Discard
Author

Hi Ermin

i checked the attached link, so i can't create a new module but i can edit the existing code by note++

if you have another solution let me know

Thanks

You should never do that. You will loose your changes when updating the module. It is always recommended to make an own module inheriting the original objects. You can send me an email (see my profile) and I can provide you with my module, if you like.

Author

i checked your profile and i tried to open your website to get your email but it's take long time to loading and nothing

if you have another solution let me know

thanks in advance

Did you try www.twanda.ch?


On 8/2/17 11:22 AM, Ayman Gabr wrote:

i checked your profile and i tried to open your website to get your email but it's take long time to loading and nothing

if you have another solution let me know

thanks in advance

--
Ayman Gabr


Sent by Odoo S.A. using Odoo.


-- 
twanda AG
Ermin Trevisan
Artherstrasse 19
CH-6318 Walchwil 
T    +41 41 758 1515
M    +41 79 208 7373
E    trevi@twanda.com 
www.twanda.ch
www.gastrosoftware.ch
Best Answer

Hi,

You can define the widget in contact page as follows:

<widget name="gmap_marker" lat="partner_latitude"
lng="partner_longitude"
description="name"/>

then give dependency of 'web_widget_google_maps'

https://apps.odoo.com/apps/modules/10.0/web_widget_google_maps/

Regards

Avatar
Discard