Separated configuration to config.js.

This commit is contained in:
FrozenCow 2010-12-27 11:58:57 +01:00
parent c2d8df8e94
commit cbed5c3a01
3 changed files with 14 additions and 14 deletions

View file

@ -1,14 +1,3 @@
var setup = {
tileUrl: 'http://www.yourdomain.com/minecraft/tiles/',
updateUrl: 'http://www.yourdomain.com/minecraft/up/', // Or if using ASP.NET: http://www.yourdomain.com/minecraft/up/default.aspx?lasttimestamp=
updateRate: 2000, //Seconds the map should poll for updates. (Seconds) * 1000. The default is 2000 (every 2 seconds).
showPortraitsOnMap: true,
showPortraitsInPlayerList: true,
showPlayerNameOnMap: false
};
/* THERE SHOULD BE NO NEED FOR MANUAL CONFIGURATION BEYOND THIS POINT */
/**
* This constructor creates a label and associates it with a marker.
* It is for the private use of the MarkerWithLabel class.
@ -827,4 +816,4 @@ function makeRequest(url, func, type, fail, post, contenttype)
}
// assert('hi');
return originalArray;
}
}