Changeset 293

Show
Ignore:
Timestamp:
12/09/05 00:49:17 (3 years ago)
Author:
ogawa
Message:

The default 'auto-select' mode does not perform TKY2WGS conversion, because now Google Maps and Maps API natively supported WGS84 datum in Japan.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • gmaps2kml/trunk/gmaps2kml.cgi

    r289 r293  
    4242if ($ll =~ /(\-?[0-9]+(\.[0-9]+)?),(\-?[0-9]+(\.[0-9]+)?)/) { 
    4343  ($lat, $lng) = ($1, $3); 
    44   ($lat, $lng) = tky2wgs($lat, $lng) 
    45     if $mode eq 'tky' || ($mode eq 'auto' && $lat > 30 && $lat < 50 && $lng > 115 && $lng < 152); 
     44  ($lat, $lng) = tky2wgs($lat, $lng) if $mode eq 'tky'; 
    4645  print $q->header('application/vnd.google-earth.kml+xml'); 
    4746  show_kml($lat, $lng, 
     
    109108      ll.value = center.y + ',' + center.x; 
    110109    }); 
    111     map.centerAndZoom(new GPoint(139.748636, 35.655370), 1); 
     110    map.centerAndZoom(new GPoint(139.745450, 35.658586), 1); 
    112111    //]]> 
    113112    </script>