Gmap will not display lines or point markers on Google maps.

spydmobile - November 27, 2006 - 00:35
Project:GMap Module
Version:4.7.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

I have uninstalled and and reinstalled this module, it used to work great for me back in 4.6 but in 4.7.4 it is acting up. After making a macro , which displays the points and lines correctly, when I past the code into a node, and view it, the points and the lines are not displaying. If there is any further testing or troubleshooting I can do to help fix this issue, please dont hesitate to ask....
Franco Nogarin

#1

webgeer - November 27, 2006 - 04:58

It is hard to know what could have caused it without seeing a sample page.

A couple of possibilities I can think of are that something on your page is causing a javascript error. To test this I recommend using firefox and opening tools->error console and seeing what type of errors show up. (It is likely you will get a warning or two, but there shouldn't be any errors.)

Another possibility is that it is a chaching issue. Make a small change (change the last digit of one of the lat/longs or something similar) and see if when you change that node, you still have a problem. If you post or email me a link to a sample page I will look a little closer to see what I can figure out.

#2

spydmobile - November 27, 2006 - 19:33

ok, on simply loading the node that used to work, I get two errors related to gmap:

The first to occur is:
Error: Expected ',' or '{' but found '*'. Ruleset ignored due to bad selector.
Source File: http://www.externalevolution.info/modules/gmap/gmap.css
Line: 1

the next is:

Error: Clusterer is not defined
Source File: http://www.externalevolution.info/node/9
Line: 59

Franco

#3

spydmobile - November 27, 2006 - 19:43

Upon checking the gmap.css I find it is the same as in the prev version. Upon validating the css at W3C Validation site, it gives the same error:
Target: Error: Expected ',' or '{' but found '*'. Ruleset ignored due to bad selector.

I/O Error: For input string: " Expected ',' or '{' but found '*'. Ruleset ignored due to bad selector."

in reverence to the line 1 code:
v\:* {

#4

spydmobile - November 27, 2006 - 19:56

Ok, the clusterer error was because i did *NOT* have clusterer2.js installed in the gmap directory. That fixed the main problem,(I now see markers and points!) however I still get the error about the gmap.css. IS this important?

Thanks for your help and sorry for submitting a bug when it was my issue here...
Franco Nogarin

#5

webgeer - November 28, 2006 - 03:27
Status:active» fixed

No the css warning is in all the sample scripts provided by Google Maps. I think it is a trick to adapt the application of css to IE/FF differently.

#6

Anonymous - December 12, 2006 - 03:30
Status:fixed» closed
 
 

Drupal is a registered trademark of Dries Buytaert.