Drupal 5.3 using Gmap 5.x-1.x-dev (Nov 10)
php 5.2 on local server php 4.4.4 on remote server
Using gmap-views. Same for map/node. Maps show markers (simple red or blue marker) in Firefox, IE7, Konqueror but on IE6 there are no markers and the where the navigation should be is only a white background (tool tips are displayed and navigation links are clickable). When viewed in IE6 the map on your demo page donnavanseg@yahoo.ca exhibits the same behavior. Unfortunately almost 50% of the visitors to the site I am designing for use IE6. Everything displays correctly in other browsers.
Comments
Comment #1
Mike Sances commentedsubscribing
Comment #2
heronog commentedI can confirm this, I have a gmap/location.module view that works in every browser except IE6.
I can see the javascript code that defines the marker in the map, and I can see the map perfectly, even zoom and pan work as expected, but the marker is not shown. Also when switching themes (I am using Zen for testing the site) the markers don´t show as configured in the settings page, instead it shows the usual google maps pink marker.
I am guessing this has to do with CSS, but i don´t really know as I don´t know how the markers presentation is defined, but I guess it would be worth a look.
Node locations AND the macro in the nodes are showing up correctly. It´s just in the view that it´s not working.
Comment #3
benjamenjohnson commentedI can confirm the problem is at least as old as Oct-22nd.
I'm running the Oct 22nd version and the markers are displaying in some visitor's IE6 but not in others who are also running IE6 (I can't duplicate the problem running IE6 under a W2K virtual machine either).
I'm not running location and my map is in a page content type.
Comment #4
dries arnoldsAdding this to your html tag in your template helped for me, at least partially:
xmlns:v="urn:schemas-microsoft-com:vml"The only thing not working in IE are the numbered markers. The first marker ("0") appears but after that everything stops, even regular markers on other maps below the first don't appear anymore.
Comment #5
natukSame problem over here, adding the xmlns:v declaration did not make any difference though.
Comment #6
benjamenjohnson commentedTo add more information: I've narrowed it down to IE6 SP2 (which is only available in Windows XP) The real stinker is that I can't always get it to fail. Under Microsoft's VPC IE6 doesn't have any problems (yes it's SP2), another computer with the named browser OS combo has the problem and yet another with the same OS browser combo doesn't.
I've lowered all permisions and security settings to the lowest setting and turned off the firewall and AV software.
I've tried adding the xmlns:v declaration also and that doesn't seem to make any difference.
Comment #7
najibx commentedHmm ... in my case, I DO have the marker but NOT the map. In other browser works fine. Here's the URL http://www.successideaweb.com/en/where-are-we-located-googlemap.
I do have
However, it does show properly, once I click on zoom icon.
Comment #8
najibx commentedOK now. Hmm ... it seems to be a conflict with my CSS PNGfix. So, I use Javascript to fix my PNG images, and get GMAP working.
Another issues ...the alignment is not proper now :-)
Comment #9
bdragon commentedI'm pretty sure my shadow fix would have fixed this too...
Please try again with alpha1 or the latest snapshot.
Comment #10
pkej commentedI'm using the alpha1 and I have the same issues as #4 in this thread. The numbered markers in a feed only shows marker 0, I verified in other browsers on a Mac that it works correctly there. I can't check other versions of IE or browsers running on Windows, as I don't have permission to install other browsers at work. You can see the effect at: http://samipath.kulturarkitektene.no/node/3
The version of the IE6 is sp2 XP Pro. (Version. 6.0.2900.2180.xpsp_sp2_gdr.070227-2254CO).
[gmap zoom=8 |center=69.31249912982253,25.44708251953125 |width=700px |height=360px |control=Small |type=Hybrid|feed=numbers::/taxonomy/term/3,5/0/feed |feed=green::/taxonomy/term/2,5/0/feed |feed=big red::/taxonomy/term/4,5/0/feed ] is the macro I'm using.
Comment #11
eggthing commentedYup. I'm having problems with the exact same verison as well. it's a shame. A lot of people still use this browser cuz Vista was so unstable.
Comment #12
sockah commentedI'm having this problem in IE7. Firefox is working fine for me though. Is there a fix for this?
Comment #13
milosh commentedI can confirm it from two different computers. One computer runs WinXP SP2 IE 6.0 and another runs WinXP SP2 IE 7.0.
The description of the problem is:
- Gmap view does not center from default location to correct location, where the markers should appear;
- There is only one (first) marker loaded in the map (user should zoom out and move to correct location by hand)
- The marker pop-up does not appear, when clicking in the marker.
Two further observations:
1. I noticed also that maps.google.com cookie is rejected by IE on both cases. Allowing all cookies from google.com does not solve the problem however.
2. All markers are loaded when one browses to map/node. The pop-up's are still not available.
Firefox and Opera are working fine.
Comment #14
sunnydeveloper commentedsubscribing
Comment #15
Aldus commentedI have 4 markers on my map. IE only see ONE marker and doesn't let me open the tooltip when I click it.
Firefox & Opera working normally.
No javascript errors...
What's going on?
Here is my header:
Comment #16
loopy29 commentedSame problem here:
No markers in IE6, also choosing to view both sattelite and map view (the third choice) only shows the satelite view, which I believe is the bottom layer - so I imagine IE6 just has a problem showing multiple layers on the map. Probably the reason the markers are not showing.
I anyone proficient enough to take a look at this? a lot of people still use IE 6 and will continue to do so.
working fine in IE7 and firefox 2.0.0.12 BTW
Comment #17
alexpottI was getting a crash in IE6 as well. But I have managed to fix it. So maybe my fix will work.
I made two changes:
In the gmap_location.module file I fixed the gmap_location_block_view function to use the marker you've actually selected in the admin screens. Change this line:
...to...
Then I noticed the Drupal marker crashed IE but the red marker did not. So if you edit misc.ini inside the markers folder you can fix this. Remove the shadow setting from the [defaults] section. So it becomes:
Now my markers are in the correct place in IE and there's no javascript error.
Comment #18
loopy29 commentedWell, my gmap_location.module already contains the code you mention (gmap version 5.x-1.x-dev) and on top of that I am using the macro function to create my maps, so I do not think the gmap_location module is used. I changed from my own custom logo to the red marker but that did not help. The shadow setting in the markers folder was already commented out. I removed it completely but that did not fix anything.
Can you use the gmap location module to add a map to each single node (that node would have the location information filled in of course. If this is a quick fix that would do.
Any more ideas anyone. Are there many people that do NOT get marker problems in IE6?
BTW, you can look at the problem here
http://www.philex.be/node/24 (you also see the controls of the map are not showing and the view type buttons (map, sattelite, ...) are not drawing as they should. What might be the problem? All shows up fine in IE7 and Firefox
The w3c validator tells me this, but I doubt it is the cause of the troubles:
----------------------------
Line 103, Column 156: document type does not allow element "div" here; missing one of "object", "ins", "del", "map", "button" start-tag.
…ol gmap-gmapgmap gmap-map gmap--gmap"> The mentioned element is not allowed to appear in the context in which you've placed it; the other mentioned elements are the only ones that are both allowed there and can contain the element mentioned. This might mean that you need a containing element, or possibly that you've forgotten to close a previous element. ----------------------------
Comment #19
loopy29 commentedUpdate:
I have removed my custom icon from the icons folder which (as you would expect) creates an error message in firefox. That message is not even appearing in IE6, so perhaps they are not even loaded - an error in the script before the loading stage perhaps?
Anyone with good debugging skills?
Comment #20
charlied commentedHi. NOW WORKS and shows default drupal markers but only when loaded todays dev version Last updated: March 12, 2008 - 00:07 - appears this problem now fixed for me.
Previously it didnt work for IE 7.0.5730.11 or IE 6.0.290.2180 but did on Firefox 1.0.6 and 1.5.0.4. On IE viewing map/node only one marker was shown. Running Drupal 5.6 on Windows. Now works on all 4 browser combinations.
Many thanks for a great module and the help above.
Comment #21
milosh commentedI can confirm that the latest development snapshot works.
The key seems indeed to be in the shadows as IE as always had problems with png alpha opacity...
So if you don't want to use development version, just try to comment out all
shadow=""lines in *.ini files at markers directory.so
shadow=""becomes
;shadow=""Comment #22
bdragon commentedI FINALLY figured out the source of the bug.
I had changed the format of shadow to allow for width and height, and I forgot to change the default in the expander to match...
http://drupal.org/cvs?commit=116982
Comment #23
dgtlmoon commentedany eta on the next release ?
Comment #24
bdragon commentedWell, beta1 is out now.
Comment #25
bdragon commented(renaming so I can find it easier.)
Comment #26
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.