Skip to content

How to debug problem reading geojson file #267

Answered by claremacrae
claremacrae asked this question in Q&A
Discussion options

You must be logged in to vote

Yeah, tested on iPad and got it working... So the error was in my coordinates in the markdown leaflet block, as I mentioned in the message above.

With this Markdown, it works fine and loads the line from the geojson posted above...

\```leaflet
id: leaflet_geojson_sample
geojson: [[leaflet_geojson_sample.json]]
height: 502px
lat: 41.8784146
long: -87.62432
minZoom: 5
maxZoom: 20
defaultZoom: 15
unit: meters
scale: 0.1
darkMode: false
verbose: true
marker: default, 41.8785146, -87.62432, [[leaflet_geojson_sample]]

So sorry for the red herring, but I spent hours on this before asking the question here, so having a way to track down errors like this would be really, really helpful. even if j…

Replies: 4 comments 13 replies

Comment options

You must be logged in to vote
11 replies
@valentine195
Comment options

@claremacrae
Comment options

@claremacrae
Comment options

@valentine195
Comment options

@claremacrae
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@valentine195
Comment options

@claremacrae
Comment options

Answer selected by claremacrae
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants