# KmlDataSource Problem

**URL:** <https://community.cesium.com/t/kmldatasource-problem/1803>\
**Category:** CesiumJS\
**Created:** [December 26, 2014, 11:16am UTC](https://community.cesium.com/t/kmldatasource-problem/1803 "2014-12-26T11:16:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![arvyfachrully](https://avatars.discourse-cdn.com/v4/letter/a/b4bc9f/32.png) [@arvyfachrully](https://community.cesium.com/u/arvyfachrully)\
**Post date:** [December 26, 2014, 11:16am UTC](https://community.cesium.com/t/kmldatasource-problem/1803/1 "2014-12-26T11:16:42Z")

</div>

Hi...  
I was trying to add my KML data to the globe using this codes :

var kmlDataSource = new Cesium.KmlDataSource();  
kmlDataSource.loadUrl('http:\\pathToKml');  
viewer.dataSources.add(kmlDataSource);

My KML data and the globe cannot show

My fire bug detects something like this :

TypeError: Cesium.KmlDataSource is not a constructor

Do I need to get external javascript file like KmlDataSource.js?  
(I have read one topic in a google gropus forum that someone parsed his codes to the forum about KmlDataSource)  
But I haven't found it in thirdparty folder or anywhere

I use Cesium ver 1.4

Can somebody help me here please...?

Thanks very much

---

<div class="post-metadata">

**Author:** ![Matt\_Amato](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/matt_amato/32/1993_2.png) [@Matt\_Amato](https://community.cesium.com/u/Matt_Amato)\
**Post date:** [January 6, 2015, 3:55am UTC](https://community.cesium.com/t/kmldatasource-problem/1803/2 "2015-01-06T03:55:50Z")

</div>

KML support is not part of any official Cesium release yet but is being worked on in the KML branch. I plan on starting to post beta builds for people to play with soon (since so many people have been trying to build it from source). Expect a post to the forum as early as tomorrow.
