Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I'm testing your theme.
Unfortunately when I activate it I obtain a grey map in gmap.
The same map is working with bartik or other themes I'm testing.
Comments
Comment #1
Jeff Burnz CreditAttribution: Jeff Burnz commentedwhat do you mean a "gray map", whats your setup - I mean how are you showing the map?
Comment #2
itamair CreditAttribution: itamair commentedSubscribe!!!
Actually I have the exact same issue, with corolla theme & gmap+location modules configuration ... and just posted the same (and more detailed) issue here (Corolla theme issues): http://drupal.org/node/1298450,
with some image attachment.
To go further to the yet given details, it seems to me a problem on gmap rendering, probably related with zooming level ... (may be too in). Don't know.
Somewhere I read that gmap module works on css class (drupal standard), and may be adaptive change them too much. Or might this be due to the inc/template.helpers.inc file settings?
I am testing this on Mac Os X browsers (on local web server) ...
Would this missworking probaly extend to other browsers and supports (windows, ipad, iphone, ecc.)?
Thanks for any help!
Comment #3
Jeff Burnz CreditAttribution: Jeff Burnz commentedI am wondering if it has anything to do with this bug, which is fixed in the dev version: #1292710: Misuse of semicolons in meta viewport
Could you try with with fix: edit html.tpl.php in the base theme and replace the meta viewport tag with this:
Comment #4
nmcclain CreditAttribution: nmcclain commentedHi Jeff - thanks for your 473 commits to this awesome theme!!
I'm having the same problem described above in FF - the entire map area is completely gray as shown in the FF screenshot that @itamair posted here: http://drupal.org/node/1298450
I am *also* experiencing messed-up map info windows as shows in this screenshot that was posted to this issue: http://drupal.org/node/1290808
This problem occurs w/only AdaptiveTheme enabled, also w/Sky enabled. I tried the viewport fix (and also installed the 7.x-2.x-dev version of AT), same problem.
But the GOOD NEWS is I was able to track it down to a specific piece of CSS (line 30-34 in css/at.base.css):
When I commented that out, my gmaps were suddenly beautiful - both in FF and Chrome! As a side-effect, I had to apply that style my logo: div#branding div#logo img { max-width: 100%; }
I'm not attaching a patch because I'm hoping you'll have some ideas about the implications of just removing this CSS (breaks images for all mobile devices perhaps?). But for someone who's currently stuck, this is an easy temporary fix. Note that if you're using a subtheme, you will probably have to edit the CSS there too. I'm using Sky, and I had to remove the same CSS from the sky/css/html-elements.css file.
Comment #5
Jeff Burnz CreditAttribution: Jeff Burnz commented@nmcclain - wow, you just saved me a tonne of time! I'm going to work on this today as I really want to get a new version of these sub-themes out as each of them as a bunch of small fixes like this, its been quite a challenge building 3 new themes at once and getting these bugs out relies heavily on bug reports and posts such as yours, very helpful indeed.
Comment #6
Jeff Burnz CreditAttribution: Jeff Burnz commentedThis is the fix I am likely to go with, I just need to check a few things first, the selector may change but the CSS is what we'll use:
Comment #7
itamair CreditAttribution: itamair commentedAmazing !!! It works with the Gmap module now ...
But I tested Adaptive with the nice Getlocation Module too (http://drupal.org/project/getlocations), that is fixed with the same technique.
So the overall fix for both Gmap and Getlocations modules seems to be:
/* Override max-width 100% for Gmaps & Getlocations*/
.gmap img, #getlocations_map_canvas img {
max-width: none;
}
... as for me it works on oth modules.
Comment #8
itamair CreditAttribution: itamair commentedJust to let you know I posted an issue regarding some other renderings prolems with the Getlocations module, here: http://drupal.org/node/1298892
But may be all that is not related to the adaptive theme, and mainly to the Getlocations module itself ...
Comment #9
Jeff Burnz CreditAttribution: Jeff Burnz commented@ itamair do you have this online somewhere I could look at it?
Comment #10
itamair CreditAttribution: itamair commentedHi jeff,
for instance you can have a look to this page: http://inuedizionicommerce.italomairo.com/node/234
Keep in mind that is a site in heavy development, with some memory allocation problems from the server.
I still cannot fire the infowindow open event on the marker.
It's a Getlocation map and there is this issue open on it: http://drupal.org/node/1298892
Don't know if this depends on adaptive or not. Seems to behave the same also with the garland theme ...
tx!
Comment #11
Jeff Burnz CreditAttribution: Jeff Burnz commentedI can't see the infowidow in the markup, I haven't used google maps for a long time but when I last did you could locate the popup infowindow in the markup and actually style it etc, I can't see it, so maybe that is the issue?
Comment #12
itamair CreditAttribution: itamair commentedmmmhhh ... should be. So, means the getlocation mantainer should/would/will fix this ;-)
Comment #13
dimon00 CreditAttribution: dimon00 commentedThe fix suggested in post #7 works for me too.
Thank you.
Comment #14
Jeff Burnz CreditAttribution: Jeff Burnz commentedFor now I will mark this as fixed, I have added the fix from #7 to the base theme, and to each of our styled subthemes. Pixture Reloaded has already been updated, and the other will come later today (new releases).
Comment #15
MichaelP CreditAttribution: MichaelP commentedThis is also an issue for openlayers
seems to do the trick.
Thanks for the great work.
Comment #16
Jeff Burnz CreditAttribution: Jeff Burnz commentedOK, will add to the theme, thanks a lot for the report.
Comment #17
Jeff Burnz CreditAttribution: Jeff Burnz commentedOK, I pushed the fix to GIT (7.x-2.x), and updated our known issues page: http://adaptivethemes.com/documentation/known-issues
The complex fix committed is:
Comment #19
ju CreditAttribution: ju commentedHi, Jeff
It would be nice if you also add 'YMaps' class for Yandex maps,
Comment #20
david.riches CreditAttribution: david.riches commentedMine breaks in omega html5.
Thanks guys!
Comment #21
qwertmax CreditAttribution: qwertmax commentedit also is in Zen theme.
css/normalize.css
but I'm not sure will it works for responsive theme.
Comment #22
harryma CreditAttribution: harryma commented@ JeffBurnz
Thanks for the snippet! this saved me.. much appreciated.
Comment #23
IKE0088 CreditAttribution: IKE0088 commentedI am seeing similar things with jquery mobile theme. Has anyone else seen any issues with jquery mobile?