Project:GMap Addons
Version:5.x-1.x-dev
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Check my screenshot. Any idea what is causing this? My first thought was theme, so I tried Blue Marine instead of Garland. Same problem. Here is a screenshot. I'm using the current 1.x dev version of both GMAP and GMAP_addons modules.

AttachmentSize
gmap_cck.png3.87 KB

Comments

#1

I should mention that GMAP and location are both working as expected. Also, there are no javascript errors in Firefox. Hmm...

#2

Seems the width and height are not being inserted into the inline style attribute:

<div id="gmap-macro_map-gmap0" style="width: ; height: ;" class="gmap-control gmap-gmapgmap gmap-map gmap-macro_map-gmap"></div><script type="text/javascript">Drupal.extend({ settings: { "gmap": { "macro_map": { "width": "", "height": "", "zoom": 16, "controltype": "Small", "align": "None", "maptype": "Map", "line_colors": [ "#00cc00", "#ff0000", "#0000ff" ], "behavior": { "nodrag": 0, "nokeyboard": 1 }, "id": "macro_map", "points": [  ], "pointsOverlays": [  ], "lines": [  ], "querypath": "http://www.thecapesinoceanside.com/map/query", "longitude": "undefined", "latitude": "NaN" } } } });</script>

#3

It works, but only if I use 5--0-6 version of GMAP module instead of 1.x-dev.

#4

Category:support request» bug report

Perhaps no one is aware that this module isn't working with 1.x-dev of GMap module. It works with other stable releases.

#5

I am using it with the latest dev-snapshot of gmap.
And without width, height, latitude and longitude giving good values it cannot work.

#6

I stumbled across this while searching for the same issue. The problem in my case is that the module defaulted to a 300 by 300 map though according to the help text this needs to be clearly specified as 300px by 300px ... once the px (or % or whatever) designators are added then presto it worked as expected.

#7

Where do the designators need to be added?

#8

I had same problem driving me nuts.
Solved it today morning after peacefull night sleep.

I noticed that I had width and height parameters in field configuration page
specified without propper unit eq 300 instead of 300px or 30em.

:)

#9

Status:active» fixed

#10

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

nobody click here