Select to view content in your preferred language

Out application uses KML. Is there an equivalent Esri javascript api that is compatible with the Cesium flyTo call??

1801
1
02-25-2016 07:50 AM
CarloMiceli
Deactivated User

Our application uses KML. Is there an equivalent Esri javascript api that is compatible with the Cesium flyTo call??

Example

                                              
// viewer.dataSources.add(Cesium.KmlDataSource.load(kmldata))

                                              
// .then( function (dataSource) {

                                              
//   viewer.flyTo(dataSource.entities);

0 Kudos
1 Reply
JeffJacobson
Frequent Contributor

I'm not familiar with Cesium. Is your code sample just zooming to a feature?The esri/Map has various functions such as centerAt, centerAndZoom, and setExtent that can do this.

0 Kudos