Mapping APIs
So, I just spent far too much time fooling with the Google Maps API when I should have been doing other things. Google has the best maps on the web, but their API has one crippling feature– every API key they issue can only be used in one particular URL directory. That means I can’t get an API key for chaplin-loebell.com, I have to get one for www.chaplin-loebell.com/david — and if I do that, the maps won’t work in any other subdirectory, so permalinks, archives, etc. will no longer show the map. I ended up getting a key for one subdirectory and doing some messing around in there. Then I can include the map in my blog post using an iframe.
I looked at the Yahoo API also, but they actually pretty much insist on hosting the entire map for you– Yahoo branding and all. You can put that in an iframe also, but it seems like it would be uglier for inclusion in a blog. Sorry, Jeffrey, I think I’ll go with Brand X.
What I ultimately want to do is create a series of blog posts with geocoding– where the post is about a specific place. Then, on a seperate page of the site, I’ll display a map (or maps) showing those posts and be able to take a bit of a geographic tour… it sounds like a cool idea, anyway.
No Comments »
No comments yet.
RSS feed for comments on this post. TrackBack URI
Leave a comment
Line and paragraph breaks automatic, e-mail address never displayed, HTML allowed: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>

