My Function was working Map V2 CSV output. Recently google stop CSV output.
can anybody help me to update xml or json output map v3.
MGTS.Func.GetAddress = function( oPos ){
if( typeof(oPos) != "object" || typeof(oPos.m_dbLon) != "number" ||
typeof(oPos.m_dbLat) != "number" )
{
return;
}
var strURL = "http://www.google.com/maps/geo?q=" + oPos.m_dbLat + ","
+ oPos.m_dbLon + "&output=csv&sensor=true";
var strAddress = MGTS.Lang.NoSearchAddress;
MGTS.Net.Send({
strMeth : 'get',
strURL : strURL,
SuccessFunc : function( responseText )
{
var arrData = String(responseText).split( '"' );
if( arrData.length > 1 )
{
strAddress = arrData[1];
}
}
});
return strAddress;}
Thanks sanjib
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.