Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (34 sloc) 1.7 kb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html id='docHTML'>
<head>
<title>Tabulator: Async Javascript And Semantic Web</title>
<link rel="stylesheet" href="chrome://tabulator/content/tabbedtab.css" type="text/css" />
<link rel="stylesheet" href="chrome://tabulator/content/mapView.css" type="text/css" />
<script src="js/views/mapView-ext.js" type="text/javascript"></script>
<script src="js/rdf/util.js" type="text/javascript"></script>
<script src="js/tab/util-nonlib.js" type="text/javascript"></script>
<!-- Script for Google Maps API - WARNING: Only works for dig.csail.mit.edu-originating requests -->
<script src="http://maps.google.com/maps?file=api&amp;v=2&amp;key=ABQIAAAAc5soiwASdnA8N5abQqG3pBTJK_aDg4EoIC66fat1oOogJpoOYxRCy9Ektk6AIGW_c_nGt8wZICp5zA" type="text/javascript">
</script>
</head>
<body>
<div class="viewArea" id="viewArea" style="width:100%;height:100%;">
</div>
</body>
<script type="text/javascript">
var myMapView = new mapView(document.getElementById('viewArea'));
myMapView.onActive();
function addMarker(e) {
var info = e.originalTarget;
document.documentElement.removeChild(info);
var markerData = eval(info.getAttribute('mapViewData'));
var marker = new GMarker(new GLatLng(parseFloat(markerData.lat),parseFloat(markerData.lng)));
GEvent.addListener(marker, "click", function() {
marker.openInfoWindow(info);
});
myMapView.map.addOverlay(marker);
}
document.addEventListener("TabulatorMapEvent",addMarker,false);
</script>
</html>
Jump to Line
Something went wrong with that request. Please try again.