没有加入经纬度<longitude> / <latitude> 不过最土1.6里面已经有了相应的字段, 好像是 lonlat之类的.
tuan800下载 下载后改下后缀名(txt – > php)就可以了, 太晚了 懒得去改wp的允许上传类型了.
没有加入经纬度<longitude> / <latitude> 不过最土1.6里面已经有了相应的字段, 好像是 lonlat之类的.
tuan800下载 下载后改下后缀名(txt – > php)就可以了, 太晚了 懒得去改wp的允许上传类型了.
到目前还没有在API文档中体现, 不过已经在官方实例中给DirectionsRendererOptions加入了draggable属性,例子如下:
var directionDisplay;
directionsDisplay = new google.maps.DirectionsRenderer({
draggable: true,
suppressPolylines:false,markerOptions:{visible : false}
});
如果要监听路径改变,可以监听DirectionsRenderer对象的directions_changed时间, 例子如下:
google.maps.event.addListener(directionsDisplay, 'directions_changed', function() {
alert(directionsDisplay.getDirections());
});