Skip to content

A simple GeoJSON viewer that loads data via CORS

Notifications You must be signed in to change notification settings

dschep/geojson-viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

CORS GeoJSON Viewer

A very simple GeoJSON viewer that loads an url from the hash and renders it with leaflet. The URL of the GeoJSON file must support CORS. If it doesn't you can just proxy it through https://crossorigin.me/.

Examples:

Limitations

I whipped this up just to visualize some of my own GeoJSON API endpoints so this is super janky. Also, it requires modern browser support because I wrote ES6 out of habit and am not transpiling.

About

A simple GeoJSON viewer that loads data via CORS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages