Hello @rlagarde,
OK, which Knowage version are you using ?
I'm curious to know, because I use 7.4.0, and I had to do some changes, in cockpitModule_mapServices.js, to be able to display geoJSON features, coming from REST data set...
also which kind of dataset are you using ?
My hack, works for geoJSON Points, LineString & Polygon., coming from a REST data set
the main reason in 7.4.0, is that the spatial attribute come in a strange format, which is not json, no quotes (") around string and "=" instead of ":"...
{"type":"Polygon","coordinates":[[[5.64209,47.18345],[5.64262,47.18389],[5.64209,47.18345]]]}
comes as :
{type=Polygon,coordinates=[[[5.64209,47.18345],[5.64262,47.18389],[5.64209,47.18345]]]}
Your answer interest me, to avoid side effects with my hack...
Thanks in advance for your kind reply