The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.31 (Linux)
|
Google Maps Error - Printable Version +- Form Tools (https://forums.formtools.org) +-- Forum: Modules / Other (https://forums.formtools.org/forumdisplay.php?fid=8) +--- Forum: Form Validation: JS + PHP (https://forums.formtools.org/forumdisplay.php?fid=18) +--- Thread: Google Maps Error (/showthread.php?tid=26764) Pages:
1
2
|
Google Maps Error - nelsondcosta - Jul 31st, 2017 Hello guys, Im getting a error using Google Maps Module, when I opem any form, I have an error. RE: Google Maps Error - nelsondcosta - Aug 23rd, 2017 bump?! RE: Google Maps Error - Polkafest - Sep 6th, 2017 (Aug 23rd, 2017, 7:20 AM)nelsondcosta Wrote: bump?! I changed some code to get it working, and you need a google maps api key from https://developers.google.com/maps/documentation/javascript/get-api-key. if ($has_google_map_field) // this is the changed code echo "<script>var map;function initMap(){map=new google.maps.Map(document.getElementById('google_maps_field'),{center:{lat:52.005595,lng:5.8263877},zoom:12})}</script><script defer src=\"https://maps.googleapis.com/maps/api/js?key=AIzaSorryuseyourownkeyiXzStAkoS6Qo&callback=initMap\"&type=\"text/javascript\ </script>\n"; // comment, this is not required any more echo "<script src=\"http://maps.google.com/maps/api/js?sensor=false\"></script>\n"; RE: Google Maps Error - nelsondcosta - Sep 7th, 2017 (Sep 6th, 2017, 6:52 PM)Polkafest Wrote:(Aug 23rd, 2017, 7:20 AM)nelsondcosta Wrote: bump?! I ll test and give thefeeback RE: Google Maps Error - nelsondcosta - Sep 8th, 2017 (Sep 7th, 2017, 12:29 PM)nelsondcosta Wrote:(Sep 6th, 2017, 6:52 PM)Polkafest Wrote:(Aug 23rd, 2017, 7:20 AM)nelsondcosta Wrote: bump?! WORKS RE: Google Maps Error - borgeeee - Nov 8th, 2017 (Sep 6th, 2017, 6:52 PM)Polkafest Wrote:(Aug 23rd, 2017, 7:20 AM)nelsondcosta Wrote: bump?! Good day!.. Hope everything is well.. In what file did you exactly add this code? Thank & Regards. RE: Google Maps Error - nelsondcosta - Nov 8th, 2017 Dont remember XD but search for Polkafest, because i foudn the solution in oter topic RE: Google Maps Error - weems085 - Dec 30th, 2017 Great Help! RE: Google Maps Error - Polkafest - Jan 23rd, 2018 I changed the code in the formtools module for google maps, a library file . .. just search for string has_google_map_field RE: Google Maps Error - nelsondcosta - Jan 24th, 2018 Do you think it's possible. Running the FT on a smartphone, create a button that will tell you your location via GPS? |