Skip to content

almamigratoria-netizen/panicle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

85 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Panicle

I was staying at a brand new Hostel in Asuncion, and most of the other people coming in and out were from Argentina and didn't know where to find a supermarket, cafe, decent pizza, or bus card. I thoughit posting a QR code to a map might be helpful.

This project was inspired by Brian McBride's interesting BootLeaf project. A panicle is a leaf boot, hence the name.

Why the reboot?

  • Update it a bit. Using Leaflet version 2
  • BootLeaf used BootStrap 3. When I tried to replace that with a newer version, it quickly became obvious that it would be easier to start from scratch than to update all the bootstrap tags and classes to match the new idioms.
  • typeahead.js hasn't beeb updated in 10 years (that's forever in Internet years), so... yeah.. it's gone, too.
  • Eliminate JQuery. Because
  • Make it easier to add your own data. Well, at least it seems easier to me.

Using your data

The file panicle.json5 lets you set several options and define a set of JSON files to load. Each file becomes a map layer and gets added to the layer control. See the example data files and the README in the data directory.

You can also add geoJSON using the GeoJSON tag. I figured this would be for bus routes, but use your imagination. I'm working on another project based on this code that clusters markers in neighborhoods, and those neighborhood boundaries are geoJSON. I grabbed the bus routes and neighborhood boundaries from OpenStreetMap. It was tricky making good geoJSON out of it, so I pasted my workflow into a web page and posted it. If that's something you think might be useful, check out BusRoutes.

Some assembly required

As of September 2025, this is still a work in progress. It's useful enough to post for others, but I'm really just using github as my RCS. There's more features planned (like implementing the search functionality). A lot of the bones are done. Flesh still needs some work.

Basically this is planned as a "use this as a basis for your own" type of map, and the example menus and data are just that... examples.

Footnote

  • When I was almost done with this project, I found a somewheat newer project that also calls itself BootLeaf (like the original). It's a somewhat updated version of the original with a bunch of ArcGIS thrown in. If that interests you, you can find it at bootleaf.xyz.

License

Panicle is free software, and may be redistributed under the MIT license.

About

Quick map with bootstrap navbar and easy config

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors