Hi! Thanks for visiting my blog. If you've received any value from my content would you mind supporting my new startup by downloading our browser add-on? It's called PriceBlink and makes online shopping a breeze. You can watch it in action here and download it for Chrome, Firefox, IE, or Safari by going to PriceBlink.com. Thank you and I hope you enjoy!

Google Maps Info Window

Aug 18

I spent a little time this evening updating my Google Maps app to support clicking on a location icon. I struggled with this a few weeks ago where clicking on an icon didn’t do anything even though I had added the necessary code to display the info window. It turns out that I was missing one basic parameter:

infoWindowAnchor

This property requires a GPoint that tells it where to anchor the window in relation to the top left of the icon. So the code will ultimately look something like:

icon.infoWindowAnchor = new GPoint(5, 1);

So if you click on any of the icons on my Google Maps app then you should see a window display with the lat, lng, and date/time for that location. I’m working on adding support to display images uploaded from a mobile device or computer, which will hopefully tie into my Ruby on Rails app. Yes I’m highly optimistic I can get all this done within the next month, stay tuned!