我如何在Geojson.io上绘制到Dreamweaver的一行?

时间:2015-09-17 16:48:59

标签: line dreamweaver geojson

以下代码就是我正在使用的代码。从我绘制的多边形基本上修改,但线条没有显示......

// Construct the Venue Line.
theVenue = new google.maps.LineString({
  paths: outlineCoords,
  strokeColor: '#ffba20',
  strokeOpacity: 1,
  strokeWeight: 2,
  fillColor: '#ffba20',
  fillOpacity: 1
});

// ...

theVenue.setMap(map);

// outline the venue
var theVenue;

// Define the LatLng coordinates for the polygon's path.
var outlineCoords = [new google.maps.LatLng(39.9066747476479, -75.2781808376312),
new google.maps.LatLng(39.9083124955562, -75.2793931961059),
new google.maps.LatLng(39.910123025565, -75.2808094024658),

0 个答案:

没有答案