public class GeoJsonDataSource extends DataSource
Modifier | Constructor and Description |
---|---|
protected |
GeoJsonDataSource() |
Modifier and Type | Method and Description |
---|---|
static GeoJsonDataSource |
create() |
static GeoJsonDataSource |
fromUrl(String url) |
void |
load(Undocumented geoJson,
String sourceURI) |
Promise |
loadUrl(String url) |
getEntities, getName, isLoading, onChangedEvent, onErrorEvent, onLoadingEvent, update
public static final GeoJsonDataSource create()
public static final GeoJsonDataSource fromUrl(String url)
public final void load(Undocumented geoJson, String sourceURI)
geoJson
- A free-form JavaScript object which can be constructed from a parsed JSON string, for instancesourceURI
- Copyright © 2014. All rights reserved.