diff --git a/_posts/2014-03-23-buffered-polyline.md b/_posts/2014-03-23-buffered-polyline.md index 00eb59b..a1cad10 100644 --- a/_posts/2014-03-23-buffered-polyline.md +++ b/_posts/2014-03-23-buffered-polyline.md @@ -12,9 +12,9 @@ comments: true share: true --- -At work, we needed a simple way to buffer a polyline in order to search for stuff along the route from A to B. I'll explain how we used Google's Map API and [JSTS](https://github.com/bjornharrtell/jsts) in order to achieve this easily. +At work, we needed a simple way to buffer a polyline in order to search for stuff along the route from A to B. I'll explain how we used Google's Maps API and [JSTS](https://github.com/bjornharrtell/jsts) in order to achieve this easily. -The first thing we had to do, was to "transform" each element in the overview_path (which the `DirectionsService` returns) to GeoJSON, because that's what JSTS understands. +The first thing we had to do, was to "transform" each element in the `overview_path` (which the `DirectionsService` returns) to GeoJSON, because that's what JSTS understands. {% highlight javascript linenos %} var overviewPath = response.routes[0].overview_path,