# Modest Maps JS

zoom in | zoom out
pan left | pan right | pan down | pan up

The above div is a map initialized like so:

    // "import" the namespace
    var MM = com.modestmaps;

    // please use your own API key, see http://developers.cloudmade.com/ for more details
    var provider = new MM.CloudMadeProvider('1a914755a77758e49e19a26e799268b7','998');

    map = new MM.Map('map', provider, new MM.Point(640,480))

    map.setCenterZoom(new MM.Location(37.804656, -122.263606), 14);

Hands up who wants overlays?