Table of Contents
Chevron DownAPI Reference

Geospatial Loaders

The Geospatial category is experimental

Several geospatial formats return data in the form of lists of lng/lat encoded geometric objects.

Geospatial Category Loaders

LoaderNotes
KMLLoader
WKTLoader
MVTLoader

Data Format

Data Structure

A JavaScript object with a number of top-level array-valued fields:

FieldDescription
pointsA GeoJson FeatureCollection.
linesA GeoJson FeatureCollection.
polygonsA GeoJson FeatureCollection.
imageoverlaysUrls and bounds of bitmap overlays
documents
folders
links

GeoJSON Conversion

Geospatial category data can be converted to GeoJSON (sometimes with a loss of information). Most geospatial applications can consume geojson.