Thanks for posting this, it has really helped a lot as I get started on a mapping project... I think I understand what you've done here, and tried to extend it a bit, but I wonder if you could help explain something.
I've changed the code to read from a geojson file with no variable defined in the file, and added a bit of code to take a variable from the URL and pop up and zoom to the associated marker. The problem is, my ID numbers for the geojson layer are off from the id numbers for the leaflet layer. I'm just getting started with this, so forgive me if i don't have all the terminology down - hopefully you can see what i mean from the attached files. Essentially, what I'd like to do is be able to open the page with 'index/html?id=4" and have it popup and zoom to item 4 from the geojson file.
Thanks in advance, if anyone has any ideas.
E