Hi Dinesh,
If you could post a link to what you're working on it would help. This
page:
http://gis.zgroks.com/rw2.html does what you're talking about.
(I noticed you posted a test to it, btw). The saveData() function in
this working example is different from the Tutorials, and using
encodeURIComponent() instead of escape() helps if you want to use
International characters. I can share the php if you're interested,
but it's pretty similar to what's cited in the example.
function saveData() {
var name =
encodeURIComponent(document.getElementById("name").value);
var address =
encodeURIComponent(document.getElementById("address").value);
//var address =
escape(document.getElementById("address").value);
var type = document.getElementById("type").value;
var latlng = marker.getPosition();
var url = "addrow.php?name=" + name + "&address=" + address +
"&type=" + type + "&lat=" + latlng.lat() + "&lng=" + latlng.lng();
downloadUrl(url, function(data, responseCode) {
if (responseCode == 200 && data.length <= 1) {
infowindow.close();
location.reload();
}
});
} // end function saveData
On Aug 5, 1:43 pm, dineshkumar deenadayalan <
dineshg...@gmail.com>
wrote: