Björn Blog

Web Developer in Minneapolis

Using the jQuery Store Locator with thousands of locations

A couple of months ago I assisted someone with a paid request to implement my jQuery Store Locator plugin with a database of over 50,000 locations. I hadn’t previously done this and wanted to share the solution I came up with for the benefit of anyone else who might be wondering how to proceed in the same situation. The key, of course, is to integrate with a back-end language but coming up with the appropriate ...(Read More)

jQuery Store Locator version 2.0.0 released

I’m happy to announce that a major new update to my jQuery Store Locator plugin has been released and is now available on GitHub. Version 2 is a complete rewrite based on the “basic” plugin pattern of the jQuery Boilerplate. The overall file structure has changed, several of the plugin settings have changed and all of the CSS is now prefixed to avoid potential collisions. In other words, you’re not going to be able to simply replace the ...(Read More)

jQuery Store Locator Plugin

I can’t believe it’s been over a year since I first published my Google Maps store locator JavaScript code. I’ve had several requests for an updated version and that post has definitely received more traffic than any of my others. I’ve finally created a new version of the locator using Google Maps API version 3 and this time I’ve turned it into a full-on jQuery plugin. I re-worked almost everything in the code but I ...(Read More)

The Huge Problem with Internet Explorer 9

Microsoft finally released a browser that supports some CSS3 properties. As usual they’re in catch-up mode, but IE9 still isn’t exactly on par with the rest of them. If you check the compatibility chart on you’ll see there are still some red Xs compared to the other major browsers. What’s the deal with text shadows? Anyways, it might be good enough for now but there’s one gigantic problem that, at least to me, resembles ...(Read More)

A Google Maps Store Locator in Only Javascript

* UPDATE: I’ve re-worked this code and have created a jQuery plugin based on it. Recently, I was tasked with creating a “store” locator for a local financial institution that has several branches in the Twin Cities area. The problem was that there wasn’t a chance I’d receive access to their server or database and would need to make a special request if I needed access to a server-side programming language. Because of a tight ...(Read More)

Google Maps Sort by Rating is Gone

Google, what have you done!? I’ve noticed over the past couple of weeks that the sort options on Google Maps have been removed, which makes that particular web app/service much less useful to me. I use the sorting options quite frequently to search for high rated restaurants, stores, etc. in my area. Of course, there are alternatives but Google pulls in reviews from several different sources, which make ratings somewhat more reliable. I usually have ...(Read More)

Some Pros and Cons of MODx

MODx is an up and coming PHP/MySQL content management system that’s easy to use and has plenty of nice features. The project began in 2004 as a fork of Etomite. I’ve used it for a few projects now (not extensively) and think it works great for small sites; sites with less than ~15 pages that don’t have a lot of dynamic content. I really like the direction that MODx is headed but there are certainly ...(Read More)

Why Are There Ads For Prescription Drugs?

If you have a sudden decrease or loss of vision or hearing, stop taking... not another one! I think most people are perturbed after viewing prescription drug advertisements but would be even more upset if they realized that this form of marketing is only legal in one other country.

Embryonic First Impressions

I love The Flaming Lips; well, everything they’ve done since Clouds Taste Metallic that is. With the exception of a few songs, their early stuff just doesn’t really appeal to me much. I’d describe the band’s current music as a crazy mix between Pink Floyd and Radiohead. The music definitely pays homage to the 60s and 70s, which is at this point my favorite music era – I have more favorite groups from that time ...(Read More)

The Downward Spiral of Facebook

While Facebook's user base has grown substantially over the years, I think the quality of the site has degraded just as quickly. I've had a Facebook account since the very early days and it was much better back then. I think the time is right for a more innovative social networking site and wouldn't be surprised to see another site gain in popularity within the next two years.