Find in maps

abandoned house

I’m starting to look for my next apartment, and I’m sick of doing the copy+paste dance to find out where craigslist postings are actually located. I wanted to be able to highlight an address on the page, hit a shortcut, and be taken to a map of that location.

After a quick google search, I couldn’t find any bookmarklets with the behavior I wanted. As a result, I took a few minute to write my own. The following is a simple bookmarklet that queries for the selected text using google maps. If nothing is highlighted, you will be prompted to enter an address.

Drag the following to your bookmarks bar:
Find in maps

You can take a look at the source code for the bookmarklet on github.

3 thoughts on “Find in maps”

  1. Just updated the script a tiny bit. Execution of the script will stop now if no address is entered in the prompt.

    So, if you haven’t selected anything and you accidentally run the bookmarklet, you can back out by not entering anything in the prompt box.

Comments are closed.