93949596979899100101102103
if (authorized) { try { MapService mapService = ServiceManager .getMapService(serviceName); if (mapService != null) { result = mapService.stop(); } } catch (Exception ex) { ex.printStackTrace(); } }