Hello!

I have a problem with the Trackfield module: Newly created nodes with trackfield information in them do not show a trackfield map. Instead the message "Javascript is required to view this map." appears. The trackfield graph and statistics work by the way. The problem is only with the map.

There are no other problems with GMAP maps on my website. All maps do show up: the ones created with the location module and the ones of older nodes with trackfield information.

Comparing the sourcecode of an older node with a working trackfield map and a newer node with a missing map (both of the same node type), I found the following differences:

  • The new one with the non-working map is missing
    <script src="http://maps.google.com/maps?file=api&amp;v=2.115&amp;key=[mykey]-lKbkubhBM9A1D9t6_7EBRQXIWhyEAnP0qsY-b-XCXUArunRw&amp;hl=de" type="text/javascript"></script>
    in the head area
  • The new one with the non-working map is missing
    <script type="text/javascript">
    /* <![CDATA[ */
    Drupal.extend({ settings: { "gmap": { "trackfield_map_28245": { "width": "480px", "height": "360px", "zoom": 9, "maxzoom": "14", "controltype": "Small", "align": "None", "maptype": […]

    in the body area

Any idea what could be the reason for this problem? Is this a trackfield or a gmap problem?

System Information:
Drupal 5.18
Trackfield 5.x-0.5
GMAP 5.x-1.0

Comments

raintonr’s picture

Hmmm... one of my working installations is:

Drupal 5.18
Trackfield Map 5.x-0.1-dev
GMAP 5.x-1.0-beta1

There is quiet a list of changes for GMAP from the beta to official 1.0. Let me have a look and see if trackfield_map needs some updates to work with this.

raintonr’s picture

I updated gmap on test site and this works just fine.

0.5 is rather old though, and there is no 5.x dev release so have made a 1.0 for D5. Could you give this a try when it appears (http://drupal.org/node/497094) and see if the problem persists.

MJH’s picture

Status: Active » Fixed

Ok, I have updated to 1.0 and everything works again. Thanks!

Status: Fixed » Closed (fixed)

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