guys.. i had some problem ..when write in xml (Res.partner's form)..
<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>
it's gives to me this error.. how can i solve this ?
Uncaught ReferenceError: google is not definedhttp://localhost:8069/web?#id=1&view_type=form&model=res.partner&action=307:8Traceback:
ReferenceError: google is not defined at eval (eval at <anonymous> (http://localhost:8069/web/content/285-ddc7143/web.assets_common.js:473:213), <anonymous>:8:24) at eval (<anonymous>) at http://localhost:8069/web/content/285-ddc7143/web.assets_common.js:473:213 at Function.globalEval (http://localhost:8069/web/content/285-ddc7143/web.assets_common.js:473:233) at jQuery.fn.init.domManip (http://localhost:8069/web/content/285-ddc7143/web.assets_common.js:833:306) at jQuery.fn.init.append (http://localhost:8069/web/content/285-ddc7143/web.assets_common.js:819:295) at Object.append (http://localhost:8069/web/content/326-6394053/web.assets_backend.js:3263:50) at Array.<anonymous> (http://localhost:8069/web/content/326-6394053/web.assets_backend.js:3159:11) at fire (http://localhost:8069/web/content/285-ddc7143/web.assets_common.js:644:299) at Object.fireWith [as resolveWith] (http://localhost:8069/web/content/285-ddc7143/web.assets_common.js:649:198)
Thanks You, That worked great. I was using the pre-built Google API maps that creates an
Mark feel free to upvote good answers so that the user can build karma points.
Reply-To: "Odoo S.A." <catchall@mail.odoo.com>
Date: Mon, 5 Jan 2015 21:21:21 +0000
To: Mark Wells <mwells@dstincorporated.com>
Subject: Re: Website with Google Map
Mark feel free to upvote good answers so that the user can build karma points.
--Stephen

(I'm not an odoo employee just playing around with the signature feature)
Sent by Odoo S.A. using Odooabout Forum Post Website with Google Map