コード例 #1
0
 @Override
 public void initLayer(MapPanel map) {
   this.map = map;
   basemapProcessor =
       new BasemapProcessor(
           null, MapZooms.getDefault(), new MapRenderingTypesEncoder("basemap"), 0);
   fillPopupMenuWithActions(map.getPopupMenu());
 }
コード例 #2
0
 private static void generateObf(String[] subArgsArray, IndexCreator ic)
     throws IOException, SQLException, InterruptedException, XmlPullParserException {
   String fn = DataExtractionSettings.getSettings().getMapRenderingTypesFile();
   String regionName = subArgsArray[0];
   MapRenderingTypesEncoder types = new MapRenderingTypesEncoder(fn, regionName);
   ic.generateIndexes(
       new File(subArgsArray[0]),
       new ConsoleProgressImplementation(),
       null,
       MapZooms.getDefault(),
       types,
       log);
 }