
View Your Photo Thumbnails on a Flash Map #39
Chapter 4, Mapping (on) the Web
|
175
HACK
Adding Location Tags to Radio Userland
For Radio Userland, it’s a bit of an easier ride to get to RSS2+Geo. The
Location tool (http://radio.weblogs.com/0100875/location/) uses Radio’s call-
back mechanisms to add latitude and longitude inputs to the post form and
includes those entries in the RSS file. Simply download and install the tool,
and you’re all set.
The Location tool also defines a
<%locationlink%> tag, which displays a
small globe linking to a map of the location specified. You can add it to your
itemTemplate.txt like so:
<%locationlink(<%itemNum%>)%>
Congratulations, your weblog posts are now location-enabled and ready to
be mapped, for example, with RDFMapper
[Hack #21]! See http://www.
mapbureau.com/rdfmapper/ for more on this, or the next hack “View Your
Photo Thumbnails on a Flash Map”
[Hack #39] for a related hack.
—Mikel Maron
HACK
#39
View Your Photo Thumbnails on a Flash Map Hack #39
Showing the original locations of your photos on a map is a neat trick, but
worldKit lets you go one further, by showing the image thumbnails right on
the map itself.
worldKit is a web mapping toolkit that runs in Macromedia’s ubiquitous
Flash Player. With a little bit of XML, you can configure worldKit to plot a
geotagged RSS feed on a map of your choice. We’ll look at using your favor-
ite blogging tool to record the