📄 testoverlay$newoverlay.java
字号:
// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov Date: 2008-6-16 11:24:34
// Home Page : http://members.fortunecity.com/neshkov/dj.html - Check often for new version!
// Decompiler options: packimports(3)
// Source File Name: TestOverlay.java
package com.eightmotions.test;
import com.eightmotions.map.MapCustomOverlay;
// Referenced classes of package com.eightmotions.test:
// TestOverlay
class TestOverlayNewOverlay
implements MapCustomOverlay
{
public String getTileURL(int x, int y, int z, int sizeSq, boolean isSat)
{
int ya = 1 << 17 - z;
if(y < 0 || ya - 1 < y)
return "http://www.google.com/mapfiles/transparent.gif";
else
return "http://tile.openstreetmap.org/" + (17 - z) + "/" + x + "/" + y + ".png";
}
public boolean isTransparent()
{
return false;
}
public String getName()
{
return "TestOverlay";
}
TestOverlayNewOverlay()
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -