diff --git a/Web/scripts/ts/Event.js b/Web/scripts/ts/Event.js
deleted file mode 100644
index 89d3cbf..0000000
--- a/Web/scripts/ts/Event.js
+++ /dev/null
@@ -1,32 +0,0 @@
-///
-///
-if (document.readyState === "complete") {
- initPageNew();
-}
-else {
- document.addEventListener("DOMContentLoaded", function (ev) {
- initPageNew();
- });
-}
-function initPageNew() {
- var title = document.title;
- var header = document.createElement("h1");
- header.innerText = title;
- document.body.appendChild(header);
- var description = document.createElement("p");
- description.innerText = "Welcome to " + title;
- document.body.appendChild(description);
- var mapDiv = document.createElement("div");
- mapDiv.id = "map-canvas";
- document.body.appendChild(mapDiv);
- (new MapModule.Map()).initializeMap();
- //window.addEventListener('load', function () {
- // if (document.getElementById('map')) {
- // new google.maps.Map(document.getElementById('map'), {
- // center: new google.maps.LatLng(0, 0),
- // zoom: 3
- // });
- // }
- //}, false);
- //
-}
diff --git a/Web/scripts/ts/MapModule.js b/Web/scripts/ts/MapModule.js
deleted file mode 100644
index 8360a29..0000000
--- a/Web/scripts/ts/MapModule.js
+++ /dev/null
@@ -1,50 +0,0 @@
-///
-///
-///
-var MapModule;
-(function (MapModule) {
- var Map = (function () {
- function Map() {
- this._markers = [];
- }
- Map.prototype.initializeMap = function () {
- google.maps.event.addDomListener(window, 'load', this.initializeMapInternal.bind(this));
- };
- Map.prototype.initializeMapInternal = function () {
- var internalMap = this;
- internalMap._map = new google.maps.Map(document.getElementById('map-canvas'), {
- center: new google.maps.LatLng(0, 0),
- zoom: 3
- });
- Parse.initialize("ODbBwcIu8uZ4zuJ8PGsinEtXeyUswCXL9pUnddov", "H9tKhwb9aVps6QOxRYiG8NHEpXZdHK8Qlk6W8nF5");
- var query = new Parse.Query("Node");
- console.log(internalMap);
- var result = query.find({
- success: function (results) {
- for (var i = 0; i < results.length; i++) {
- var place = results[i];
- internalMap.createMarker(place);
- }
- internalMap._map.setZoom(15);
- internalMap._map.setCenter(internalMap._markers[0].getPosition());
- },
- error: function (error) {
- // error is an instance of Parse.Error.
- }
- });
- };
- Map.prototype.createMarker = function (place) {
- var placeLoc = new google.maps.LatLng(place.attributes.Coordinates.latitude, place.attributes.Coordinates.longitude);
- var marker = new google.maps.Marker({
- map: this._map,
- position: placeLoc
- });
- this._markers.push(marker);
- google.maps.event.addListener(marker, 'click', function () {
- alert(place.name);
- });
- };
- return Map;
- })();
- MapModule.Map = Map;
-})(MapModule || (MapModule = {}));