Hi,
I am trying the Oracle Maps 12.2.1.3 template demo incl. own local GeoJSON offline file as data uri and it works fine,
built from my Cloud ORDS.
(data uri defined in config.json of the template demo)
Now I would like to use the ORDS as GeoJSON service for it,
(change the uri in config.json::
"vectorLayers": [{
"dn": "blocks",
"uri": "https://..adb.eu-frankfurt-1.oraclecloudapps.com/ords/../v_blocks",
)
but ORDS sends me header and trailer data wrapped around the included plain GeoJSON.
Is there a way, that I can create the GeoJSON layer dynamically with my own getter function:
var geoData = getGeoJSONfromORDS(); // GeoJSON := jsonData.items[0].feature;
geojsonLayer = getVectorLayer(geoData);
map.addLayer(geojsonLayer);
.. ???
It would be great if there was a simple solution for ORDS GeoJSON and Oracle Maps.
Thanks and regards,
Friedhold