Rough Trade Poster
Print Club and Tuckshop teamed up to produce a couple of posters for the Rough Trade East store off Brick Lane.
<iframe src=”http://mapmaker.donkeymagic.co.uk/map/28038
” width=”800px” height=”500px” id=”map” frameborder=”0″>
</iframe>
<!DOCTYPE html>
<html>
<head>
<meta charset=”UTF-8″>
<title>Simple Google Map</title>
<script src=”https://maps.googleapis.com/maps/api/js?key={YOUR_GOOGLE_API_KEY}&sensor=true”></script>
<script type=”text/javascript”>
// Google Map Maker script v.4
// (c) 2014 Richard Stephenson
// http://mapmaker.donkeymagic.co.uk
var map
openInfowindow = null
newPoints = [];
function initialize () {
var mapOptions = {
center: new google.maps.LatLng(51.551385520919546, -0.07467806339263916),
zoom: 16,
mapTypeId: google.maps.MapTypeId.ROADMAP,
streetViewControl: false
};
map = new google.maps.Map(document.getElementById(‘map_canvas’), mapOptions);
addPoints();
}
function addPoints () {
newPoints[0] = [51.55243690949023, -0.07438302040100098, ‘Print Club London’, ‘Print Club London’];
newPoints[1] = [51.55330415335692, -0.07464051246643066, ‘Beond retro’, ‘Beond retro’];
newPoints[2] = [51.549100312525354, -0.0793254377640551, ‘Tina we sulute you ‘, ‘Tina we sulute you (cafe)’];
for (var i = 0; i < newPoints.length; i++) {
var position = new google.maps.LatLng(newPoints[i][0], newPoints[i][1]);
var marker = new google.maps.Marker({
position: position,
map: map
});
createMarker(marker, i);
}
}
function createMarker (marker, i) {
var infowindow = new google.maps.InfoWindow({
content: ‘<div class=”popup”>’ + newPoints[i][3] + ‘</div>’,
});
google.maps.event.addListener(marker, ‘click’, function () {
if (openInfowindow) {
openInfowindow.close();
}
infowindow.open(marker.getMap(‘map_canvas’), marker);
openInfowindow = infowindow;
});
}
google.maps.event.addDomListener(window, ‘load’, initialize);
</script>
<style>
* {
margin: 0;
padding: 0;
}
div.popup {
font-size: 14px;
margin: 0;
width: 270px;
}
div.popup p {
background-color: #FFF;
color: #333;
font-size: 12px;
line-height: 15px;
}
div.popup p a {
color: #1122CC;
}
</style>
</head>
<body>
<div id=”map_canvas” style=”width:800px; height:500px”></div>
</body>
</html>