Don't allow Potlatch to be started with a zoom below 11.

This commit is contained in:
Tom Hughes 2007-08-31 12:57:32 +00:00
parent 18453600aa
commit ed8b7fde42

View file

@ -39,6 +39,7 @@
var fo = new SWFObject("/potlatch/potlatch.swf?d="+Math.round(Math.random()*1000), "potlatch", "700", "600", "6", "#FFFFFF");
function doSWF(lat,lon,sc) {
if (sc < 11) sc = 11;
fo.addVariable('lat',lat);
fo.addVariable('long',lon);
fo.addVariable('scale',sc);