I cannot see my google map on your theme
erickcacao - June 13, 2009 - 16:01
| Project: | Zero Point |
| Version: | 6.x-1.7 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Firts at all: great theme. Thanks. That is why I look for your help. I installed the gmaplocation module, I configured it, but the map appears in blank, the google logo and other elements are visible but the satellite image doesnt.
I change theme and with minelli (ugly one) and other themes the map works fine...
Could you help me?

#1
You're right!
I will investigate the issue and came up with a solution.
#2
ok! thank you!
is it about CSS?
#3
Yes, I cannot see my google map on your theme. Please help!
#4
Please download zeropoint-6.x-1.5. It was a CSS conflict.
#5
Not work. :(
check it.
#6
not work
#7
May I have your URL? First upload the last version of 0Point. Second, clear cache and the browser's cache. It should work now. In fact the only issue is with Opera, only.
#8
You are right! It is strange but it seems to work only in Google Chrome, Safari and IE6. Probably the best solution is to drop that "adaptative width" in favor of a fixed width.
#9
http://kurkul.ru/bosco-di-ciliegi
browser Firefox, Opera.
#10
You have to use the last version (1.7). Refresh Drupal and browser cache. I have tested with all browsers (including an old NS).
#11
#12
Not work. :( Drupal 6.13. Your theme 1.7.
Not work in IE7, Opera, Firefox.
Work only on editing node.
#13
See this http://test.radut.net/en/gmaplocation. So, use the block in the module not custom work.
#14
I am still having this issue. I have the latest version installed and cleared the cache, but still no gmap. gmap works with the garland theme.
Thanks for your help!
#15
I am still having this issue too. I remove this theme, clear cache, install zeropoint-6.x-1.7, but still no gmap. May be reason in this? - Upload progress Not Included
Your server is capable of displaying file upload progress, but does not have the required libraries. It is recommended to install the PECL uploadprogress library (preferred) or to install APC.
my hoster hostgator.com
#16
Thanks for your help! and for your theme.
#17
Same issues here!
quote: "use the block in the module not custom work."
Could you be more specific?
#18
Please give me the URL. As you can see, in my environment the map is showing. I must understand what is happening in your case. To know the modules used is also of big help.
#19
Thanks Florian,
I'm still developing the site but momentary it can be found here:
http://www.ensorito.be/wegomschrijving
Regards,
Chris.
#20
I have the same issue:google logo and zoom, and navigation work, but the map area is in grey regardless of the type of view (satellite or other)
In Garland or other themes the maps show up without a problem.
I cannot provide an example since I have the Zero theme for a specific user account with certain privileges.
#21
IT100 and Jorge, can you both list all of the modules enabled? I must solve all the problems within one week.
#22
Here's the code I use, its pretty straightforward (developed by the Google guys)
Its a map showing a location (lng, lat) with an inputbox asking for visitors starting point
- google calculates & plots route on the map and attaches direction table.
Change settings for your location and language. (nl)
Change the apicode and run it on your site, your done in 3 min.
<!-- 100IT Google maps api key for ensorito.be --> <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAAAAiW6dF9co2fPqNndKWJM6QxS61gM56OIpKsTylT3kEfSkK_ya2BQ9SKqQL0z9lYtg0yAoyGJJ2Idd2Q"
type="text/javascript"></script> <script type="text/javascript">
var map;
var gdir;
function initializeMap() {
if (GBrowserIsCompatible()) {
map = new GMap2(document.getElementById("mapCanvas"));
map.setCenter(new GLatLng(51.21176, 2.87197), 16);
map.addControl(new GSmallMapControl());
map.addControl(new GMapTypeControl());
gdir = new GDirections(map, document.getElementById("mapDirections"));
GEvent.addListener(gdir, "load", onGDirectionsLoad);
GEvent.addListener(gdir, "error", handleErrors);
// info Window
map.openInfoWindowHtml(map.getCenter(),'<div style="color:#000000">Ensorito <br>Dorpsstraat 103 <br>8400 Oostende<br>Tel: 059/43 76 74 </div>');
}
}
function getDirections(form) {
gdir.load("from: " + form.fromAddress.value + " + to: " + form.toAddress.value, { "locale": form.locale.value});
}
function handleErrors(){
if (gdir.getStatus().code == G_GEO_UNKNOWN_ADDRESS)
alert("No corresponding geographic location could be found for one of the specified addresses. This may be due to the fact that the address is relatively new, or it may be incorrect.\nError code: " + gdir.getStatus().code);
else if (gdir.getStatus().code == G_GEO_SERVER_ERROR)
alert("A geocoding or directions request could not be successfully processed, yet the exact reason for the failure is not known.\n Error code: " + gdir.getStatus().code);
else if (gdir.getStatus().code == G_GEO_MISSING_QUERY)
alert("The HTTP q parameter was either missing or had no value. For geocoder requests, this means that an empty address was specified as input. For directions requests, this means that no query was specified in the input.\n Error code: " + gdir.getStatus().code);
// else if (gdir.getStatus().code == G_UNAVAILABLE_ADDRESS) <--- Doc bug... this is either not defined, or Doc is wrong
// alert("The geocode for the given address or the route for the given directions query cannot be returned due to legal or contractual reasons.\n Error code: " + gdir.getStatus().code);
else if (gdir.getStatus().code == G_GEO_BAD_KEY)
alert("The given key is either invalid or does not match the domain for which it was given. \n Error code: " + gdir.getStatus().code);
else if (gdir.getStatus().code == G_GEO_BAD_REQUEST)
alert("A directions request could not be successfully parsed.\n Error code: " + gdir.getStatus().code);
else alert("An unknown error occurred.");
}
function onGDirectionsLoad(){
document.getElementById("getMapStatus").innerHTML = gdir.getStatus().code;
}
</script> <!-- end Gmap -->
<form id="frmDirections" action="#">
<p>Uw vertrekpunt (straat, nummer, stad, land): <input type="text" id="from" name="fromAddress" size="60" /><br />
<br />
<input type="button" class="submit" value="Bereken route" onclick="getDirections(this.form)" /></p>
<input type="hidden" name="toAddress" value="51.21176, 2.87197" /> <input type="hidden" name="locale" value="nl" />
</form>
<div id="mapCanvas" style="width: 100%; height: 600px;"> </div>
<div id="mapDirections"> </div>
<div id="getMapStatus"> </div>
<script type="text/javascript">
initializeMap();
</script>
Thanks for your commitment, let me know if you want other information.
Regards,
Chris.
#23
I suspect the issue is related to one of "my improvements":) Put this line in /css/layout.css to see if it solves the problem:
#middlecontainer img {max-width: none !important;
}
#24
I added that line to the css/layout.css like you stated. Still no image.
The modules I have installed are:
acquia
admin menu
cck
cck email
cck link
calendar
date
devel
openwysiwyg
gmap
location
path auto
token
and views
Thanks for your help!
#25
Excellent work Florian!
Thanks!
http://www.ensorito.be/wegomschrijving
Regards,
Chris.
#26
Downloaded and install the latest version. Now it works!
Thank you so much. I really love this theme and this problem was the only reason I was not using it yet.
#27
Not yet. It was working fine after the upgrade to the new version.As soon as I put the zero team theme as the default one the maps go back to grey. :(
See for example here:http://autismoaba.org/map/node
Maps still work fine under garland.Added the line proposed under layout.css :
Now is working...
#28
If everybody has resolved the problem, this report can be set as fixed.
#29
-- Duplicated comment (I must be the only one who is able to submit two commits with a click of the pad) --
#30
Automatically closed -- issue fixed for 2 weeks with no activity.