Web programming

HTML example for the Simple Mapstraction tutorial

| | |

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
// As described at http://www.wholemap.com/blog/mapstraction-tutorial
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <title>Mapstraction Demo</title>
    // We'll start out using Google
    <script src="http://maps.google.com/maps?file=api&v=2&key=ABQIAA...-OUw" type="text/javascript"></script>

Simple introductory tutorial for Mapstraction

| | |

It was time to start moving my old Google Maps pages over to version 2 of the API, and I thought I'd consider using another mapping solution (maybe Yahoo Maps or Microsoft). But then fate intervened and I happened to listen to a podcast from the Where 2.0 conference by Steve Coast. He talked about Open Street Map and more importantly to me, Mapstraction.

From their homepage

    Mapstraction is a library which provides a common API for Google, Yahoo! and Microsoft's javascript mapping APIs to enable switching from one to another as smoothly as possible.
Syndicate content