Package net.i2p.router.web.helpers
Class MapMaker
- java.lang.Object
-
- net.i2p.router.web.helpers.MapMaker
-
public class MapMaker extends Object
Generate a transparent image to overlay the world map in a Web Mercator format. Also contains commented-out code to generate the mercator.txt file.- Since:
- 0.9.xx
-
-
Constructor Summary
Constructors Constructor Description MapMaker()
MapMaker(RouterContext ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
render(int mode)
boolean
render(int mode, OutputStream out)
String
render(int mode, ObjectCounterUnsafe<String> countries)
-
-
-
Constructor Detail
-
MapMaker
public MapMaker()
-
MapMaker
public MapMaker(RouterContext ctx)
-
-
Method Detail
-
render
public boolean render(int mode, OutputStream out) throws IOException
- Parameters:
mode
- bitmask, 0 for default, see MODE definitions above- Throws:
IOException
-
render
public String render(int mode) throws IOException
- Parameters:
mode
- see above- Throws:
IOException
-
render
public String render(int mode, ObjectCounterUnsafe<String> countries) throws IOException
- Parameters:
mode
- see above- Throws:
IOException
-
-