|
380
|
|
inputStream.close();
|
|
381
|
|
|
|
382
|
|
if (outputStream != null)
|
|
383
|
|
outputStream.close();
|
|
384
|
|
|
|
|
376
|
if (is1 != null)
|
|
|
377
|
is1.close();
|
|
|
378
|
if (is2 != null)
|
|
|
379
|
is2.close();
|
|
385
|
380
|
} catch (IOException e) {
|
|
386
|
381
|
e.printStackTrace();
|
|
387
|
382
|
}
|
|
388
|
383
|
}
|
|
389
|
384
|
|
|
390
|
|
aMap.setCustomMapStylePath(filePath + "/" + styleName);
|
|
391
|
|
|
|
392
|
|
aMap.setMapCustomEnable(true);
|
|
393
|
|
aMap.showMapText(true);
|
|
|
385
|
CustomMapStyleOptions customMapStyleOptions = new CustomMapStyleOptions();
|
|
|
386
|
customMapStyleOptions.setStyleData(buffer1);
|
|
|
387
|
customMapStyleOptions.setStyleExtraData(buffer2);
|
|
|
388
|
aMap.setCustomMapStyle(customMapStyleOptions);
|
|
394
|
389
|
}
|
|
|
390
|
|
|
|
391
|
|
|
|
392
|
|
|
395
|
393
|
}
|