TESTER

load_geojson

load_geojson(filepath, width, height, [center], [timeout])

Load a geojson file and convert it in 'map' structure

Syntaxe

var data = load_geojson("data.gejson", width=300, height=300, center=true);

Arguments

NameRequiredDefaultDescription
filepathyes-Path to JSON file containing a dictionary
widthyes-Width of the map in pixels
heightyes-Height of the map in pixels
center--if true, the map is centered around 0,0
timeout--Network timeout in ms (optional)