Skip to content

Category: Data

Illinois Flower Farmers

I created this map with Google Fusion Tables a while ago, using info from the Association of Specialty Cut Flower Growers website.

This map doesn’t really contain any startling information. It was just my first attempt at making a geocoded map with Google Fusion, and I wanted to share it. But it turned out to be really hard to integrate it into WordPress.

After spending an hour or so trying to figure out how to embed a Google Fusion map into WordPress, I learned a whole lot about how WordPress interprets html and other types of scripts in its text editor. The problem with integrating the map was that Google Fusion gives you the embed code with the <iframe> snippet, but WordPress’s text editor doesn’t know how to interpret it. It is able to read some things but not others. And <iframe> isn’t one of them!

After more reading, I learned that I needed to create a shortcode that I would just call “iframe.” By doing this, I would force WordPress to recognize the code that came after “iframe.” For that, I needed a plugin – and for that, I needed to migrate my blog from WordPress.com to WordPress.org, which meant creating a whole new website. So, voilà, I have my own domain name. And a way to embed Google Fusion maps into WordPress.

Leave a Comment