[MapQuery] GeoJSON and MapQuery

Steven M. Ottens steven at minst.net
Tue Aug 9 05:16:19 EDT 2011


Hi all,

I'm trying to load a GeoJSON which is embedded in a JSON file into 
MapQuery. I can get the GeoJSON from the JSON in MapQuery with:
var geometry = jsondata.geometry;
So I have a JS-object with valid GeoJSON however MapQuery and maybe also 
OpenLayers expect an url pointing to the GeoJSON. Is there a way to load 
the JS-object directly or do I need to provide the GeoJSON via an url?

thanks,
Steven



More information about the MapQuery mailing list