I'm sure this is a duplicate, but I can't figure of which issue.
My map has no marker on it, nor an invitation for driving directions (got from another issue).
[gmap markers=numbers::44.936619,-93.351094:<form action="http://maps.google.com/maps" method="get" target="_blank"><b>Get Directions to Holy Trinity</b><br /><span class="descriptor">Start address:</span><br /><input type="text" SIZE=40 MAXLENGTH=40 name="saddr" id="saddr" value="Street, City, State, Zip" class=descriptor onFocus="this.value=\'\';" /><br><INPUT value="Get Directions" TYPE="SUBMIT" class=descriptor><input type="hidden" name="daddr" value="44.936619, -93.351094"/></form> |align=Center |zoom=13 |center=35.2281989,-80.808466 |width=400px |height=400px |id=Holy+Trinity+Lutheran+Church |control=Large |type=Map]
.
BTW, why is there no documentation page(s) for such a useful module? [Oh, I know: I haven't written it yet.]
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | icon.js_.patch | 776 bytes | pianory |
| #10 | icon.js_.patch | 155 bytes | pianory |
Comments
Comment #1
nancydruComment #2
nancydruAny ideas? This should be such a simple thing. http://htlccharlotte.org/contact-us
Comment #3
jcmarco commentedCheck if you have configured a marker manager and you haven't installed the required javascripts for it. Select No Manager and test it.
Comment #4
nancydruI have "No manager" selected already.
Comment #5
nancydruMy customer is screaming now. Can anyone help with this, please?
Comment #6
jcmarco commentedWhy do you have this in your gmap.css?
/* IE VML Security issue fix.
* For more details, see:
* http://googlemapsapi.blogspot.com/2006/09/vml-security-issue.html
*/
v\:* {
behavior:url(#default#VML);
}
in the Firefox I get this error:
Warning: Expected ',' or '{' but found '*'. Ruleset ignored due to bad selector.
Source File: http://htlccharlotte.org/sites/all/modules/gmap/gmap.css?v
Line: 5
Comment #7
nancydruThis is what I have in the node:
Anything else is coming from the module itself. I didn't change the module from the state it was in when I downloaded it.
Comment #8
nancydruI just downloaded the latest -dev and applied update 5003 (wrong numbering, BTW). Still no marker, but that VML stuff seems to be gone.
Comment #9
bjorpe commentedSimilar issue here...
Have tried to show markers using the Gmap array. Even the example code provided with the module ($map_array2 in api.html) will not show markers (with default settings).
Tested with 5.x-1.0 and 5.x-dev
Comment #10
pianory commentedI've created a fix that works for IE6, 7 and IE8. See attached patch file to patch icon.js. Turns out (on my install, Drupal 6.16, GMap 6.x-1.0), that the icon.js file had c[0][i] undefined, and IE just didn't like how that was being checked. Hope this helps :) I have not found any side affects, though there could be some - others should test this on a development machine before putting to a production machine.
Comment #11
nancydruThanks. Could you please recreate the patch with
diff -up?Comment #12
nancydruIf I applied it right, no difference in IE7 or FF3
Comment #13
cattalk commentedI have the same problem, sometimes the markers show, sometimes they're gone. Fiddeling around with the View settings and/or the Gmap Settings in the admin fixes the problem for some time. Then the markers are gone, the places are still clickable though and the bubbles appear.
Comment #14
nancydruSe my link above. No Views at all, just a simple page - and a very angry customer.
Comment #15
pianory commentedNancyDru, resubmitting patch with diff -up command. Hope that helps ~
Comment #16
nancydruThanks. It still doesn't work. http://htlccharlotte.org/contact-us
Comment #17
pianory commentedHi Nancy,
Fun – I have done a lot of web work for various clients in Charlotte, NC.
Since the map at the prementioned link didn’t work in the latest Firefox on my Mac OR in IE6, I’d recommend just using Google’s output if it’s just one map. I did a lookup at maps.google.com, then a link to customize the map. This can be inserted into the page, not requiring the GMap module (but requiring a less restrictive filter such as 'all html' or 'php code).
http://maps.google.com/maps/empw?url=http:%2F%2Fmaps.google.com%2Fmaps%3Ff%3Dq%26source%3Ds_q%26hl%3Den%26geocode%3D%26q%3D1900%2BThe%2BPlaza,%2BCharlotte,%2BNC%26sll%3D37.0625,-95.677068%26sspn%3D23.403932,67.763672%26ie%3DUTF8%26hq%3D%26hnear%3D1900%2BThe%2BPlaza,%2BCharlotte,%2BMecklenburg,%2BNorth%2BCarolina%2B28205%26ll%3D35.228199,-80.808466%26spn%3D0.011743,0.033088%26z%3D14%26iwloc%3DA%26output%3Dembed&hl=en&gl=usThis will result in code like this:
Hope that helps!
Ryan
Comment #18
nancydruUsing the iframe gets the job done. I would rather have done this right though.
Comment #19
cattalk commentedI found that flushing the drupal cache makes the markers appear again, but this has to be done at least once a day.
Comment #20
nancydruThat's not a problem - use the Cleaner module.
However, that did not fix my problem. I cleared the cache many, many times. I have now just gone to using an iframe to keep the user from screaming at me.
Comment #21
rc2020 commentedDo we have any sort of a permanant solution on this? Location's getting a rewrite soon but this marker business needs to be settled - current dev releases has no marker system I can revert back to an older system I think but that's far from ideal.
Comment #22
cattalk commentedThanks for pointing the Cleaner Module.
Unfortunately this did not solve the prob either. One day the markers show after the cleaner module has run, the next day I have to clear the page requisites cache manually. Sometimes the marcers dissapear several times a day, sometimes they stay on for a day or so.
thx
cat
Comment #23
projekt14 commentedIs there any way to get this to work?
With this bug, the whole module isn't usable... :(
Comment #24
rooby commentedIf you are still using 3.0, try 3.1.
The only problem I had with the macro in the original post is that the contre of the map is so far away from the marker coordinates that it is off the map.
If you zoom right out you can see the marking, including the form on the pop-up. No patches should be required.
Comment #25
projekt14 commented3.1?
I'm using version 6.x-1.1, released yesterday...
Comment #26
rooby commentedSorry, I got mixed up with the location module. I meant 1.1
Comment #27
projekt14 commentedSo it seems that there is no one who as any idea, why this happens, right?
Comment #28
rooby commentedCan someone please give a more thorough bug report?
I understand the problem is that no markers are displaying.
Is this for all maps, gmap macros, gmap views?
Does it always happen or just sometime? if sometimes, when?
What versions of drupal/gmap (and location if applicable) are you using?
All I can see from the original post is that the marker isn't displaying for the macro in that post.
In #24 I gave the reason for that particular macro not working.
Comment #29
nancydruYou have my information from the OP. If the center was way off, why did the map display in the correct location, just with no marker (ever)? The patch given was of no help either.
I cannot update the new version because I have abandoned this module because of this issue.
Comment #30
rooby commentedWhen I tried your original macro the map did not display where the marker was. I don't know how it could have for anyone else.
If you look at the coordinates:
The marker is at 44.936619,-93.351094
The centre of the map is at 35.2281989,-80.808466
Very different locations. One is in Minneapolis MN and one is in Charlotte NC.
Comment #31
nancydruWell, then it is a bug in the macro code.
Comment #32
MKaiser commentedToday I installed the update from gmap-6.x-1.1-rc1 to gmap-6.x-1.1 and after this i had no more markers or polygons. When i disabled the gmap overlay module from the gmap addons the markers and polygons are displayed. On my site this may be a problem between the modules.
Comment #33
projekt14 commentedI used gmap 1.1 and a nearly clean Drupal 6.16. I tried to insert a map via this code in a module:
No markers are displayed, never.
Comment #34
kb_0 commentedSee http://drupal.org/node/478294#comment-2081456. It resolved my disappearing markers problem. -kb
Comment #35
projekt14 commentedNo, unfortunately that didn't solve the problem for me.
Via firebug I can see, that the marker image is loaded correctly... but it isn't displayed.
The markers url is http://maps.gstatic.com/intl/de_ALL/mapfiles/marker.png, so this comes from an external source... (?!)
Comment #36
projekt14 commentedI dont' know how the positions of the markers are calcuted, but in my case they are totally(!) wrong. This is how the marker is positioned:
This is of course far off the visible map area:
left: 130320px;
top: 156518px;
z-index: -23855296;
Any suggestions why this happens?
--------------------
EDIT:
Ouh, boy... I mixed long and lat in marker position. :(
Comment #37
truyenle commented+ subscribing. I have the same issue of displaying the marker. Not in User Location or Node location maps.
I use GMAP module 6.x-1.1 and Location 6.x-3.1.
Any help would be very much appreciated.
Thanks
Truyenle
Comment #38
truyenle commentedI found a post here http://groups.drupal.org/node/19614 which describe detail about how to use view + GMAP + Location module to create a map with marker nicely.
Follow these steps help to solve my case.
In case anyone interested in.
Comment #39
rooby commentedSo does anyone still have problems or are they all resolved now?
Comment #40
EvanDonovan commentedFlagging as duplicate of #923630: Markers not showing up on Gmaps no matter what: How to debug.