ALD2355
Joined: 27/09/2009 23:09:46
Messages: 13
Offline
|
Geonames appears to have stopped working today although I have a valid account with annual credits:
This applies to time zone and weather at www.sysmaps.co.uk/run.html. Has anything changed as we have used the same code for several years without problems?
function updatetimezone()
{
this.map=osmMap.map;
timepos = this.map.getCenter();
timepos.transform(this.map.baseLayer.projection,this.map.displayProjection);
request2 = 'https://secure.geonames.net/timezoneJSON?callback=gettime&lat='+timepos.lat+'&lng='+timepos.lon + "&username=OurUserName";
aObj = new JSONscriptRequest(request2);
aObj.buildScriptTag();
aObj.addScriptTag();
}
|