moshen / node-googlemaps

A simple way to query the Google Maps API from Node.js
MIT License
559 stars 148 forks source link

can be have to path in in a map? #128

Closed himanshuoodles closed 8 years ago

himanshuoodles commented 8 years ago

I am able to draw one path by this, if i use two path it is not showing both path plz help? var params = { //center: response.position1.latitude +" "+response.position1.longitude, center: '444 W Main St Lock Haven PA', zoom: 17, size: '500x400', maptype: 'satellite',

path: [ { color: '0x0000ff', weight: '5', points: [ '41.139817,-77.454439', '41.138621,-77.451596' ] }, { color: '0x11eeff', weight: '10', points: [ '41.139817,-77.454439', '41.138621,-77.451596' ] }

] };