There's an awesome arts & crafts project where people cut out photos in the shape of the state they were taken in. They look super cute pinned onto a big wall map. But there's not an app that does that!

What it does

States scans your photo library and identifies which photos were taken in each state. These photos are masked in the shape of their state & drawn on a map of the US.

How I built it

The app uses GeoJSON to represent individual states. It parses a list of longitude/latitude coordinates and turns it into a polygon path. This path makes it super easy to check if a photo was taken inside the State, but it was shockingly difficult to render the polygon on screen.

What's next for States

At this point, it's nothing more than a rough prototype. The polygon rendering would need to be redone since it isn't very robust. I think it's an idea that's actually worth publishing though. I might get around to it one day.

Built With

Share this project: