Download & Extend

Request for invalid marker set [marker name]!

Project:GMap Module
Version:6.x-1.1-rc1
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:postponed (maintainer needs more info)

Issue Summary

I've installed GMap v6.x-1.0-beta5 and enabled clustering, but keep getting this message no matter what marker I choose.

I don't think this is a duplicate of other issues...
Any help would be much appreciated!

Comments

#1

Can someone please help with this, I'm still getting the error on every page with a Google Map...

#2

Status:active» postponed (maintainer needs more info)

Could you try the dev snapshot? I made some changes to the marker system yesterday that may fix this issue.

#3

I updated to the latest dev version (Oct-02) and tried again, but it still comes up with the error.
I saw that 'Regenerate' button you added and tried that too, but no change...

#4

I'm guessing it's this: #316809: Iconsready event fires even when there aren't any icons -- clusterer breaks.

I was accidentally firing the 'iconsready' event even when there weren't actually any available, and clusterer was loading its cluster marker assuming it would be able to be found.

#5

Does RC2 fix any remaining issues?

#6

Will give it a try.

#7

Version:6.x-1.0-beta5» 6.x-1.0-rc2

I upgraded to RC2 and haven't had that problem anymore...
Seems to have done the trick!

#8

Status:postponed (maintainer needs more info)» fixed

#9

Version:6.x-1.0-rc2» 5.x-1.0-rc2
Component:Miscellaneous» User interface

hi there,

same problem occurs with version 5.
i did many tries, it seems like at some point drupal version and gmap version didn't work good together. for me 5.x-1.0-rc2 doesn't work with drupal 5.12, but this gmap version works good on another my website running on 5.7.
but i'm developing a new website based on drupal 5 and i'l like to use latest versions available of drupal and all modules.
any hints? am i doing a mistake?

thank you for the great job

nogat

#10

Version:5.x-1.0-rc2» 6.x-1.0-rc2

hi

I receive "Request for invalid marker set ..." any time I click on the map.

I have updated to 6.x-1.0-rc2 but this doesn't fix.

My drupal installation is in a subfolder lik www.mysite.com/web

any tips?

thx in advance

jjletho

#11

Status:fixed» active

I'v got the same problem.

Maybe I have to copy the markers map to some other place to give the Jscript access to these icons?

Anny suggestions?

Thanks in advance.

Wim

#12

I am using Drupal 5.12, and my Gmap seems to be working properly, but it is still a little unstable. The error I was receiving was when I turned on Google's GMarkerManager, the error was for a gray marker though. I had to use no marker manager, which seems to play fine with everything else.

#13

Version:6.x-1.0-rc2» 6.x-1.0

My problem is that I have a clean installation of Drupal 6.9, with only gmap and location modules enabled. Everytime I modify the default theme setting the map marker will disappear. Then come out the error message "Request for invalid marker set [marker name]!" in the "Build a GMap macro".

If I left everything untouch for the theme, the gmap and gmap marker works properly.

#14

has anyone found a work around? I am getting this error even with dev snapshot.

#15

Also having this problem. I'm on Drupal 6.10 with GMap 6.x-1.1-rc1. (I've tried the dev version as well without any perceptible change.) It's set not to use any marker manager.

Maps without markers work flawlessly. The Build a Macro works fine unless I try to add markers - any attempt to click on the map to add one, regardless of Overlay Editor settings, pops up 'Request for invalid marker set !' It does this only once - any further clicking on the map produces no response at all until the page is reloaded. Since adding marker code by hand also doesn't work, I'm guessing there's something wrong with its ability to find the marker image files.

Lines, circles, and filled polygons all sort of work - they don't have any visibility problems as coordinates in a map macro, but the editor is very glitchy. I've gotten it to set polygons just once (and haven't figured out how I did it). Normally it just does nothing when I swap to the poly/circle tool and attempt to click things onto the map.

Lines more commonly work on a page reload, but frequently it protests the invalid marker set even when not on the Points tool, then stops working entirely. It doesn't work at all if reloaded while on Lines. It has to be set to a different tool, reloaded, then set to Lines in order to function. (Swapping to any other tool after setting a line renders the whole thing nonfunctional.)

I'd love to have a well-working marker-macro-creating tool. Is there anything more functional out there, or possibly a JS fix that I'm missing? This seems to me (at a somewhat uneducated guess) to be some kind of JS loading glitch.

#16

i tried changing marker manager on the settings. if i select no manager I can set the marker on the form and will get the invalid marker error. If I select the other marker manager I can't set the marker on form but does not get the error, still no marker on the map.

#17

I 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

#18

Version:6.x-1.0» 6.x-1.1-rc1

Seems like there is a mapping of markers set name => icon that is bugging.
Workaround using 6.x-1.1-rc1:
In icon.js around line 42:
change

if (!Drupal.gmap.icons[setname]) {
  alert('Request for invalid marker set ' + setname + '!');
}

to:
if (!Drupal.gmap.icons[setname]) {
      return G_DEFAULT_ICON;
      //alert('Request for invalid marker set ' + setname + '!');
}

#19

work for map/macro but not when you add it to node :(

#20

setname is case sensitive, have a try!

#21

I am using D6.16, private download and GMap v1.0.
I found a solution (not THE solution). The ..../gmap_markers.js is not added to the header. After I inserted a copy of line 120 in gmap.module (drupal_add_js("$markerpath/gmap_markers.js", 'module', 'header', FALSE, TRUE, FALSE);) into line 123, the markers are set in the map to display.

I hope this is the start of the real solution.

Thanks for this module, I use it in a lot of sites.

#22

As of now I no longer have this bug - everything is working. GMap module is the same release, but Drupal has been updated to 6.16, so possibly it was some kind of peculiarity in core or the jQuery version.

#23

My comment #21 did only work for a couple of days.
I found a workaround by only using a marker of the main markers map (so not in small, flat or big).

#24

I have solved the same problem, by updateing "sites/default/files/js/gmap_markers.js".
It was not clear, what the problem exactly was. The was noch access to the file via FTP upload.
So i had to rename the "js" directory (for example to js_xxx) and recreate a new directory "js".
Perhaps the module had no access to update marker in the file.

#25

thank for good solve this trouble

I create sites/default/files/js/gmap_markers.js and edit path settings in gmail module /admin/settings/gmap "Path to gmap_markers.js: "

and all working!

#26

TWIMC: Boost will cache that js fine in cache/perm/yoursite/sites/default/files/js/ also

#27

When I received this error, the problem was when I updated the gmap module. The previous developer had stored some custom icon .png files and an .ini file in sites/all/modules/gmap/markers.

When I updated I deleted the folder then reinstalled from scratch. Then the map was looking for the .ini file and couldn't find it. Maybe this will help someone in a similar situation.

Cheers,

James

#28

Status:active» postponed (maintainer needs more info)

It seems people have been finding solutions to their problems.

Is there still a bug here with the latest version?

#29

Post #27 helped me out!