/*
-*- mode: javascript; coding: utf-8 -*-
- $Id: geopost-keitairc.js,v 1.7 2010-01-26 12:25:29 ishikawa Exp $
+ $Id: geopost-keitairc.js,v 1.8 2010-04-16 13:08:36 ishikawa Exp $
Copyright (c) 2009 ISHIKAWA Mutsumi <ishikawa@hanzubon.jp>
This program is covered by the GNU General Public License 2
var keitairc_location = '';
var keitairc_map_url = '';
-addEventListener("load", function(event) {
+function append_location(event) {
navigator.geolocation.getCurrentPosition(function (position) {
var latLng = new google.maps.LatLng(position.coords.latitude,
position.coords.longitude);
}
});
});
-}, true)
+}
function location_submit(form, type) {
if (type == 'location') {
return false ;
}
}
+
+addEventListener("load", append_location, true);