Skip to Content

Plazes + XSLT + Google Maps API

It figures: after stumbling through the unofficial hack method of using Google Maps earlier in the week, today Google released a Google Maps API. It’s so much easier to implement Google Maps when you have real documentation!

So here’s take two at making Google Maps of my Plazes.

As before, I used XSLT to transform the Plazes “traces” file into a format suitable for Google Maps. There’s a new, much simpler format that’s documented here. On first blush it looks like more of the heavy lifting is left to we the API users: no more automatic pop-ups from data baked into XML. Here’s the result of my first go:

The result of the demo, which you can see live here, looks like this:

Google Maps API-created map

A click of the “Satellite” link and I get this:

Google Maps API-created satellite image

The work to be done now — and there’s the API to support this, thank goodness — is to make the Plazes clickable.

Comments

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.