google maps plugin - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13) +--- Thread: google maps plugin (/showthread.php?tid=1419) |
google maps plugin - Connie - 2012-07-04 Donuts, I think one of the reasons could be that a Jquery Script is loaded twice, and when that happens they are not executed. Check the header of the site where the gallery is active, if you see a duplicate script call google maps plugin - hannesr - 2012-07-05 Hi, I have the same problem as pierre; when I load the page the first time i get a empty shell of the script: Code: $jQ = jQuery.noConflict(); When I reload the page however it gets populated with the correct data. It also works if it is an external link, but that is not an option since it will open a new window on mobile devices. Any help is much appreciated! google maps plugin - em_we_es - 2012-07-10 perhaps helps this (quick and dirty): googlemap.php, line 309: Code: if($maps > 0){ Code: if($maps > 0 && $GETIMGSIZEJS != ""){ this empties the javascript in the header on a page, on which no map is loaded and the page with a gallery will work again. google maps plugin - Uberspick - 2012-07-26 em_we_es Wrote:perhaps helps this (quick and dirty): Its perfect! Thank you for that hint—my site is running again! Thought about to change the cms… google maps plugin - Beluga - 2012-08-01 I had the 2011 version of the script, recently noticed my map had turned into a grey rectangle, installed the new version with em_we_es's hack, but I'm still getting an empty rectangle. Any tips? Maybe this is related: I just tried I8N Gallery, which uses a similar syntax (% gallery name=name %) and it doesn't work either. google maps plugin - islander - 2012-08-01 Beluga Wrote:I had the 2011 version of the script, recently noticed my map had turned into a grey rectangle, installed the new version with em_we_es's hack, but I'm still getting an empty rectangle. Any tips? Check your headers, it is probably trying to load Jquiry twice. google maps plugin - Beluga - 2012-08-01 islander Wrote:Check your headers, it is probably trying to load Jquiry twice. I had one extra jQuery in there, my own email harvesting prevention script, but now I've commented it out and it still gives me an empty box. google maps plugin - Beluga - 2012-08-01 Now I changed my theme jQuery (1.7.2) to the header instead of footer, so it gets loaded first (because I need it) and took jQuery loading away from Google maps. Now it doesn't even show the grey box. This is the part I deleted: . "\n".'<script language="javascript" type="text/javascript">' . "\n".'//<![CDATA[' . "\n".' if (typeof jQuery == "undefined") {' . "\n".' document.writeln(\'<script type="text\/javascript" language="javascript" src="http://code.jquery.com/jquery-1.6.1.min.js"><\/script>\');' . "\n".' };' . "\n".' [js]' . "\n".'//]]>' . "\n".'</script>' Btw. I got i18N Gallery to work. google maps plugin - horizon - 2012-10-06 Is it possible to make the balloon clickable on a mobile phone? E.g. - I visit the site on my Android - click on the map or balloon - my "Google Directions Navigator" starts ..... Is that possible? RE: google maps plugin - didou038 - 2012-11-17 Hi All ! if someone have a problem when using googlemap plugin and fancybox (and other jquery lightbox, I18N Galery plugin) like no lightbox, I found how to fix it and continue to use both of them ! The first way presented by Mvlcek, was to delete the line : $jQ = jQuery.noConflict(); You can find it in googlemap.php (in pugin directory) at line 101. But if you've deleted it directly in this googlemap plugin's files, it doesn't work anymore. So to resolve this problem follow these steps : Open the file googlemap.php Find : function gmap_include_check($contcomp = false) ---> normaly you'll find it at line 460 Find In this function : if (strpos($contcomp, 'gmap_') === false ){ $contcomp = false; }; Replace it by : if (strpos($contcomp, 'gmap_') == false ){ $contcomp = false; }; And find : if (strpos($data_index->content, '(%googlemap') === false AND $contcomp === false){ return false; }; replace it by : [undefined=undefined]if (strpos($data_index->content, '(%googlemap') == false AND $contcomp == false){ return false; }; Save the file, upload it on your server. I've tested it and the googlemap plugin and I18Gallery are working perfectly. Someone can test it and confirm that this fix works ? Thanks you ! (sorry for my english) RE: google maps plugin - stevenatherton42 - 2012-12-15 Hello Great plugin, but I have a little problem. I'm trying to place a pin on a farm on a road with no road name. Using the address doesn't place the pin correctly, so I've been trying to use lat long from http://www.getlatlon.com/ however, when I paste the lat long coordinates into the plugin and view the map, it pin appears to snap to the nearest known place rather than where the coordinates tell it. Is there any fix to this? Many thanks RE: google maps plugin - Timbow - 2012-12-15 (2012-12-15, 06:23:26)stevenatherton42 Wrote: Hello I remember struggling with that. Wish I could remember how I did it - LOL. ISTR you can log in to google and make your own 'places' by sticking a pin in the map, which you name and are public. instead of using a postal address RE: google maps plugin - Elysia - 2013-03-08 Hello didou038, Thank you for posting the fix for the googlemaps / gallery issue at reply 137 above. I had installed the googlemaps plugin onto my site and it had turned off the gallery image forward/back and slideshow controls and had also disabled the showing of the GS contactable slider. By making the change you suggested in your post 137 above it has restored both gallery and contactable to full working order, so I can confirm that your fix works, and I thank you for it most gratefully. You have saved me a big headache. RE: google maps plugin - Beluga - 2013-04-09 (2012-12-15, 08:06:17)Timbow Wrote:(2012-12-15, 06:23:26)stevenatherton42 Wrote: Hello Anyone remember how to do it with the plugin? I tried logging in to Google and right clicking a spot and selecting What's here?, but it only switches focus to the search field and doesn't allow me to name the location. RE: google maps plugin - Timbow - 2013-04-09 Don't know about the plugin, but http://www.google.com/maps/myplaces if it's any help RE: google maps plugin - Beluga - 2013-04-10 Ok I finally managed to create a place by following the interactive tutorial. I gave it a unique name, but when I enter that name in the Google maps plugin address field, I get a grey map. RE: google maps plugin - Timbow - 2013-04-10 I should keep my mouth shut because I don't know anything about Google maps or the plugin but you know you don't need the plugin just to display a map? You can just paste the embed code into the Source view of Page Editor. Would that do the job for you? RE: google maps plugin - paulz - 2013-04-11 (2012-11-17, 01:47:25)didou038 Wrote: if someone have a problem when using googlemap plugin and fancybox (and other jquery lightbox, I18N Galery plugin) like no lightbox, I found how to fix it and continue to use both of them ! Hi, it works! Thanks a lot you man! RE: google maps plugin - Beluga - 2013-04-12 (2013-04-10, 17:37:10)Timbow Wrote: I should keep my mouth shut because I don't know anything about Google maps or the plugin but you know you don't need the plugin just to display a map? You can just paste the embed code into the Source view of Page Editor. Would that do the job for you? Thanks RE: google maps plugin - Oleg06 - 2013-06-16 why can not I write the address in Cyrillic? RE: google maps plugin - JoZ3 - 2013-06-23 work in GS 3.2.1?... I install it but the maps do not appear, only the label appears ((% googlemap:mapname%), the plugin I use on the last working version of GS and without any inconvenience. RE: google maps plugin - Oleg06 - 2013-06-23 you probably have a script jQuery used twice RE: google maps plugin - strandoo - 2013-07-24 Hi. Great plug-in. I'm having a problem with one thing: I've enabled the 'show the balloon tip' option. By default, when I load the map page, the map first centers on my address icon, then moves 30 or so pixels down when the balloon opens. I'd like to keep the map centered on the icon and not shift when the balloon opens. I know this is probably a feature rather than a bug, but my layout depends on the icon remaining centered when the balloon displays. Any suggestions are appreciated. RE: google maps plugin - BlueDragon - 2013-08-30 (2013-04-11, 02:28:30)paulz Wrote:(2012-11-17, 01:47:25)didou038 Wrote: if someone have a problem when using googlemap plugin and fancybox (and other jquery lightbox, I18N Galery plugin) like no lightbox, I found how to fix it and continue to use both of them ! Yes for me also it worked with the modification proposed by MarcinN here. There is one more change I did, don't know if that is really necessary but it works and I'm happy. Would be nice if that bug would be corrected by the plugin author though... RE: google maps plugin - stryker - 2013-11-24 Hello, I have your newest plugin installed and activated but have not implemented it on any page yet - currently site is in development. I noticed that the Googlemap code is being loaded on every page in the <head> section even though no map is being displayed for that page (or any page at this point in time). Usually I wouldn't mind about this but I am trying to optimise a site for mobiles and have a responsive design. Just trying to minimise page loads, especially for mobiles and would like to know if it's possible to only load the jquery.gomap-1.3.2.min.js script and related files ONLY on pages where the map is to be displayed. Thanks |