How I Generate Maps on My Static Site With OpenLayers and Zola

✍️ 🕑 getzolaopenlayerscartographytechnical details

For a long time, I wanted this website to have a "map" feature, where you could look at a nice, dynamic scrolling map of all of the places I visited.

Well, guess what! I've had one on the site since 11/11/21. You can find a map of all posts on the map page, or individual maps of posts in each series on any series page.

At first, I wasn't sure how to get a map set up and working, and even once I got started writing the feature, I was still stuck for a fairly long time before I got it running. It's still imperfect, and my code can get cleaned up, but it's probably worth sharing for anyone else that tries to create something similar.

What follows are a bunch of code/implementation details, specifically related to my choices of the Zola static site generator and OpenLayers javascript map library.

The Many Murals of Toppenish, Washington (& An End To Many Days' Wandering)

✍️ 🕑 September 26-27, 2021 • Series: Go West, Young Lad • Tags: street artToppenishWashington StateMt. Rainier National Park • Places: Toppenish, WA The Edge of Mt. Ranier National Park

I wish I had a bit of better timing for the last day of my trip, but hey, what can I do.

Much of the "in between" from Boise to Seattle is highway, or mountain. An easily accessible hiking trail seemed off the cards, because many seemed like they were more of a detour than I was willing to take.

Meanwhile, Oregon is home to the Tamastslikt Cultural Institute -- the only Native American museum along the Oregon Trail. I wasn't super interested in going to hear any settler accounts of the Oregon trail, but this sounded like a nice stop, and a place that could be really interesting.

Image On Where-Is-Steve

But, I my drive was on a Sunday and the museum was closed. Instead, I decided to visit Toppenish, Washington, with the hope of getting some Frybread Tacos for lunch.

Image On Where-Is-Steve

To my dismay, the restaurant opened only in the mid-afternoon, and I wasn't going to hang around for hours, but the detour meant I got to check out... *erm* the many murals of Toppenish.

52 Frames (April 2022)

✍️ 🕑 April 2022 • Series: 52 Frames • Tags: flowers

This month has been a whirlwind of activity for me, and though my blogging activity has been focused quite intently on wrapping up some loose threads from last September & December, my 52 Frames activity has been anchored in the present.

It's impossible to take a photo a week without those photographs representing the time and space in which you find yourself.

So in this case, the photos take us to Pittsburgh, New York City, and back up to Skagit County, north of Seattle. Rather weird that I would have spent so many days on the least coast, but perhaps, it only makes sense that we've got at least one photo from the only city in the world that matters...

Basque-ing in Boise

✍️ 🕑 • Series: Go West, Young Lad • Tags: good eatsmuseumsBasque cultureIdaho • Places: Boise

The 25th of September was a day of highs and lows. Of petroglyphs and disappointment. Of exclamation points, croquettes, and wasting-away sofas.

You've already heard about some Celebration and Disappointment, but there are still some 3-D glasses to wear! Some games of "the six degrees of Andrew Wilkinson" to play! Some museums to visit!

So let's get into it!

Disappointment and Celebration

✍️ 🕑 • Series: Go West, Young Lad • Tags: bird photographyarcheological sitespetroglyphsIdaho • Places: Dedication Point Celebration Point

I got up early with big plans of birding in the early morning daylight, though I first stopped for a breakfast sandwich and a coffee at Mudslingers, a locally owned coffee shop in Mountain Home.

They are an establishment whose promotional emails fill me with delight to this day, even if I am unable to get their Banana Cream Pie Monthly Drink Special, even with the 25 cent off discount.

And their coffee helped fuel me, as I made my way towards the Morey Nelson Snake River Birds of Prey Nature Reserve. (Boy, that's a mouthful, isn't it.)

Surely that isn't where I'd experience the disappointment I allude to in this post's title... right?