I have a GeoJSON file containing POIs that I'd like to be able to display within a separate GraphHopper layer. After several tries and search over internet, I just can't manage to get a way to do it.
This is a sample of the GeoJSON file (I checked the whole file with JSON validator and it was OK).
{"type": "Feature", "properties": { "fee": "no", "bicycle_parking": "anchors", "ref": "PVNAN23", "address": "Rue Gabriel Goudy 44200 Nantes", "name": "Pirmil P+R", "capacity": "24", "park_ride": "yes", "amenity": "bicycle_parking", "covered": "yes" }, "geometry": {"type": "Point", "coordinates": [-1.5406709, 47.1960031]}}, {"type": "Feature", "properties": { "bicycle_parking": "stands", "addr:postcode": "44000", "addr:country": "FR", "name": "Madeleine", "capacity": "6", "amenity": "bicycle_parking", "addr:street": "chaussée de la Madeleine", "note": "vérifié", "addr:city": "Nantes", "covered": "no", "addr:housenumber": "35" }, "geometry": {"type": "Point", "coordinates": [-1.55076671448, 47.21000114109]}}
]}
I tried what is explained in How to load external geojson file into leaflet map but I cannot get it working.