public
Description: Maps Flickr Photoset on Google Maps using JavaScript YUI
Homepage: http://cameronjones.com/flickr-maps-with-yui
Clone URL: git://github.com/mcameronjones/flickr-maps-with-yui.git
flickr-maps-with-yui / index.html
100644 24 lines (18 sloc) 0.949 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
 
<title>Postcard Map</title>
</head>
 
<body>
<!-- map element must have id="map" -->
<div id="map" style="width: 900px; height: 500px"></div>
 
<!-- use YUI libraries -->
<script type="text/javascript" src="http://yui.yahooapis.com/3.0.0pr2/build/yui/yui-debug.js"></script>
 
<!-- use Google Maps, you should change this line to use your Google Maps API key -->
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAuSKCoXMW8E_8pGDNypVCghQ__gNr9zqNNmN72YaPxRzcp8g2TBQtMfbydt76lCB-i-CfbwmF79SgaA" type="text/javascript"></script>
<!-- get everything started, requires the map element have id='map',
otherwise it won't work -->
<script type="text/javascript" src="postcardmap.js"></script>
</body>
</html>