Google Map Snippet

by
Odoo 4
v 8.0 Certified 9471
Download for 8.0 series
You bought this module and need support ? Click here !
Technical name snippet_google_map
LicenseSee License tab
Read description for v 11.0 v 10.0 v 9.0
Required Apps Website Builder (website)
Included Dependencies

The Google Map Snippet embeds a Google Map on your site. This is a great way to display the location of your business or event. Add a title and address for the location to display in the snippet.



When you start typing an address, the page populates a list of autocomplete suggestions powered by Google.

Map Type

Map Zoom

You need to install the Less CSS compiler to run this snippet

  • on Linux, use your distribution's package manager to install nodejs and npm.
    • In debian wheezy and Ubuntu 13.10 and before you need to install nodejs manually:

      $ wget -qO- https://deb.nodesource.com/setup | bash -
      $ apt-get install -y nodejs
      
    • In later debian (>jessie) and ubuntu (>14.04) you may need to add a symlink as npm packages call node but debian calls the binary nodejs

      $ apt-get install -y npm
      $ sudo ln -s /usr/bin/nodejs /usr/bin/node
      
    • Once npm is installed, use it to install less and less-plugin-clean-css:

      $ sudo npm install -g less less-plugin-clean-css
      
  • on OS X, install nodejs via your preferred package manager (homebrew, macports) then install less and less-plugin-clean-css:

    $ sudo npm install -g less less-plugin-clean-css
    
  • on Windows, install nodejs, reboot (to update the PATH) and install less and less-plugin-clean-css:

    C:\> npm install -g less less-plugin-clean-css
    
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

Please choose a rating from 1 to 5 for this module.
Odoo
Figured out how to add a api key!
by on

open up s_google_map_frontend.js and scroll down to line 23 where it says var key param= insert you google api between the quotations and then scroll to line 30 at the end of redraw_all add &key for some reason this is not adding with the script so you have to manually put it in. Make sure you have all the API's in google console library for Maps enabled. This should work as this worked for me.


Odoo
dont worsk
by on

how to add google api key?


Odoo
Very good
by on

How can chance to insert location by: lat: -33.866, lng: 151.196. In Viet Nam google not yet full location. Thanks


Odoo
Please read the documentation above
by on

Hello, I just added a documentation tab detailing how to install the lesscss engine, which is required to use this module. It is because you didn't install it at first that the styling of your website was gone. Actually, it's the same requirements that you need to run a theme. Sorry for the inconvenience.


Odoo
Very hard to get
by on

Seems sth is wrong with Theme Support Engine and when installed, the website will have no rendering and if uninstalled, everything comes back. But one thing wired is that it works totally well on local test environment. So have to say there must be something missing from the server


Odoo
by on

Is it possible to mark several locations?


Odoo
by on

1.node.js and less css package .. has been installed, according to https://www.odoo.com/documentation/8.0/setup/install.html#setup-install-source 2. After you install this module, still it can not be used. 3. website picture seems to be confused, it feels like the lack of a less or css 4. Remove the module ..website screen display properly


Odoo
by on

Once I download have the extracted file in Addons. But still this module doesn't show up when I update modules :( Any thoughts??


Odoo
@ T F
by on

look into this, maybe helps: Please refer to the Less CSS via nodejs section of https://www.odoo.com/documentation/8.0/setup/install.html#setup-install-source for installation instructions.


Odoo
Looks great...
by on

Doesn t work on my install. Screambles Theme Clean again! Some Dependency Missing?