Home
Download
Add-ons
Help
Forum
Organisation
Project
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
February 12, 2012, 05:26:10 PM
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Search:
Advanced search
Interested in joining the WebsiteBaker team?
For more Information read
here
or on our
new website
.
149667
Posts in
21100
Topics by
7538
Members
Latest Member:
ionline
WebsiteBaker Community Forum
English
Modules
(Moderator:
Argos
)
Google-Map module
Pages:
1
...
4
5
[
6
]
7
Go Down
Author
Topic: Google-Map module (Read 50313 times)
aldus
Offline
Posts: 1238
Re: Google-Map module
«
Reply #125 on:
March 02, 2009, 01:07:50 PM »
Hello abidan
Hm ... have you try to set the PHP_Error Level to "E_All & strict" inside the WB-Backend options?
Could be helpfull to see what's going on. Another way could be to place
Code:
<?php
ini_set
(
'display_errors'
,
1
);
error_reporting
(
E_ALL
);
?>
inside on top of you Template ...
Regards
Aldus
Logged
abidan
Offline
Posts: 102
Re: Google-Map module
«
Reply #126 on:
March 02, 2009, 02:09:56 PM »
its really strange, i have tried changing those settings in the preferences, trying all the error reporting settings and nothing changes. I have just added the line
<?php
ini_set('display_errors', 1);
error_reporting(E_ALL);
?>
to the top of my indexphp file and nothing is showing either?
Help
Logged
aldus
Offline
Posts: 1238
Re: Google-Map module
«
Reply #127 on:
March 02, 2009, 02:17:26 PM »
Hm ... this is digging in mist ...
Found
Code:
<br />
<b>Notice</b>: Undefined variable: is_tabbed in <b>/home/www/tjbodyrocks.awardspace.co.uk/modules/gmap/markerdefinitions.php</b> on line <b>122</b><br />
<br />
<b>Notice</b>: Undefined variable: markericondefinitions in <b>/home/www/tjbodyrocks.awardspace.co.uk/modules/gmap/functions.php</b> on line <b>171</b><br />
inside the generated HTML-Code of the page ... could be something within the marker-definations.
Witch Version of the gm-tool, WB-Version and PHP-Version do you use and where did you get the modul itself?
Regards
Aldus
Logged
abidan
Offline
Posts: 102
Re: Google-Map module
«
Reply #128 on:
March 02, 2009, 03:31:27 PM »
Hmmmmmmmmm I noticed that bit too and so have tried using marker A the simple ballon one.
Just tried to uninstall the module to attempt to reinstall and it wont uninstall either, just goes to a white page.
googlemap version0.18
MySQl 5.1
php 5.2.5 (can use that or 6 or 4.4.4)
WB 2.7
Cant rememebr where i go the module am sure it was from here?
Logged
ruebenwurzel
WebsiteBaker Org e.V.
Offline
Posts: 7663
Re: Google-Map module
«
Reply #129 on:
March 02, 2009, 04:13:52 PM »
Hello,
Quote
version0.18
Please try version 0.19 from some post above, wich should have included some fixes for issues wich you have.
http://www.websitebaker2.org/forum/index.php/topic,4186.msg75729.html#msg75729
Matthias
Logged
abidan
Offline
Posts: 102
Re: Google-Map module
«
Reply #130 on:
March 02, 2009, 04:26:53 PM »
Oh thanks
I am just trying that now
Logged
abidan
Offline
Posts: 102
Re: Google-Map module
«
Reply #131 on:
March 05, 2009, 09:12:56 PM »
can you repost the 0.19 zip i cant find it on here? seems to have dissapeared?
Logged
erpe
Offline
Posts: 2077
Re: Google-Map module
«
Reply #132 on:
March 05, 2009, 10:37:12 PM »
http://www.websitebakers.com/pages/modules/listings/various/google-maps.php
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
abidan
Offline
Posts: 102
Re: Google-Map module
«
Reply #133 on:
March 06, 2009, 12:21:04 AM »
Couldnt get it working so reverted to a manual solution and did it myself. Have no idea why it has stopped working, 0.18 was installed and tried to install 0.19 over the top and its said upgraded successfully one but in view details still said 0.18 , i uninstalled and reinstalled 0.19 from scatch stil lsaid 0.18 version no matter what i did it wouldnt work??? Manually did my own google map bit of a shame really
Logged
MrRedlich
Offline
Posts: 76
Re: Google-Map module
«
Reply #134 on:
March 07, 2009, 03:38:43 AM »
Will it give a WB Map-Module for openstreetmap content?
have a look at
www.openstreetmap.c
om
and
http://wiki.openstreetmap.org/wiki/OpenLayers
Logged
I nur speek Deutsch
Ich only spreche German
CyberDyne
Offline
Posts: 155
Re: Google-Map module
«
Reply #135 on:
May 29, 2009, 11:49:15 AM »
Hello,
I use the Google-Map module in several languages on one website. Is there any possibility to change the language of the map, to call the map in french, or english, spanish etc.? Only the map, not the wb-site.
Greetings,
Klaus
Logged
GldRush98
Offline
Posts: 5
Re: Google-Map module
«
Reply #136 on:
August 28, 2009, 03:26:47 PM »
Hello,
I have translated the rest of the German words to English for version 0.19
I also fixed the "Route-planner" option to use the American version of google maps, so it will route correctly and in English.
I added a letter b after the version to indicate it's a translated version
Google Maps Module 0.19b
Wish I could help you out with the other languages, but I only know English!
Logged
snark
Guest
Re: Google-Map module
«
Reply #137 on:
September 04, 2009, 11:03:43 PM »
is it possible to have a field in de address-popup with an 'enter your zipcode to see the route' function
something like :
http://www.inboxstorage.nl/index.php/component/option,com_google_maps/Itemid,80/
Logged
nibz
Offline
Posts: 19
Re: Google-Map module
«
Reply #138 on:
September 18, 2009, 04:22:14 PM »
Yes this is possible, (It was already possible)
But for the text you only have to change the marker.php file stored in the gmap module map.
Example change: (change the code starting at $routefinderhtm)
Code:
$routefinderhtml = '<form id="route_form" action="http://maps.google.de/maps" target="_blank">
<input type="hidden" name="f" value="d" /><input type="hidden" name="hl" value="de" /><input
type="hidden" name="sll" value /><input type="hidden" name="sspn" value /><input type="hidden"
id="d_daddr" name="daddr" value="'.$zeile['longi'].', '.$zeile['lati'].'" /><table class="route"><tr
class="route_tr"><td class="route_td">Postcode:</td></tr><tr class="route_tr"><td class="route_td">
<input id="route_input" type="text" name="saddr" tabindex="6" size="29" /></td></tr><tr
class="route_tr"><td class="route_td"><p class="route_help">(v.b. Kerkstraat 2, 7571 EE Oldenzaal)
</p></td></tr><tr class="route_tr"><td class="route_td"><input id=" class="route_submit"" type="submit"
name="btnG" tabindex="8" value="Show Route!" /></td></tr></table></form>';
I changed the text from Start adress: to Postcode. Now you need to refresh your marker, go to edit marker.
And then change the Window option to Route planner again (Now it's changed)
(I'm no php coder, but i just changed this for my own site, and for me this worked)
Added a DUTCH working file
Robin
«
Last Edit: September 18, 2009, 04:40:34 PM by nibz
»
Logged
CyberDyne
Offline
Posts: 155
Re: Google-Map module
«
Reply #139 on:
October 08, 2009, 12:18:39 PM »
Hallo,
ich stell meine Frage gleich mal in deutsch.
Ist es irgendwie möglich im statischen Fenster mit den Angaben zur Adresse auch gleich ein Feld zum Routen mit anzubieten? In den Optionen Marker-Definieren findet sich nur ein entweder Fensterle mit eigenen Angaben, oder Routing.
Wie bringe ich beides zusammen, gerne auch mit tabbedInfoWindows?
Viele Grüße,
Klaus
Logged
erpe
Offline
Posts: 2077
Re: Google-Map module
«
Reply #140 on:
October 08, 2009, 12:37:26 PM »
Quote
ich stell meine Frage gleich mal in deutsch.
why?
You are in the english board.
rgds
erpe
Logged
stories about
be part of the Tutorials-Project
visit the jQuery-Showroom
snark
Guest
Re: Google-Map module
«
Reply #141 on:
October 08, 2009, 10:29:32 PM »
Quote from: nibz on September 18, 2009, 04:22:14 PM
Yes this is possible, (It was already possible)
...
Added a DUTCH working file
Robin
wow, missed this one... dankjewel man
Logged
snark
Guest
Re: Google-Map module
«
Reply #142 on:
October 19, 2009, 03:21:36 PM »
finally got the chance to test this one...
is there a possibillity to show both the address of the marker + the zipcode routeplanner. I thougth about placing some hardcoded stuff into the balloon but I want to use more than one marker
and does anyone know how to style the input field, the module is not responding to my added class ion markers.php
«
Last Edit: October 21, 2009, 10:20:34 PM by snark
»
Logged
GldRush98
Offline
Posts: 5
Re: Google-Map module
«
Reply #143 on:
December 08, 2009, 06:11:24 PM »
Yikes, I just noticed that the gmaps module I modified wouldn't install right because I goofed when generating the zip file.
I fixed the file now. You should be able to re-download it and install it... if anyone even cares haha
Logged
afbelow
Offline
Posts: 43
Re: Google-Map module
«
Reply #144 on:
December 12, 2009, 02:24:29 PM »
Hello Matthias,
if you do changes in my old GoogleMap-Module, would you please pay attention to the fact that the other functions are not affected by your changes.
You had a problem with the not defined variable $max_order in marker.php and routes.php
In marker.php:
Please insert to line 127:
"$max_order = 0;"
in line 138 it must be
"$a = $max_order + $x;"
instead of
"$a = isset($max_order) + $x;"
It is the same Problem in routes.php:
Please insert to line 102:
"$max_order = 0;"
in line 113 it must be
"$a = $max_order + $x;"
instead of
"$a = isset($max_order) + $x;"
Otherwise it is impossibly to define routes or several different markers, like we have done e.g. at
http://www.artquartier.de/vorpommern/deu/ferienhaus/anreise/E28792-a20.php
But I am glad to see that the module still bumps to interest.
We think just about a small extension of the module, just in the regard of several routes and marker qualities.
But til I send the changes to you for publication in here, it will lake long into next year.
You know the problem from this and the pdf-module: As the first the change must play in its development expenses, then I change the license.
So far, your
Arnt F. Below
«
Last Edit: December 12, 2009, 02:42:39 PM by afbelow
»
Logged
www.belowmarketing.
de
ekle
Offline
Posts: 4
Re: Google-Map module
«
Reply #145 on:
July 07, 2010, 10:48:16 PM »
hi,
there is still a bug in 0.19.
Undefined variable: markericondefinitio
ns in <b>/homepages/35/d82774085/htdocs/modules/gmap/functions.php</b> on line <b>171
i fixed this by simply adding
$markericondefinitions = "";
in line 40.
Logged
hamburg-support
Offline
Posts: 25
ERROR Gmap2 ist undefiniert / Gmap2 is not defined
«
Reply #146 on:
August 17, 2010, 12:47:48 PM »
Hello,
i got the error message (Gmap2 is not defined) in my IE8 & Firefox and i am using the GoogleMap Modul 0.19 in WB 2.8.1.
Does anyone have a solution for this?
Thank you in advance.
David
Logged
aldus
Offline
Posts: 1238
Re: Google-Map module
«
Reply #147 on:
August 17, 2010, 01:47:36 PM »
Hello David
I'm pretty sure your Google-API-Key doesn't match, so the "result-code" from Google is not valid.
Please keep in mind, if you've got two installations, e.g. a local one for testing and a realtime one for a client,
you will have to generate two API-keys at all.
Kind regards
Aldus
Logged
fsuk
Offline
Posts: 127
Re: Google-Map module
«
Reply #148 on:
January 02, 2011, 03:03:04 PM »
Im having trouble displaying the markers, the shadow of the marker is shown but the marker itself is not.
http://www.tamworthscouts.org.uk/pages/find-a-group.php
Using firebug you can see that the marker being displayed on the map has 0 width and height. why?
Thanks
Logged
You say deviant like its a bad thing...
aldus
Offline
Posts: 1238
Re: Google-Map module
«
Reply #149 on:
January 02, 2011, 03:12:10 PM »
Quote from: fsuk on January 02, 2011, 03:03:04 PM
Im having trouble displaying the markers, the shadow of the marker is shown but the marker itself is not.
http://www.tamworthscouts.org.uk/pages/find-a-group.php
Using firebug you can see that the marker being displayed on the map has 0 width and height. why?
Thanks
This belongs to the way, the module itself trys to geht the width and height of the icons via "getImageSize" within an URL.
As this function always failed within an url of security reasons the default value is used - and this is 0 instead of e.g. 20 or 32 (can't remember the correct sizes) - so you wil have to edit one or two module files at all.
Edit
Not realy sure if it its the right place, but give it a try:
File: modules/gmap/markerdefinitions.php
Line: 55 ff.
Code:
<?php
// not this one!
/**
*
Make sure that we've got valid values here.
*/
if (!
is_integer
(
$iconwidth
))
$iconwidth
=
20
;
if (!
is_integer
(
$iconheight
))
$iconheight
=
34
;
if (!
is_integer
(
$shaddowwidth
))
$shaddowwidth
=
37
;
if (!
is_integer
(
$shaddowheight
))
$shaddowheight
=
34
;
to set the correct values instead of 0's.
Hm ... but i still remember taht where's also another, second place for the size ... just can't find it quickly ...
Edit 2
Yep: File "functions.php" - line 163 also! Should work.
Kind regards
Aldus
«
Last Edit: January 02, 2011, 03:28:40 PM by aldus
»
Logged
Pages:
1
...
4
5
[
6
]
7
Go Up
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> General Announcements
-----------------------------
English
-----------------------------
=> Help & Support
-----------------------------
General
-----------------------------
=> WebsiteBaker Website Showcase
-----------------------------
English
-----------------------------
=> Modules
=> Templates, Menus & Design
=> WebsiteBaker Language Files
=> Droplets (PHP code for use with Droplet module) & Snippets (raw PHP code)
-----------------------------
General
-----------------------------
=> Guest Area & Off-Topic
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.x discussion
=> WebsiteBaker 3
-----------------------------
General
-----------------------------
=> Security Announcements
-----------------------------
Deutsch (German)
-----------------------------
=> Hilfe/Support
-----------------------------
General
-----------------------------
=> Documentation
-----------------------------
Francais (French)
-----------------------------
=> Help/Support
-----------------------------
Italiano (Italian)
-----------------------------
=> Help/Support
-----------------------------
Deutsch (German)
-----------------------------
=> Ankündigungen
=> Diskussion über WB
=> Off-Topic
=> Archiv für Themen bis 2007
=> Module & Snippets
-----------------------------
English
-----------------------------
=> Archive (posts up to 2007)
-----------------------------
Nederlands (Dutch)
-----------------------------
=> Aankondigingen
=> Hulp & Ondersteuning
=> Niet-Terzake (Off Topic)
-----------------------------
Deutsch (German)
-----------------------------
=> jQuery
=> Tutorials
=> Templates & Design
-----------------------------
English
-----------------------------
=> jQuery
-----------------------------
Bakery (WB shop module)
-----------------------------
=> Bakery English
=> Bakery Deutsch
-----------------------------
English
-----------------------------
=> WebsiteBaker 2.9
===> Announcements
===> Help/Support
===> Suggestions
-----------------------------
Deutsch (German)
-----------------------------
=> WebsiteBaker 2.9
===> Ankündigungen
===> Hilfe/Support
===> Vorschläge
-----------------------------
English
-----------------------------
===> Software bugs
-----------------------------
Deutsch (German)
-----------------------------
===> Softwarefehler
=====> Module / Extensions
-----------------------------
English
-----------------------------
=====> Modules / Extensions
-----------------------------
Deutsch (German)
-----------------------------
===> Erfahrungs und Testberichte
-----------------------------
KeepInTouch (Multi Contact Module)
-----------------------------
=> KeepInTouch English
=> KeepInTouch Deutsch
Loading...