# Applying PolylineArrowMaterialProperty to geojson

**URL:** <https://community.cesium.com/t/applying-polylinearrowmaterialproperty-to-geojson/7717>\
**Category:** CesiumJS\
**Created:** [November 22, 2018, 2:42pm UTC](https://community.cesium.com/t/applying-polylinearrowmaterialproperty-to-geojson/7717 "2018-11-22T14:42:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dag\_Wastberg](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@Dag\_Wastberg](https://community.cesium.com/u/Dag_Wastberg)\
**Post date:** [November 22, 2018, 2:42pm UTC](https://community.cesium.com/t/applying-polylinearrowmaterialproperty-to-geojson/7717/1 "2018-11-22T14:42:50Z")

</div>

I’m loading a bunch of polylines from a GeoJSON file and I’m wondering if it’s possible to directly apply the PolylineArrowMaterialProperty material to these lines.

Dag

---

<div class="post-metadata">

**Author:** ![Dag\_Wastberg](https://avatars.discourse-cdn.com/v4/letter/d/43a26b/32.png) [@Dag\_Wastberg](https://community.cesium.com/u/Dag_Wastberg)\
**Post date:** [November 23, 2018, 10:49am UTC](https://community.cesium.com/t/applying-polylinearrowmaterialproperty-to-geojson/7717/2 "2018-11-23T10:49:27Z")

</div>

I managed to solve this by directly hacking GeoJsonDataSource.js and adding an arrowMaterial boolean option to the option parameter for GeoJsonDataSource.load(). I’ll try to get a github pull request together ASAP for people to have a look at

Dag

---

<div class="post-metadata">

**Author:** ![omar](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/omar/32/1999_2.png) [@omar](https://community.cesium.com/u/omar)\
**Post date:** [November 26, 2018, 2:45pm UTC](https://community.cesium.com/t/applying-polylinearrowmaterialproperty-to-geojson/7717/3 "2018-11-26T14:45:40Z")

</div>

I see you just opened the PR here:

[https://github.com/AnalyticalGraphicsInc/cesium/pull/7283](https://github.com/AnalyticalGraphicsInc/cesium/pull/7283)

Thanks a lot Dag!
