Linked Questions

2
votes
1answer
5k views

Loading External geojson into leaflet [duplicate]

I have experience working in python but limited knowledge of Java Script. I need help loading in a external Geojson located on my computer into a leaflet map. I read that I need to use a technique ...
1
vote
1answer
250 views

mapbox geojson + leaflet + custom markers [duplicate]

In the geojson file the following can be found for a marker (coming from mapbox geojson) "marker-color":"#1087bf","marker-symbol":"monument"} I would like to find a solution so monument will be ...
23
votes
3answers
32k views

Converting GeoJSON to Python objects? [closed]

New to the site, and to geoJSON, and to python. My goal is to read in a file with geoJSON data, and use it to generate shapes to be used in an application that is using python scripting. Python ...
5
votes
1answer
8k views

Custom marker and properties from geoJSON in Leaflet

I am having some issues with two things in a Leaflet map 1) custom marker 2) pulling attributes from a geoJSON file and putting it in the pop-up. I should qualify things, I am really new to Leaflet ...
2
votes
1answer
4k views

Load external geojson file into leaflet map

Have studied How to load external GeoJSON file into Leaflet map but not getting desired result. My index.html looks like this: <!DOCTYPE html> <html> <head> <meta charset=...
0
votes
1answer
2k views

Geojson not displayed within leaflet

I made some more complex leaflets before, but here I'm stucked. You can find my geojson file here: https://gist.github.com/Supermarmotte/16e0466c9d17f4ab341b6fdb805bb849 It is displayed correctly and ...
1
vote
2answers
814 views

Load geojson files from a dropdown list

I would like to load geoJSON from a dropdown list. Everything i found was internal plugin for leaflet such as leaflet-geojson-list. I have a html dropdown list but I don't know how to link my geoJSON ...
0
votes
1answer
1k views

Leaflet L.geoJSON from a js variable geojson object not showing on map

I create a js geojson object variable in my code. I would like to then create a layer based on the geojson variable and add to the map. I have tested the geojson object (When I stringify the geojson ...
0
votes
0answers
433 views

How to add GeoJSON layer with GraphHopper?

I have a GeoJSON file containing some POI that I would like to be able to display within a separate layer with GraphHopper. But after several tries and search over internet, i can't manage to get a ...
2
votes
2answers
51 views

Loading .json files into Leaflet and filtering them [closed]

I am new to web development and Leaflet/GIS in general. I have a couple of shapefles, let's say they are roads.shp and utilities.shp. And let's say I have the means to convert these shape files into ....