Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

turf greatcircle example

var start = turf.point([-122, 48]);
var end = turf.point([-77, 39]);

var greatCircle = turf.greatCircle(start, end, {'name': 'Seattle to DC'});

Source by turfjs.org #
 
PREVIOUS NEXT
Tagged: #turf #greatcircle
ADD COMMENT
Topic
Name
5+3 =