Actual working version of plugin now in download directory
Tuesday, February 6th, 2007See my last post for confirmation.
See my last post for confirmation.
Description:
For a wordpress based project I’m working on, I wanted to include location maps that would load on my phone. This ruled out Google maps, because the API specifies that you have to load them via AJAX. Yahoo! has a Map Image API which doesn’t require javascript, allows for static maps, and even has an option to return the results as serialized PHP*.
So I grabbed the excellent Inline Google Maps plugin, tweaked it to use the Yahoo! API, and set it up to pull from custom fields instead of the image title tag.
Some of the obvious shortcomings that I will work on if possible, and if there is any interest:
I welcome comments, feature requests, etc. Please note that this is an 0.1 release, so it is quite likely to be buggy. I hope that it will be of use to someone other than just myself.
Use:
Place yahoomaps.php in your plugins directory. Activate plugin.
Add these custom fields: Address, City, and State. I use Ryhmed Code’s Custom Field GUI plugin, but this can also be done manually.
Now, your post will have a Yahoo! map at the end, if Address, City, and State have all been filled in.