Changeset 740


Ignore:
Timestamp:
Mar 5, 2006, 9:24:21 PM (16 years ago)
Author:
Dominic Hargreaves
Message:

Fix Google Maps dms bug, fixes #75.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/templates/map_index.tt

    r739 r740  
    1313    [% i = i + 1 %]
    1414    [% IF metadata.latitude.list.first AND metadata.longitude.list.first %]
     15      [% NEXT IF metadata.latitude.list.first.match('m') %]
     16      [% NEXT IF metadata.longitude.list.first.match('m') %]
    1517      <li><a href='#' onclick="marker[% i %].openInfoWindowHtml(htmlString[% i %]); return false;">[% node.name %]</a>[% IF metadata.city.list.first %], [% metadata.city.list.first %][% END %]</li>
    1618    [% END %]
     
    3436        [% metadata = node.node_data.metadata %]
    3537        [% IF metadata.latitude.list.first AND metadata.longitude.list.first %]
     38        [% NEXT IF metadata.latitude.list.first.match('m') %]
     39        [% NEXT IF metadata.longitude.list.first.match('m') %]
    3640          var point[% i %] = new GPoint([% metadata.longitude.list.first %], [% metadata.latitude.list.first %]);
    3741          var marker[% i %] = new GMarker(point[% i %],baseIcon);
Note: See TracChangeset for help on using the changeset viewer.