Active
Project:
GMap Module
Version:
6.x-1.0-beta6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
13 Nov 2007 at 20:32 UTC
Updated:
24 Jul 2025 at 13:18 UTC
Jump to comment: Most recent
I'm doing a test run of an upgrade from Drupal 4.7 to 5.3. Everything has gone smoothly, except that now when I try to access gmap views or map/node I get a map with no markers. There is also a popup window that says "Request for invalid marker set big/blue!" I have tried switching the markers for content types and have checked to make sure my markers were installed in the gmap module directory. Can someone please help? I have googled for this popup message and apparently no one else has experienced it (0 hits). Thanks.
Comments
Comment #1
bdragon commentedbig/blue is one of the builtin ones. Getting that message means that the iconloader was not able to fetch the compressed markertype list properly or it was missing some stuff...
Did you copy the *entire* markers/ directory? The .ini files are important, they're used during runtime to put together the marker types metadata!
Comment #2
talansk commentedHi
I have installed gmap in Drupal. I want to dispaly different destination and location on the map. They are color coded also. I like that so that one color could be for the clinics, one color could be for the pharmacies etc. and i want to focus only in U.S.A.
How can we do it. Please suggest me asap.
Regards With
Sachin Talan
Comment #3
bdragon commented@talansk:
A) Please don't hijack unrelated issues.
B) Try the new gmap_taxonomy.module from the dev snapshot.
@OP:
I'm assuming this isn't still an issue, as I never heard back.
Comment #4
shenzhuxi commentedFinally, I got it.
Gmap 5.x-1.x-dev create a file markerdata.js at yourdomain/?q=map/markerdata.js. But the module assume that the clean urls is turned on, so ref "yourdomain/map/markerdata.js".
Solution:
If your host doesn't support clean url, change gmap.module line 80 into "drupal_add_js('?q=map/markerdata.js');"
Fixed?!
Comment #5
SlavviR commentedsame syndrome :(
release GMap - Jul-15
. Drupal 5.7
clean urls - they are enclosed.
it is important? i can not find file map/markerdata.js
files are copied in directory, are not damaged.
excuse me, english I bad know.
Comment #6
Nachtwind commentedGot the same problem here, no matter which Marker has been set.
Markers are all in their corresponding folders and ini files are 'ok'.
Also i checked map/markerdata.js and it looks good to me:
// GMap marker image data.
Drupal.gmap.iconpath = "/modules/gmap/markers";
Drupal.gmap.icondata = { "/small/": { "f": [ "shadow.png", "blue.png", "red.png" ], "w": [ 22, 12 ], "h": [ 20 ], "i":....................
I should mention that i have 'niceer URLs' turned on.
Thanks in advance
Comment #7
bneel commentedFixed here : http://drupal.org/node/286663
Benjamin
But this is weird because, it appreas for some maps.
For example I created 2 identical views. One is ok, but for the second one, the error message appears. The only difference between the 2 views is that the second one have an exposed filter. But nothing change when I delete the exposed filter.
Don't understand.
The cache have been purged.
Any idear ?
Ben
Comment #8
bshaf commentedI am getting the "Request for invalid marker set" popup since I updated to gmap-5.x-1.0-beta4 (September 17), but it says small gray. There is no small gray marker in the markers folder, only a normal-sized gray. All my markers work though, that's what is wierd. It happens when I edit or create a page that has a map to choose a location. I have it set that I can place a marker on the map to get lat. and long. The map displays the default marker.png. My source code contains:
This appears right before the Current Coordinates (on a node/edit page), note the "small gray". I tried adding small gray to the small.ini file and placing a gray.png in the small folder, but it hasn't changed.
Any fixes for this?
Thank you for a very useful module.
Comment #9
bshaf commentedsubscribing
Comment #10
bdragon commentedDOH!
bshaf: I know exactly what your problem is, and it's completely my fault.
I've been running with Bevan's additional markers patch for so long that I forgot it was there and I started relying on the markers in it.
I think it's high time to merge those markers in. I will do so.
Comment #11
bneel commentedThis is a good news.
Comment #12
bdragon commentedOK, there should be new beta5 releases out there in a few minutes. These contain the new markers.
Comment #13
bshaf commentedThank you SO much, I asked for a fix and I got that plus all these great new markers! You guys are awesome!
Comment #14
bneel commentedI still have the message error. Not when I display a view, but when I go to the gmap module administration.
I cleared all cache, did an update and I downloaded the module test5 2 times.
I have some custom markers (around 20) and I completed the color.ini file to add my markers.
Any idear ?
Benjamin
Comment #15
der_tisch commentedI have the same problem in IE6, but not in FF2.
And the popup does only appear directly after I clicked the link to the page that contains the map.
When I reload the page the popup does not appear and the marker shows correctly.
I am using Drupal 6.4 and gmap-6.x-1.0-beta4.
Comment #16
der_tisch commentedNew findings:
This problem does not occur on another site - even with IE6.
The only difference is:
On the site where the error occurs drupal resides within a subdirectory like http://www.developmentserver.com/otherdomain.de/
Comment #17
der_tisch commentedbeta6 does not solve this problem for me.
The error still occurs on the site with drupal in a subdirectory. And again it does only appear directly after I clicked the menu link to the page that contains the map. When I just reload the page the popup does not appear and everything shows correctly.
If I put more than one map on the page the popup appears and the marker does not show on the first map. It is correctly positionned on the other maps. However it is not "small red" as requested but a red one with a dot in it.
Comment #18
bdragon commentedHmm, I'll go double check my base path handling then.
Comment #19
bdragon commentedAhh, IE6... Yes, I'm seeing some weirdness there.
Comment #20
bdragon commentedHmm, are you running drupal core DRUPAL-6-1 from less than 9 days ago? It seems a patch went in recently that broke the way I was putting in the markerdata.js script tag.
Comment #21
bdragon commentedWell, I went and changed the way markerdata.js gets used.
It is faster and less hacky now, and it's also easier to reset when you add your own markers.
http://drupal.org/cvs?commit=143817
http://drupal.org/cvs?commit=143821
Comment #22
bdragon commentedConsidering this to be working now.
Comment #23
Sintetika commentedI am using :
Drupal 6.13
location-6.x-3.1-rc1
gmap-6.x-1.x-dev
tried also with
gmap-6.x-1.1-rc1.tar
but got the same problem and any marker is shown on my maps.
Have try also other marker managers but marker is not showing and got same eroor when I build a Gmap macro :
Request for invalid marker set ...
Any suggestion
Thanxs in advance
Comment #24
bneel commentedSubscribe
I use RC1
Comment #25
bloke_zero commentedSome maps fine some maps give the invalid marker error rc1 drupal 6.13
Comment #26
crantok commentedI'm not 100% clear on whether this is the same problem or whether I should start a new issue.
I am creating a gmap with a single marker in my own module code.
When I do not set 'markername', everything works. The marker is shown with the default (red) icon.
When I do set 'markername' (regardless of whether the name is valid) I get the "Request for invalid marker set X" popup and no marker is shown.
The ini files mentioned earlier in this thread and the png files all seem to be present in the sites/all/modules/gmap/markers directory.
versions:
Drupal 6.14-dev
gmap 6.x-1.1-rc1 and gmap 6.x-1.x-dev (updated 9th June 2009) both give me the same problem.
I've pasted my code here in case I'm doing something less than sane and someone can tell me what it is:
Comment #27
tetty commentedany chance of someone summarising this page, has it been solved or not and if so what is the fix?
Comment #28
tetty commentedforget it, I figured it out all by my self ;D
that long since I had a problem, did not know what a CVS was
Comment #29
tetty commentedokay maybe I didn't figure it out
I'm using a very recent download and instalation so I'm guessing that the changes in CVS have already been made.
however I'm still having this problem
maybe I'm just a little lacking here and have missunderstood everthing
Comment #30
Chris CharltonI'm having this issue no matter what markername I set.
Comment #31
Roulion commentedI have the same problem with a view where my markers are depending on a node field
you can see it here
Comment #32
garbo commentedFOUND THE CULPRIT!
I had the same issue where I created custom markers and a custom .ini file. Upon loading the map I got the message "Request for invalid marker set XXX"
After lots of tries I removed the file:
www.yoursite.com.sites/default/files/js/gmap_markers.jsThen it works!
Comment #33
tetty commenteddon't set a marker manager
Comment #34
gunnermultimedia commentedSame issue... all maps on several sites went down with "request for invalid marker set small blue". Turned off Google's GMarkerManager... all is well.
Comment #35
Melissamcewen commentedYeah, I had the same experience. When I disabled clustering my markers work again, but it would be nice to use them both.
Comment #36
Anonymous (not verified) commentedHad the same problem. Solved it with regenerating the .js-file and placing a copy of it in my sites/default/misc/ folder. The problem is, that the newly generated file is not automatically copied there. I'm using the private download method.
Comment #37
afagioliTWIMC: Boost will cache that js fine in cache/perm/yoursite/sites/default/files/js/ also
Comment #38
dunx commentedWhen you add new sets via the ini file, you must regenerate the marker cache at /admin/settings/gmap. I was getting a permission problem copying a file from /tmp doing that and subsequently getting the missing marker set problem.
I had to change the perms on the /sites/default/files/js/gmap_markers.js file... although I guess deleting it would have worked just as well. Regenerated the marker cache and my new sets are now in that file.
Comment #39
rooby commentedJust doing a bit of issue queue maintenance.
Support and feature requests are not critical. For more information see http://drupal.org/node/45111
(I understand the critical status was left over from a long time ago)
Comment #40
surendra77c commentedJust enable and disable the module it will work ..
drush dis gmap
drush en gmap
no more popup will come "Request for invalid marker set big/red!"
Comment #41
kentr commentedCan this be closed? D6 is end-of-life and there are similar issues for D7:
* #2692971: Custom markers dir appears useless after update
* #2164713: Markers are gone - Request for invalid marker set error
The comments also imply that this issue is resolved as well as it can be.
Comment #42
dharmeshbarot commentedJust for note if you are using drupal 7 then go to the view where you have created view with gmap formatter on gmap formatter setting you can find the "Marker / fallback marker to use" option just change the icon option it will work!