直接贴代码
public abstract class GoogleMapProviderBase : GMapProvider, RoutingProvider, GeocodingProvider, DirectionsProvider
{
public GoogleMapProviderBase()
{
MaxZoom = null;
RefererUrl = string.Format("http://maps.{0}/", Server);
Copyright = string.Format("©{0} Google - Map data ©{0} Tele Atlas, Imagery ©{0} TerraMetrics", DateTime.Today.Year);
}
public readonly string Server = ThisIsLegalString("zOl/KnHzebJUqs6JWROaCQ==");
这个server表示google.com,现在想修改为googleapis.com不知道如何解啊?各位请教下
比如之前请求路径是http://maps.google.com/maps/geo?q=北京市&hl=en&output=kml&key=ABQIAAAAWaQgWiEBF3lW97ifKnAczhRAzBk5Igf8Z5n2W3hNnMT0j2TikxTLtVIGU7hCLLHMAuAMt-BO5UrEWA"
现在要改成http://maps.googleapis.com/maps/api/geocode/xml?address=北京&sensor=false
如有不清楚,可在线问,本人在线等。。。